aws

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcceleratorManagedTagValue added in v0.2.0

func AcceleratorManagedTagValue(resource, ns, name string) string

func GetLBNameFromHostname

func GetLBNameFromHostname(hostname string) (string, string, error)

Types

type AWS

type AWS struct {
	// contains filtered or unexported fields
}

func NewAWS

func NewAWS(region string) *AWS

func (*AWS) CleanupGlobalAccelerator

func (a *AWS) CleanupGlobalAccelerator(ctx context.Context, arn string) error

func (*AWS) EnsureGlobalAcceleratorForIngress added in v0.2.0

func (a *AWS) EnsureGlobalAcceleratorForIngress(
	ctx context.Context,
	ingress *networkingv1.Ingress,
	lbIngress *corev1.LoadBalancerIngress,
	lbName, region, acceleratorArn string,
) (*string, time.Duration, error)

func (*AWS) EnsureGlobalAcceleratorForService added in v0.2.0

func (a *AWS) EnsureGlobalAcceleratorForService(
	ctx context.Context,
	svc *corev1.Service,
	ingress *corev1.LoadBalancerIngress,
	lbName, region, acceleratorArn string,
) (*string, time.Duration, error)

func (*AWS) ListGlobalAcceleratorByTag

func (a *AWS) ListGlobalAcceleratorByTag(ctx context.Context, tagValue string) ([]*globalaccelerator.Accelerator, error)

Jump to

Keyboard shortcuts

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