Documentation ¶
Index ¶
Constants ¶
View Source
const ( Azure = "azure" EC2 = "ec2" Generic = "generic" GENI = "geni" GCP = "gcp" NUC = "intel-nuc" SCW = "scaleway" )
Variables ¶
This section is empty.
Functions ¶
func AzureGetMetadata ¶
func Detect ¶
func Detect() string
Detect returns the host platform. If no platform is detected, it returns PlatformGeneric.
func EC2GetMetadata ¶
func GCPGetMetadata ¶
func SCWGetMetadata ¶
func SCWGetMetadata() instance.Metadata
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.