Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 HostnameProvider ¶
HostnameProvider gets the hostname
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.