c089216cb5
If multiple sources are specified, the first available source is used.
11 lines
200 B
Go
11 lines
200 B
Go
package datasource
|
|
|
|
type Datasource interface {
|
|
IsAvailable() bool
|
|
AvailabilityChanges() bool
|
|
ConfigRoot() string
|
|
FetchMetadata() ([]byte, error)
|
|
FetchUserdata() ([]byte, error)
|
|
Type() string
|
|
}
|