Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstanceID ¶
func InstanceID(ctx types.Context) (*types.InstanceID, error)
InstanceID returns the instance ID for the local host.
func IsEC2Instance ¶
IsEC2Instance returns a flag indicating whether the executing host is an EC2 instance based on whether or not the metadata URL can be accessed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.