Documentation ¶
Index ¶
- Constants
- func BuildEC2Filters(cloud fi.Cloud) []ec2types.Filter
- func DeleteAutoScalingGroup(cloud fi.Cloud, r *resources.Resource) error
- func DeleteAutoScalingGroupLaunchTemplate(cloud fi.Cloud, r *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 DeleteENI(cloud fi.Cloud, r *resources.Resource) error
- func DeleteEgressOnlyInternetGateway(cloud fi.Cloud, r *resources.Resource) error
- func DeleteElasticIP(cloud fi.Cloud, t *resources.Resource) error
- func DeleteEventBridgeRule(cloud fi.Cloud, ruleName string) 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 DeleteInstances(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 DeleteSQSQueue(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) ([]ec2types.DhcpOptions, error)
- func DescribeELBs(cloud fi.Cloud) ([]elbtypes.LoadBalancerDescription, map[string][]elbtypes.Tag, error)
- func DescribeENIs(cloud fi.Cloud, vpcID, clusterName string) (map[string]ec2types.NetworkInterface, error)
- func DescribeEgressOnlyInternetGateways(cloud fi.Cloud) ([]ec2types.EgressOnlyInternetGateway, error)
- func DescribeInternetGateways(cloud fi.Cloud) ([]ec2types.InternetGateway, error)
- func DescribeInternetGatewaysIgnoreTags(cloud fi.Cloud) ([]ec2types.InternetGateway, error)
- func DescribeRouteTables(cloud fi.Cloud, clusterName string) (map[string]ec2types.RouteTable, error)
- func DescribeRouteTablesIgnoreTags(cloud fi.Cloud) ([]ec2types.RouteTable, error)
- func DescribeSecurityGroups(cloud fi.Cloud, clusterName string) (map[string]ec2types.SecurityGroup, error)
- func DescribeSubnets(cloud fi.Cloud) ([]ec2types.Subnet, error)
- func DescribeVPC(cloud fi.Cloud, clusterName string) (*ec2types.Vpc, error)
- func DescribeVolumes(cloud fi.Cloud) ([]ec2types.Volume, error)
- func DumpELB(op *resources.DumpOperation, r *resources.Resource) error
- func DumpENI(op *resources.DumpOperation, r *resources.Resource) error
- func DumpEgressOnlyInternetGateway(op *resources.DumpOperation, r *resources.Resource) error
- func DumpEventBridgeRule(op *resources.DumpOperation, r *resources.Resource) error
- func DumpInstance(op *resources.DumpOperation, r *resources.Resource) error
- func DumpInternetGateway(op *resources.DumpOperation, r *resources.Resource) error
- func DumpNatGateway(op *resources.DumpOperation, r *resources.Resource) error
- func DumpSQSQueue(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 DumpTargetGroup(op *resources.DumpOperation, r *resources.Resource) error
- func DumpVPC(op *resources.DumpOperation, r *resources.Resource) error
- func EventBridgeRuleDeleter(cloud fi.Cloud, r *resources.Resource) error
- func FindASGName(tags []autoscalingtypes.TagDescription) string
- func FindAutoScalingLaunchTemplates(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func FindELBName(tags []elbtypes.Tag) string
- func FindELBV2Name(tags []elbv2types.Tag) string
- func FindName(tags []ec2types.Tag) string
- func FindNatGateways(cloud fi.Cloud, routeTables map[string]*resources.Resource, clusterName string) ([]*resources.Resource, error)
- func HasOwnedTag(description string, tags []ec2types.Tag, clusterName string) bool
- func HasSharedTag(description string, tags []ec2types.Tag, clusterName string) bool
- func IsDependencyViolation(err error) bool
- func ListAutoScalingGroups(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListDhcpOptions(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListELBV2s(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListELBs(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListENIs(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListEgressOnlyInternetGateways(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListEventBridgeRules(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListIAMInstanceProfiles(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListIAMOIDCProviders(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListIAMRoles(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListInstances(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListInternetGateways(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListKeypairs(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListResourcesAWS(cloud awsup.AWSCloud, clusterInfo resources.ClusterInfo) (map[string]*resources.Resource, error)
- func ListRoute53Records(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListRouteTables(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListSQSQueues(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListSecurityGroups(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListSpotinstResources(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListSubnets(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListTargetGroups(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
- func ListVPCs(cloud fi.Cloud, clusterName string) ([]*resources.Resource, error)
- func ListVolumes(cloud fi.Cloud, vpcID, clusterName string) ([]*resources.Resource, error)
Constants ¶
View Source
const ( TypeAutoscalingLaunchConfig = "autoscaling-config" TypeNatGateway = "nat-gateway" TypeElasticIp = "elastic-ip" TypeEventBridgeRule = "eventbridge-rule" TypeLoadBalancer = "load-balancer" TypeTargetGroup = "target-group" )
Variables ¶
This section is empty.
Functions ¶
func DeleteAutoScalingGroup ¶
func DeleteAutoScalingGroupLaunchTemplate ¶ added in v1.15.1
DeleteAutoScalingGroupLaunchTemplate deletes
func DeleteEgressOnlyInternetGateway ¶ added in v1.23.0
func DeleteEventBridgeRule ¶ added in v1.21.0
func DeleteIAMOIDCProvider ¶ added in v1.19.0
func DeleteInstances ¶ added in v1.29.0
func DeleteInternetGateway ¶
func DeleteSQSQueue ¶ added in v1.21.0
func DeleteTargetGroup ¶ added in v1.11.0
func DescribeDhcpOptions ¶
func DescribeDhcpOptions(cloud fi.Cloud) ([]ec2types.DhcpOptions, error)
func DescribeELBs ¶
func DescribeENIs ¶ added in v1.24.0
func DescribeEgressOnlyInternetGateways ¶ added in v1.23.0
func DescribeEgressOnlyInternetGateways(cloud fi.Cloud) ([]ec2types.EgressOnlyInternetGateway, error)
func DescribeInternetGateways ¶
func DescribeInternetGateways(cloud fi.Cloud) ([]ec2types.InternetGateway, error)
func DescribeInternetGatewaysIgnoreTags ¶
func DescribeInternetGatewaysIgnoreTags(cloud fi.Cloud) ([]ec2types.InternetGateway, error)
DescribeInternetGatewaysIgnoreTags returns all ec2.InternetGateways, ignoring tags (gateways were not always tagged in kube-up)
func DescribeRouteTables ¶
func DescribeRouteTables(cloud fi.Cloud, clusterName string) (map[string]ec2types.RouteTable, error)
DescribeRouteTables lists route-tables tagged for the cluster (shared and owned)
func DescribeRouteTablesIgnoreTags ¶
func DescribeRouteTablesIgnoreTags(cloud fi.Cloud) ([]ec2types.RouteTable, error)
DescribeRouteTablesIgnoreTags returns all ec2.RouteTable, ignoring tags
func DescribeSecurityGroups ¶
func DescribeVPC ¶ added in v1.29.0
func DumpENI ¶ added in v1.24.0
func DumpENI(op *resources.DumpOperation, r *resources.Resource) error
func DumpEgressOnlyInternetGateway ¶ added in v1.29.0
func DumpEgressOnlyInternetGateway(op *resources.DumpOperation, r *resources.Resource) error
func DumpEventBridgeRule ¶ added in v1.21.0
func DumpEventBridgeRule(op *resources.DumpOperation, r *resources.Resource) error
func DumpInstance ¶
func DumpInstance(op *resources.DumpOperation, r *resources.Resource) error
func DumpInternetGateway ¶ added in v1.29.0
func DumpInternetGateway(op *resources.DumpOperation, r *resources.Resource) error
func DumpNatGateway ¶ added in v1.29.0
func DumpNatGateway(op *resources.DumpOperation, r *resources.Resource) error
func DumpSQSQueue ¶ added in v1.21.0
func DumpSQSQueue(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 DumpTargetGroup ¶ added in v1.29.0
func DumpTargetGroup(op *resources.DumpOperation, r *resources.Resource) error
func EventBridgeRuleDeleter ¶ added in v1.26.0
func FindASGName ¶
func FindASGName(tags []autoscalingtypes.TagDescription) string
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 FindELBName ¶
func FindELBV2Name ¶ added in v1.11.0
func FindELBV2Name(tags []elbv2types.Tag) string
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 ListEgressOnlyInternetGateways ¶ added in v1.23.0
func ListEventBridgeRules ¶ added in v1.21.0
func ListIAMInstanceProfiles ¶
func ListIAMOIDCProviders ¶ added in v1.19.0
func ListIAMRoles ¶
func ListInstances ¶
func ListInternetGateways ¶
func ListKeypairs ¶
func ListResourcesAWS ¶
func ListRoute53Records ¶
func ListRouteTables ¶
func ListSQSQueues ¶ added in v1.21.0
func ListSecurityGroups ¶
func ListSpotinstResources ¶ added in v1.15.1
func ListSubnets ¶
func ListTargetGroups ¶ added in v1.11.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.