cloudinit/datasource/datasource.go

12 lines
244 B
Go
Raw Permalink Normal View History

2014-03-18 20:00:41 +04:00
package datasource
type Datasource interface {
IsAvailable() bool
AvailabilityChanges() bool
ConfigRoot() string
FetchMetadata() ([]byte, error)
FetchUserdata() ([]byte, error)
FetchNetworkConfig(string) ([]byte, error)
Type() string
2014-03-18 20:00:41 +04:00
}