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