Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEC2InstanceAvailabilityZone ¶
GetEC2InstanceAvailabilityZone returns the availability zone that an EC2 instance is running in
func GetEC2InstancePrivateIPAddress ¶
GetEC2InstancePrivateIPAddress returns the private IP address of an EC2 instance
func GetEC2InstanceRegion ¶
func GetEC2InstanceRegion() string
GetEC2InstanceRegion automatically discovers the AWS region from the runtime environment
Types ¶
type PortMapping ¶
PortMapping struct contains the container port (which is the original EXPOSEd port in a container) and the host port which is the port mapped to the container port
func Discover ¶
func Discover() ([]PortMapping, error)
Discover will attempt to return an array ofPortMapping, or an error
Click to show internal directories.
Click to hide internal directories.