Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultEndpoint = "http://169.254.169.254"
DefaultEndpoint -
Functions ¶
Types ¶
type ClientOptions ¶ added in v1.9.1
ClientOptions -
func GetClientOptions ¶
func GetClientOptions() ClientOptions
GetClientOptions - Centralised reading of AWS_TIMEOUT ... but cannot use in vault/auth.go as different strconv.Atoi error handling
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.