Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cleanup ¶
func Cleanup(ctx context.Context, ec2API awsapi.EC2, elbAPI DescribeLoadBalancersAPI, elbv2API DescribeLoadBalancersAPIV2, kubernetesCS kubernetes.Interface, clusterConfig *api.ClusterConfig) error
Cleanup finds and deletes any dangling ELBs associated to a Kubernetes Service
Types ¶
type DescribeLoadBalancersAPI ¶ added in v0.91.0
type DescribeLoadBalancersAPI interface { // DescribeLoadBalancers describes the specified load balancers or all load balancers. DescribeLoadBalancers(ctx context.Context, params *elasticloadbalancing.DescribeLoadBalancersInput, optFns ...func(*elasticloadbalancing.Options)) (*elasticloadbalancing.DescribeLoadBalancersOutput, error) }
DescribeLoadBalancersAPI provides an interface to the AWS ELB service.
type DescribeLoadBalancersAPIV2 ¶ added in v0.91.0
type DescribeLoadBalancersAPIV2 interface { // DescribeLoadBalancers describes the specified load balancers or all load balancers for ELBv2. DescribeLoadBalancers(ctx context.Context, params *elasticloadbalancingv2.DescribeLoadBalancersInput, optFns ...func(*elasticloadbalancingv2.Options)) (*elasticloadbalancingv2.DescribeLoadBalancersOutput, error) }
DescribeLoadBalancersAPIV2 provides an interface to the AWS ELBv2 service.
type Ingress ¶ added in v0.39.0
type Ingress interface { Delete(kubernetesCS kubernetes.Interface) error GetIngressClass() string GetMetadata() metav1.ObjectMeta GetLoadBalancersHosts() []string }
Click to show internal directories.
Click to hide internal directories.