shared

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectAWSResourcedByIngressEventuallyDeleted

func ExpectAWSResourcedByIngressEventuallyDeleted(ctx context.Context, cloud aws.CloudAPI, clusterName string, namespace string, ingressName string)

func ExpectTargetGroupTargetsEventuallyHealth

func ExpectTargetGroupTargetsEventuallyHealth(ctx context.Context, cloud aws.CloudAPI, tgArn string)

TODO(@M00nF1sh): check the targets equals to targets in k8s(nodePort/podIP). ExpectTargetGroupTargetsEventuallyHealth checks the targets eventually become healthy :D.

Types

type AWSResources

type AWSResources struct {
	ALBs           []string
	TargetGroups   []string
	SecurityGroups []string
}

func GetAWSResourcesByIngress

func GetAWSResourcesByIngress(cloud aws.CloudAPI, clusterName string, namespace string, ingressName string) (AWSResources, error)

Jump to

Keyboard shortcuts

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