Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEC2MetadataNotAvailable = errors.New("ec2: Instance Metadata Service not available") ErrEC2InstanceIdentityDocument = errors.New("ec2: Instance identity document not available") ErrEC2AutoScalingPeers = errors.New("ec2: Could not get peers") ErrEC2AutoScalingGroups = errors.New("ec2: Could not get AutoScaling Groups") ErrEC2InstanceNotInAutoScalingGroup = errors.New("ec2: Not in AutoScaling Group") )
Functions ¶
Types ¶
type EC2 ¶
type EC2 struct { *session.Session *ec2.EC2 *ec2metadata.EC2Metadata *autoscaling.AutoScaling }
EC2 wraps the interfaces for the instance
Click to show internal directories.
Click to hide internal directories.