Documentation ¶
Index ¶
- Constants
- func GetAWSClusterByName(ctx context.Context, ctrlClient client.Client, clusterName string) (*capa.AWSCluster, error)
- func GetClusterIDFromLabels(t v1.ObjectMeta) string
- func GetLock(clusterName string) (kubelock.NamespaceableLock, error)
- func HasCapiWatchLabel(labels map[string]string) bool
- func IsCidrAlreadyAssociated(cidr string, list []*ec2.VpcCidrBlockAssociation) bool
- func SubnetTags(nodepoolName string) capa.Tags
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 GetClusterIDFromLabels ¶
func GetClusterIDFromLabels(t v1.ObjectMeta) string
func HasCapiWatchLabel ¶
func IsCidrAlreadyAssociated ¶
func IsCidrAlreadyAssociated(cidr string, list []*ec2.VpcCidrBlockAssociation) bool
func SubnetTags ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.