proccmdline

package
v1.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2017 License: Apache-2.0, 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

This section is empty.

Types

type ProcCmdline

type ProcCmdline struct {
	Location string
	// contains filtered or unexported fields
}

func NewDatasource

func NewDatasource() *ProcCmdline

func (*ProcCmdline) AvailabilityChanges

func (c *ProcCmdline) AvailabilityChanges() bool

func (*ProcCmdline) ConfigRoot

func (c *ProcCmdline) ConfigRoot() string

func (*ProcCmdline) FetchMetadata

func (c *ProcCmdline) FetchMetadata() (datasource.Metadata, error)

func (*ProcCmdline) FetchUserdata

func (c *ProcCmdline) FetchUserdata() ([]byte, error)

func (*ProcCmdline) Finish

func (c *ProcCmdline) Finish() error

func (*ProcCmdline) IsAvailable

func (c *ProcCmdline) IsAvailable() bool

func (*ProcCmdline) String

func (c *ProcCmdline) String() string

func (*ProcCmdline) Type

func (c *ProcCmdline) Type() string

Jump to

Keyboard shortcuts

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