Documentation ¶
Index ¶
- Constants
- func FinalizerName(roleName string) string
- func GetAWSClusterByName(ctx context.Context, ctrlClient client.Client, clusterName string) (*capa.AWSCluster, error)
- func GetClusterIDFromLabels(t v1.ObjectMeta) string
- func HasCapiWatchLabel(labels map[string]string) bool
- func IsBastionAWSMachineTemplate(labels map[string]string) bool
- func IsControlPlaneAWSMachineTemplate(labels map[string]string) bool
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 GetAWSClusterByName ¶
func GetClusterIDFromLabels ¶
func GetClusterIDFromLabels(t v1.ObjectMeta) string
func HasCapiWatchLabel ¶
func IsBastionAWSMachineTemplate ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.