Documentation
¶
Index ¶
- func HasDeletionTimestamp(machine *clusterv1.Machine) bool
- type Func
- func And(filters ...Func) Func
- func HasAnnotationKey(key string) Func
- func InFailureDomains(failureDomains ...*string) Func
- func MatchesConfigurationHash(configHash string) Func
- func Not(mf Func) Func
- func OlderThan(t *metav1.Time) Func
- func Or(filters ...Func) Func
- func OwnedControlPlaneMachines(controlPlaneName string) Func
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasDeletionTimestamp ¶
HasDeletionTimestamp returns a filter to find all machines that have a deletion timestamp.
Types ¶
type Func ¶
func HasAnnotationKey ¶
HasAnnotationKey returns a filter to find all machines that have the specified Annotation key present
func InFailureDomains ¶
InFailureDomains returns a filter to find all machines in any of the given failure domains
func MatchesConfigurationHash ¶
MatchesConfigurationHash returns a filter to find all machines that match a given CritControlPlane configuration hash.
func OlderThan ¶
OlderThan returns a filter to find all machines that have a CreationTimestamp earlier than the given time.
func OwnedControlPlaneMachines ¶
OwnedControlPlaneMachines rerturns a filter to find all owned control plane machines. Usage: managementCluster.GetMachinesForCluster(ctx, cluster, machinefilters.OwnedControlPlaneMachines(controlPlane.Name))