cloudpaths

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSHost            = "http://169.254.169.254"
	AWSTokenPath       = "/latest/api/token" //nolint:gosec
	AWSIdentityDocPath = "/latest/dynamic/instance-identity/document"
	AWSPublicIPPath    = "/latest/meta-data/public-ipv4"
	AWSPrivateIPPath   = "/latest/meta-data/local-ipv4"
)

AWS constants for its EC2 metadata service.

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"
)

GCP constants for its metadata service.

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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