Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClusterName ¶
GetClusterName returns the name of the cluster containing the current EC2 instance
func GetHostname ¶
GetHostname fetches the hostname for current host from the EC2 metadata API
func GetInstanceID ¶
GetInstanceID fetches the instance id for current host from the EC2 metadata API
func IsDefaultHostname ¶
IsDefaultHostname returns whether the given hostname is a default one for EC2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.