cloudinit/datasource/datasource.go
2014-08-26 12:02:56 -07:00

11 lines
200 B
Go

package datasource
type Datasource interface {
IsAvailable() bool
AvailabilityChanges() bool
ConfigRoot() string
FetchMetadata() ([]byte, error)
FetchUserdata() ([]byte, error)
Type() string
}