gce

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAddress = "http://metadata.google.internal/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MetadataService

type MetadataService struct {
	metadata.Service
}

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

Jump to

Keyboard shortcuts

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