Documentation
¶
Index ¶
- func AddCreationDateTagToIGW(ec2Session ec2.EC2, vpcsId []*string, creationDate time.Time, ttl int64) error
- func AddCreationDateTagToRTB(ec2Session ec2.EC2, vpcsIds []*string, creationDate time.Time, ttl int64) error
- func AddCreationDateTagToSG(ec2Session ec2.EC2, vpcsId []*string, creationDate time.Time, ttl int64) error
- func AddCreationDateTagToSubnets(ec2Session ec2.EC2, vpcsIds []*string, creationDate time.Time, ttl int64) error
- func DeleteExpiredVPC(ec2Session ec2.EC2, tagName string, dryRun bool)
- func DeleteInternetGatewaysByIds(ec2Session ec2.EC2, internetGateways []InternetGateway)
- func DeleteRouteTablesByIds(ec2Session ec2.EC2, routeTables []RouteTable)
- func DeleteSecurityGroupsByIds(ec2Session ec2.EC2, securityGroups []SecurityGroup)
- func DeleteSubnetsByIds(ec2Session ec2.EC2, subnets []Subnet)
- func GetVpcsIdsByClusterNameTag(ec2Session ec2.EC2, clusterName string) []*string
- func SetInternetGatewaysIdsByVpcId(ec2Session ec2.EC2, vpc *VpcInfo, waitGroup *sync.WaitGroup, tagName string)
- func SetRouteTablesIdsByVpcId(ec2Session ec2.EC2, vpc *VpcInfo, waitGroup *sync.WaitGroup, tagName string)
- func SetSecurityGroupsIdsByVpcId(ec2Session ec2.EC2, vpc *VpcInfo, waitGroup *sync.WaitGroup, tagName string)
- func SetSubnetsIdsByVpcId(ec2Session ec2.EC2, vpc *VpcInfo, waitGroup *sync.WaitGroup, tagName string)
- func TagVPCsForDeletion(ec2Session ec2.EC2, rdsSession rds.RDS, clusterId string, ...) error
- type InternetGateway
- type RouteTable
- type SecurityGroup
- type Subnet
- type VpcInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCreationDateTagToIGW ¶
func AddCreationDateTagToRTB ¶
func AddCreationDateTagToSG ¶
func DeleteInternetGatewaysByIds ¶
func DeleteInternetGatewaysByIds(ec2Session ec2.EC2, internetGateways []InternetGateway)
func DeleteRouteTablesByIds ¶
func DeleteRouteTablesByIds(ec2Session ec2.EC2, routeTables []RouteTable)
func DeleteSecurityGroupsByIds ¶
func DeleteSecurityGroupsByIds(ec2Session ec2.EC2, securityGroups []SecurityGroup)
func DeleteSubnetsByIds ¶
func SetSubnetsIdsByVpcId ¶
Types ¶
type InternetGateway ¶
type RouteTable ¶
type SecurityGroup ¶
type VpcInfo ¶
type VpcInfo struct { VpcId *string SecurityGroups []SecurityGroup InternetGateways []InternetGateway Subnets []Subnet RouteTables []RouteTable Status string TTL int64 Tag string CreationDate time.Time IsProtected bool }
Click to show internal directories.
Click to hide internal directories.