Documentation

Index

Constants

View Source
const (
	AWSHost            = "http://169.254.169.254"
	AWSTokenPath       = "/latest/api/token"
	AWSIdentityDocPath = "/latest/dynamic/instance-identity/document"
	AWSPublicIPPath    = "/latest/meta-data/public-ipv4"
	AWSPrivateIPPath   = "/latest/meta-data/local-ipv4"
)
View Source
const (
	GCPHost           = "http://metadata.google.internal"
	GCPExternalIPPath = "/computeMetadata/v1/instance/network-interfaces/0/access-configs/0/external-ip"
	GCPInternalIPPath = "/computeMetadata/v1/instance/network-interfaces/0/ip"
	GCPProjectIDPath  = "/computeMetadata/v1/project/project-id"
	GCPZonePath       = "/computeMetadata/v1/instance/zone"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Source Files