Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchesKCPConfiguration ¶
func MatchesKCPConfiguration(infraConfigs map[string]*unstructured.Unstructured, machineConfigs map[string]*bootstrapv1.CK8sConfig, kcp *controlplanev1.CK8sControlPlane) func(machine *clusterv1.Machine) bool
MatchesKCPConfiguration returns a filter to find all machines that matches with KCP config and do not require any rollout. Kubernetes version, infrastructure template, and CK8sConfig field need to be equivalent.
Types ¶
type Func ¶
type Func = collections.Func
func MatchesCK8sBootstrapConfig ¶
func MatchesCK8sBootstrapConfig(machineConfigs map[string]*bootstrapv1.CK8sConfig, kcp *controlplanev1.CK8sControlPlane) Func
MatchesCK8sBootstrapConfig checks if machine's CK8sConfigSpec is equivalent with KCP's CK8sConfigSpec.
func MatchesKubernetesVersion ¶
MatchesKubernetesVersion returns a filter to find all machines that match a given Kubernetes version.
func MatchesTemplateClonedFrom ¶
func MatchesTemplateClonedFrom(infraConfigs map[string]*unstructured.Unstructured, kcp *controlplanev1.CK8sControlPlane) Func
MatchesTemplateClonedFrom returns a filter to find all machines that match a given KCP infra template.
Click to show internal directories.
Click to hide internal directories.