# Functions
ActiveMachines returns a filter to find all active machines.
AdoptableControlPlaneMachines returns a filter to find all un-controlled control plane machines.
And returns a filter that returns true if all of the given filters returns true.
ControlPlaneMachines returns a filter to find all control plane machines for a cluster, regardless of ownership.
ControlPlaneSelectorForCluster returns the label selector necessary to get control plane machines for a given cluster.
FromMachineList creates a Machines from the given MachineList.
FromMachines creates a Machines from a list of values.
GetFilteredMachinesForCluster returns a list of machines that can be filtered or not.
HasAnnotationKey returns a filter to find all machines that have the specified Annotation key present.
HasControllerRef is a filter that returns true if the machine has a controller ref.
HasDeletionTimestamp returns a filter to find all machines that have a deletion timestamp.
HasNode returns a filter to find all machines that have a corresponding Kubernetes node.
HasUnhealthyControlPlaneComponents returns a filter to find all unhealthy control plane machines that have any of the following control plane component conditions set to False: APIServerPodHealthy, ControllerManagerPodHealthy, SchedulerPodHealthy, EtcdPodHealthy & EtcdMemberHealthy (if using managed etcd).
InFailureDomains returns a filter to find all machines in any of the given failure domains.
IsReady returns a filter to find all machines with the ReadyCondition equals to True.
IsUnhealthy returns a filter to find all machines that have a MachineHealthCheckSucceeded condition set to False, indicating a problem was detected on the machine.
IsUnhealthyAndOwnerRemediated returns a filter to find all machines that have a MachineHealthCheckSucceeded condition set to False, indicating a problem was detected on the machine, and the MachineOwnerRemediated condition set to False, indicating that the machine owner is responsible for performing remediation for the machine.
MatchesKubernetesVersion returns a filter to find all machines that match a given Kubernetes version.
New creates an empty Machines.
Not returns a filter that returns the opposite of the given filter.
Or returns a filter that returns true if any of the given filters returns true.
OwnedMachines returns a filter to find all machines owned by specified owner.
ShouldRolloutAfter returns a filter to find all machines where CreationTimestamp < rolloutAfter < reconciliationTIme.
ShouldRolloutBefore returns a filter to find all machine whose certificates will expire within the specified days.
ToMachineList creates a MachineList from the given Machines.
WithVersion returns a filter to find machine that have a non empty and valid version.