Documentation ¶
Index ¶
- Constants
- func BuildEC2Filters(cloud fi.Cloud) []*ec2.Filter
- func DeleteAutoScalingGroup(cloud fi.Cloud, r *resources.Resource) error
- func DeleteAutoScalingGroupLaunchTemplate(cloud fi.Cloud, r *resources.Resource) error
- func DeleteAutoscalingLaunchConfiguration(cloud fi.Cloud, r *resources.Resource) error
- func DeleteCloudFormationStack(cloud fi.Cloud, t *resources.Resource) error
- func DeleteDhcpOptions(cloud fi.Cloud, r *resources.Resource) error
- func DeleteELB(cloud fi.Cloud, r *resources.Resource) error
- func DeleteELBV2(cloud fi.Cloud, r *resources.Resource) error
- func DeleteElasticIP(cloud fi.Cloud, t *resources.Resource) error
- func DeleteIAMInstanceProfile(cloud fi.Cloud, r *resources.Resource) error
- func DeleteIAMOIDCProvider(cloud fi.Cloud, r *resources.Resource) error
- func DeleteIAMRole(cloud fi.Cloud, r *resources.Resource) error
- func DeleteInstance(cloud fi.Cloud, t *resources.Resource) error
- func DeleteInternetGateway(cloud fi.Cloud, r *resources.Resource) error
- func DeleteKeypair(cloud fi.Cloud, r *resources.Resource) error
- func DeleteNatGateway(cloud fi.Cloud, t *resources.Resource) error
- func DeleteRouteTable(cloud fi.Cloud, r *resources.Resource) error
- func DeleteSecurityGroup(cloud fi.Cloud, t *resources.Resource) error
- func DeleteSubnet(cloud fi.Cloud, tracker *resources.Resource) error
- func DeleteTargetGroup(cloud fi.Cloud, r *resources.Resource) error
- func DeleteVPC(cloud fi.Cloud, r *resources.Resource) error
- func DeleteVolume(cloud fi.Cloud, r *resources.Resource) error
- func DescribeDhcpOptions(cloud fi.Cloud) ([]*ec2.DhcpOptions, error)
- func DescribeELBV2s(cloud fi.Cloud) ([]*elbv2.LoadBalancer, map[string][]*elbv2.Tag, error)
- func DescribeELBs(cloud fi.Cloud) ([]*elb.LoadBalancerDescription, map[string][]*elb.Tag, error)
- func DescribeInternetGateways(cloud fi.Cloud) ([]*ec2.InternetGateway, error)
- func DescribeInternetGatewaysIgnoreTags(cloud fi.Cloud) ([]*ec2.InternetGateway, error)
- func DescribeRouteTables(cloud fi.Cloud, clusterName string) (map[string]*ec2.RouteTable, error)
- func DescribeRouteTablesIgnoreTags(cloud fi.Cloud) ([]*ec2.RouteTable, error)
- func DescribeSecurityGroups(cloud fi.Cloud, clusterName string) (map[string]*ec2.SecurityGroup, error)
- func DescribeSubnets(cloud fi.Cloud) ([]*ec2.Subnet, error)
- func DescribeTargetGroups(cloud fi.Cloud) ([]*elbv2.TargetGroup, map[string][]*elbv2.Tag, error)
- func DescribeVPCs(cloud fi.Cloud, clusterName string) (map[string]*ec2.Vpc, error)
- func DescribeVolumes(cloud fi.Cloud) ([]*ec2.Volume, error)
- func DumpCloudFormationStack(op *resources.DumpOperation, r *resources.Resource) error
- func DumpELB(op *resources.DumpOperation, r *resources.Resource) error
- func DumpInstance(op *resources.DumpOperation, r *resources.Resource) error
- func DumpSecurityGroup(op *resources.DumpOperation, r *resources.Resource) error
- func DumpSubnet(op *resources.DumpOperation, r *resources.Resource) error
- func DumpVPC(op *resources.DumpOperation, r *resources.Resource) error
- func FindASGName(tags []*autoscaling.TagDescription) string
- func FindAutoScalingLaunchConfigurations(cloud fi.Cloud, securityGroups sets.String) ([]*resources.Resource, error)
- func FindAutoScalingLaunchTemplates(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func FindAutoscalingLaunchConfiguration(cloud awsup.AWSCloud, name string) (*autoscaling.LaunchConfiguration, error)
- func FindELBName(tags []*elb.Tag) string
- func FindELBV2Name(tags []*elbv2.Tag) string
- func FindName(tags []*ec2.Tag) string
- func FindNatGateways(cloud fi.Cloud, routeTables map[string]*resources.Resource, clusterName string) ([]*resources.Resource, error)
- func HasOwnedTag(description string, tags []*ec2.Tag, clusterName string) bool
- func HasSharedTag(description string, tags []*ec2.Tag, clusterName string) bool
- func IsDependencyViolation(err error) bool
- func ListAutoScalingGroups(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListCloudFormationStacks(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListDhcpOptions(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListELBV2s(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListELBs(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListIAMInstanceProfiles(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListIAMOIDCProviders(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListIAMRoles(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListInstances(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListInternetGateways(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListKeypairs(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListResourcesAWS(cloud awsup.AWSCloud, clusterName string) (map[string]*resources.Resource, error)
- func ListRoute53Records(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListRouteTables(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListSecurityGroups(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListSpotinstResources(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListSubnets(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListTargetGroups(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListVPCs(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListVolumes(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
Constants ¶
const ( TypeAutoscalingLaunchConfig = "autoscaling-config" TypeNatGateway = "nat-gateway" TypeElasticIp = "elastic-ip" TypeLoadBalancer = "load-balancer" TypeTargetGroup = "target-group" )
Variables ¶
This section is empty.
Functions ¶
func DeleteAutoScalingGroup ¶
func DeleteAutoScalingGroupLaunchTemplate ¶ added in v1.15.1
DeleteAutoScalingGroupLaunchTemplate deletes
func DeleteIAMOIDCProvider ¶ added in v1.19.0
func DeleteInternetGateway ¶
func DeleteTargetGroup ¶ added in v1.11.0
func DescribeDhcpOptions ¶
func DescribeDhcpOptions(cloud fi.Cloud) ([]*ec2.DhcpOptions, error)
func DescribeELBV2s ¶ added in v1.11.0
func DescribeELBs ¶
func DescribeInternetGateways ¶
func DescribeInternetGateways(cloud fi.Cloud) ([]*ec2.InternetGateway, error)
func DescribeInternetGatewaysIgnoreTags ¶
func DescribeInternetGatewaysIgnoreTags(cloud fi.Cloud) ([]*ec2.InternetGateway, error)
DescribeInternetGatewaysIgnoreTags returns all ec2.InternetGateways, ignoring tags (gateways were not always tagged in kube-up)
func DescribeRouteTables ¶
DescribeRouteTables lists route-tables tagged for the cluster (shared and owned)
func DescribeRouteTablesIgnoreTags ¶
func DescribeRouteTablesIgnoreTags(cloud fi.Cloud) ([]*ec2.RouteTable, error)
DescribeRouteTablesIgnoreTags returns all ec2.RouteTable, ignoring tags
func DescribeSecurityGroups ¶
func DescribeTargetGroups ¶ added in v1.11.0
func DescribeVPCs ¶
func DumpCloudFormationStack ¶
func DumpCloudFormationStack(op *resources.DumpOperation, r *resources.Resource) error
func DumpInstance ¶
func DumpInstance(op *resources.DumpOperation, r *resources.Resource) error
func DumpSecurityGroup ¶
func DumpSecurityGroup(op *resources.DumpOperation, r *resources.Resource) error
func DumpSubnet ¶
func DumpSubnet(op *resources.DumpOperation, r *resources.Resource) error
func FindASGName ¶
func FindASGName(tags []*autoscaling.TagDescription) string
func FindAutoScalingLaunchConfigurations ¶
func FindAutoScalingLaunchConfigurations(cloud fi.Cloud, securityGroups sets.String) ([]*resources.Resource, error)
FindAutoScalingLaunchConfigurations finds all launch configurations which has a reference to the security groups
func FindAutoScalingLaunchTemplates ¶ added in v1.19.0
func FindAutoScalingLaunchTemplates(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
FindAutoScalingLaunchTemplates finds any launch templates owned by the cluster (by tag).
func FindAutoscalingLaunchConfiguration ¶
func FindAutoscalingLaunchConfiguration(cloud awsup.AWSCloud, name string) (*autoscaling.LaunchConfiguration, error)
FindAutoscalingLaunchConfiguration finds an AWS launch configuration given its name
func FindELBName ¶
func FindELBV2Name ¶ added in v1.11.0
func FindNatGateways ¶
func HasOwnedTag ¶
HasOwnedTag looks for the new tag indicating that the cluster does owns the resource, or the legacy tag
func HasSharedTag ¶
HasSharedTag looks for the shared tag indicating that the cluster does not own the resource
func IsDependencyViolation ¶
func ListAutoScalingGroups ¶
func ListDhcpOptions ¶
func ListELBV2s ¶ added in v1.11.0
For NLBs and ALBs
func ListIAMInstanceProfiles ¶
func ListIAMOIDCProviders ¶ added in v1.19.0
func ListIAMRoles ¶
func ListInstances ¶
func ListInternetGateways ¶
func ListKeypairs ¶
func ListResourcesAWS ¶
func ListRoute53Records ¶
func ListRouteTables ¶
func ListSecurityGroups ¶
func ListSpotinstResources ¶ added in v1.15.1
func ListSubnets ¶
func ListTargetGroups ¶ added in v1.11.0
Types ¶
This section is empty.