Documentation ¶
Index ¶
- func MountConfigDrive() error
- func UnmountConfigDrive() error
- type ConfigDrive
- func (cd *ConfigDrive) AvailabilityChanges() bool
- func (cd *ConfigDrive) ConfigRoot() string
- func (cd *ConfigDrive) FetchMetadata() (metadata datasource.Metadata, err error)
- func (cd *ConfigDrive) FetchUserdata() ([]byte, error)
- func (cd *ConfigDrive) Finish() error
- func (cd *ConfigDrive) IsAvailable() bool
- func (cd *ConfigDrive) String() string
- func (cd *ConfigDrive) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigDrive ¶
type ConfigDrive struct {
// contains filtered or unexported fields
}
func NewDatasource ¶
func NewDatasource(root string) *ConfigDrive
func (*ConfigDrive) AvailabilityChanges ¶
func (cd *ConfigDrive) AvailabilityChanges() bool
func (*ConfigDrive) ConfigRoot ¶
func (cd *ConfigDrive) ConfigRoot() string
func (*ConfigDrive) FetchMetadata ¶
func (cd *ConfigDrive) FetchMetadata() (metadata datasource.Metadata, err error)
func (*ConfigDrive) FetchUserdata ¶
func (cd *ConfigDrive) FetchUserdata() ([]byte, error)
func (*ConfigDrive) Finish ¶
func (cd *ConfigDrive) Finish() error
func (*ConfigDrive) IsAvailable ¶
func (cd *ConfigDrive) IsAvailable() bool
func (*ConfigDrive) String ¶
func (cd *ConfigDrive) String() string
func (*ConfigDrive) Type ¶
func (cd *ConfigDrive) Type() string
Click to show internal directories.
Click to hide internal directories.