Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudMetadata ¶
type CloudMetadata struct { Provider CloudProvider AccountId string InstanceId string InstanceType string LifeCycle string Region string AvailabilityZone string AvailabilityZoneId string LocalIPv4 string PublicIPv4 string }
func GetInstanceMetadata ¶
func GetInstanceMetadata() *CloudMetadata
type CloudProvider ¶
type CloudProvider string
const ( CloudProviderAWS CloudProvider = "AWS" CloudProviderGCP CloudProvider = "GCP" CloudProviderAzure CloudProvider = "Azure" CloudProviderHetzner CloudProvider = "Hetzner" CloudProviderDigitalOcean CloudProvider = "DigitalOcean" CloudProviderUnknown CloudProvider = "" )
Click to show internal directories.
Click to hide internal directories.