Documentation ¶
Overview ¶
Package ibm provides utilities to detect ibm cloud provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// CloudProviderName contains the inventory name of for EC2
CloudProviderName = "IBM"
)
declare these as vars not const to ease testing
Functions ¶
func GetHostAliases ¶
GetHostAliases returns the VM name from the IBM Metadata api
func IsRunningOn ¶
IsRunningOn returns true if the agent is running on IBM cloud
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.