key

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 6 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

func HasCapiWatchLabel(labels map[string]string) bool

func IsBastionAWSMachineTemplate added in v0.4.0

func IsBastionAWSMachineTemplate(labels map[string]string) bool

func IsControlPlaneAWSMachineTemplate

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