key

package
v0.0.0-...-5204943 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterNameLabel        = "cluster.x-k8s.io/cluster-name"
	ClusterWatchFilterLabel = "cluster.x-k8s.io/watch-filter"

	FinalizerName = "capa-machinepool-subnet-operator.finalizers.giantswarm.io"

	AnnotationAssignedCIDR = "machinepool.aws.giantswarm.io/reserved-cidr"

	MachinePoolSubnetTag = "sigs.k8s.io/cluster-api-provider-aws/machinepool"
)

Variables

This section is empty.

Functions

func GetAWSClusterByName

func GetAWSClusterByName(ctx context.Context, ctrlClient client.Client, clusterName string) (*capa.AWSCluster, error)

func GetClusterIDFromLabels

func GetClusterIDFromLabels(t v1.ObjectMeta) string

func GetLock

func GetLock(clusterName string) (kubelock.NamespaceableLock, error)

func HasCapiWatchLabel

func HasCapiWatchLabel(labels map[string]string) bool

func IsCidrAlreadyAssociated

func IsCidrAlreadyAssociated(cidr string, list []*ec2.VpcCidrBlockAssociation) bool

func SubnetTags

func SubnetTags(nodepoolName string) capa.Tags

Types

This section is empty.

Jump to

Keyboard shortcuts

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