Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MaxHostnameSize = 255
)
declare these as vars not const to ease testing
Functions ¶
func GetInstanceID ¶
GetInstanceID fetches the instance id for current host from the EC2 metadata API
func IsDefaultHostname ¶
IsDefaultHostname checks if a hostname is an EC2 default
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.