key

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func FinalizerName

func FinalizerName(roleName string) string

func GetAWSClusterByName

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

func GetClusterIDFromLabels

func GetClusterIDFromLabels(t v1.ObjectMeta) string

func HasCapiWatchLabel added in v0.2.0

func HasCapiWatchLabel(labels map[string]string) bool

func IsControlPlaneAWSMachineTemplate added in v0.2.0

func IsControlPlaneAWSMachineTemplate(labels map[string]string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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