# Functions

FilterContainerLinuxNodes filters a list of nodes and returns nodes with a Flatcar Container Linux OSImage, as reported by the node's /etc/os-release.
FilterNodesByAnnotation takes a node list and a field selector, and returns a node list that matches the field selector.
FilterNodesByRequirement filters a list of nodes and returns nodes matching the given label requirement.
FilterPods filters given list of pods using given function.
GetClient returns a Kubernetes client (clientset) from the kubeconfig path or from the in-cluster service account environment.
GetNodeRetry gets a node object, retrying up to DefaultBackoff number of times if it fails.
NewRequirementOrDie wraps a call to NewRequirement and panics if the Requirement cannot be created.
SetNodeAnnotations sets all keys in m to their respective values in node's annotations.
SetNodeAnnotationsLabels sets all keys in a and l to their values in node's annotations and labels, respectively.
SetNodeLabels sets all keys in m to their respective values in node's labels.
Unschedulable marks node as schedulable or unschedulable according to sched.
UpdateNodeRetry calls f to update a node object in Kubernetes.

# Interfaces

NodeGetter is a subset of corev1client.NodeInterface used by this package for getting node objects.
NodeUpdater is a subset of corev1client.NodeInterface used by this package for updating nodes.

# Type aliases

UpdateNode is a function updating properties of received node object.