configdrive

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2018 License: Apache-2.0, Apache-2.0 Imports: 10 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MountConfigDrive

func MountConfigDrive() error

func UnmountConfigDrive

func UnmountConfigDrive() error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL