datasource

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	HTTP_2xx = 2
	HTTP_4xx = 4
)
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