datasource

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProcCmdlineLocation        = "/proc/cmdline"
	ProcCmdlineCloudConfigFlag = "cloud-config-url"
)

Variables

This section is empty.

Functions

func NewConfigDrive added in v0.7.4

func NewConfigDrive(path string) *configDrive

func NewLocalFile

func NewLocalFile(path string) *localFile

func NewMetadataService

func NewMetadataService(url string) *metadataService

func NewProcCmdline

func NewProcCmdline() *procCmdline

Types

type Datasource

type Datasource interface {
	Fetch() ([]byte, error)
	Type() string
}

Jump to

Keyboard shortcuts

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