Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceMap ¶ added in v1.6.0
type InstanceMap map[string]*instance
InstanceMap is the list of all instances indexed by instance ID
func (InstanceMap) Add ¶ added in v1.6.0
func (m InstanceMap) Add(instanceID string, eni *v2.ENI)
Add adds an instance definition to the instance map. instanceMap may not be subject to concurrent access while add() is used.
type SecurityGroup ¶
type SecurityGroup struct {
// ID is the SecurityGroup ID
ID string
// VpcID is the VPC ID in which the security group resides
VpcID string
// Tags are the tags of the security group
Tags Tags
}
SecurityGroup is the representation of an AWS Security Group
type SecurityGroupMap ¶
type SecurityGroupMap map[string]*SecurityGroup
SecurityGroupMap indexes AWS Security Groups by security group ID
type Subnet ¶ added in v1.6.0
type Subnet struct {
// ID is the subnet ID
ID string
// Name is the subnet name
Name string
// CIDR is the CIDR associated with the subnet
CIDR string
// AvailabilityZone is the availability zone of the subnet
AvailabilityZone string
// VpcID is the VPC the subnet is in
VpcID string
// AvailableAddresses is the number of addresses available for
// allocation
AvailableAddresses int
// Tags is the tags of the subnet
Tags Tags
}
Subnet is a representation of an AWS subnet
Click to show internal directories.
Click to hide internal directories.