Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultAddress = "http://metadata.google.internal/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetadataService ¶
func NewDatasource ¶
func NewDatasource(root string) *MetadataService
func (MetadataService) FetchMetadata ¶
func (ms MetadataService) FetchMetadata() (datasource.Metadata, error)
func (MetadataService) FetchUserdata ¶
func (ms MetadataService) FetchUserdata() ([]byte, error)
func (MetadataService) Type ¶
func (ms MetadataService) Type() string
Click to show internal directories.
Click to hide internal directories.