datasource

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

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