Documentation ¶
Index ¶
- Constants
- type ProcCmdline
- func (c *ProcCmdline) AvailabilityChanges() bool
- func (c *ProcCmdline) ConfigRoot() string
- func (c *ProcCmdline) FetchMetadata() (datasource.Metadata, error)
- func (c *ProcCmdline) FetchUserdata() ([]byte, error)
- func (c *ProcCmdline) Finish() error
- func (c *ProcCmdline) IsAvailable() bool
- func (c *ProcCmdline) String() string
- func (c *ProcCmdline) Type() string
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
Click to show internal directories.
Click to hide internal directories.