Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// CloudProviderName contains the inventory name of for EC2
CloudProviderName = "Azure"
)
declare these as vars not const to ease testing
Functions ¶
func GetClusterName ¶
GetClusterName returns the name of the cluster containing the current VM
func GetHostAlias ¶
GetHostAlias returns the VM ID from the Azure Metadata api
func IsRunningOn ¶
func IsRunningOn() bool
IsRunningOn returns true if the agent is running on Azure
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.