Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultEndpoint = "http://169.254.169.254"
DefaultEndpoint -
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ec2Meta ¶
type Ec2Meta struct { Endpoint string Client *http.Client // contains filtered or unexported fields }
Ec2Meta -
type InstanceDescriber ¶
type InstanceDescriber interface {
DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
}
InstanceDescriber - A subset of ec2iface.EC2API that we can use to call EC2.DescribeInstances
type InstanceDocument ¶
type InstanceDocument struct { PrivateIP string `json:"privateIp"` AvailabilityZone string `json:"availabilityZone"` InstanceID string `json:"InstanceId"` InstanceType string `json:"InstanceType"` AccountID string `json:"AccountId"` ImageID string `json:"imageId"` Architecture string `json:"architecture"` Region string `json:"region"` }
InstanceDocument -
Click to show internal directories.
Click to hide internal directories.