604ef7ecb4
FetchNetworkConfig is currently only used by ConfigDrive to read the network config file from the disk.
12 lines
244 B
Go
12 lines
244 B
Go
package datasource
|
|
|
|
type Datasource interface {
|
|
IsAvailable() bool
|
|
AvailabilityChanges() bool
|
|
ConfigRoot() string
|
|
FetchMetadata() ([]byte, error)
|
|
FetchUserdata() ([]byte, error)
|
|
FetchNetworkConfig(string) ([]byte, error)
|
|
Type() string
|
|
}
|