elb

package
v0.226.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 29 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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, restConfig *rest.Config, clusterConfig *api.ClusterConfig) error

Cleanup finds and deletes any dangling ELBs associated to a Kubernetes Service, Ingress, or Gateway

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 Gateway added in v0.224.0

type Gateway interface {
	Delete(ctx context.Context, gwClient gatewayclient.Interface) error
	GetGatewayClassName() string
	GetMetadata() metav1.ObjectMeta
	GetLoadBalancerAddresses() []string
}

Gateway interface abstracts over different Gateway API versions

type Ingress added in v0.39.0

type Ingress interface {
	Delete(kubernetesCS kubernetes.Interface) error
	GetIngressClass() string
	GetMetadata() metav1.ObjectMeta
	GetLoadBalancersHosts() []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL