Documentation ¶
Index ¶
- type Service
- func (ms Service) AvailabilityChanges() bool
- func (ms Service) ConfigRoot() string
- func (ms Service) FetchAttribute(key string) (string, error)
- func (ms Service) FetchAttributes(key string) ([]string, error)
- func (ms Service) FetchData(url string) ([]byte, error)
- func (ms Service) FetchUserdata() ([]byte, error)
- func (ms *Service) Finish() error
- func (ms Service) IsAvailable() bool
- func (ms Service) MetadataURL() string
- func (ms *Service) String() string
- func (ms Service) UserdataURL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { Root string Client pkg.Getter APIVersion string UserdataPath string MetadataPath string // contains filtered or unexported fields }
func NewDatasource ¶
func (Service) AvailabilityChanges ¶
func (Service) ConfigRoot ¶
func (Service) FetchAttribute ¶ added in v1.1.2
func (Service) FetchAttributes ¶ added in v1.1.2
func (Service) FetchUserdata ¶
func (Service) IsAvailable ¶
func (Service) MetadataURL ¶
func (Service) UserdataURL ¶
Click to show internal directories.
Click to hide internal directories.