package
0.2.0
Repository: https://github.com/vanadium/core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

AWSPrivateAddrs returns the current private Addrs of this AWS instance.
AWSPublicAddrs returns the current public IP of this AWS instance.
GCPPrivateAddrs returns the current private addresses of this GCP instance.
GCPPublicAddrs returns the current public addresses of this GCP instance.
OnAWS returns true if this process is running on Amazon Web Services.
OnGCP returns true if this process is running on Google Compute Platform.
SetAWSMetadataHost can be used to override the default metadata host for testing purposes.
SetGCPMetadataHost can be used to override the default metadata host for testing purposes.

# Constants

AWSAccountIDStatName is the name of a v.io/x/ref/lib/stats string variable containing the account id.
AWSRegionStatName is the name of a v.io/x/ref/lib/stats string variable containing the region.
GCPProjectIDStatName is the name of a v.io/x/ref/lib/stats string variable containing the project id.
GCPRegionStatName is the name of a v.io/x/ref/lib/stats string variable containing the region.