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 ¶
Click to show internal directories.
Click to hide internal directories.