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 DummyInstanceDescriber ¶ added in v1.8.0
type DummyInstanceDescriber struct {
// contains filtered or unexported fields
}
DummyInstanceDescriber - test doubles
func (DummyInstanceDescriber) DescribeInstances ¶ added in v1.8.0
func (d DummyInstanceDescriber) DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
DescribeInstances -
type Ec2Info ¶
type Ec2Info struct {
// contains filtered or unexported fields
}
Ec2Info -
func NewDummyEc2Info ¶ added in v1.8.0
NewDummyEc2Info -
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.