# Functions
ApplyDesiredVersionAnnotation applies this operator's version as the desired version annotation to the given Node.
ApplyLabelsAndAnnotations applies all the given annotations to the given Node resource.
ApplyRebootAnnotation applies an annotation to the given Node communicating that the instance needs to be restarted.
ApplyUpgradingLabel applies the upgrading label to the given node reference indicating the instance is performing an upgrade.
ApplyVersionAnnotation applies this operator's version as the version annotation to the given Node.
GenerateAddPatch creates a comma-separated list of operations to add all given labels and annotations from an object An "add" patch overwrites existing value if a label or annotation already exists.
GenerateRemovePatch creates a comma-separated list of operations to remove all given labels and annotations from an object.
RemoveVersionAnnotation clears the reboot annotation from the node, indicating the instance no longer needs a restart.
RemoveUpgradingLabel clears the upgrading label from the node reference, indicating the instance is no longer upgrading.
RemoveVersionAnnotation clears the version annotation from the node object, indicating the node is not configured.
WaitForRebootAnnotationRemoval waits for the reboot annotation to be cleared from the node.
WaitForVersionAnnotation checks if the node object has equivalent version and desiredVersion annotations.
# Constants
DesiredVersionAnnotation is a Node annotation, indicating the Service ConfigMap that should be used to configure it.
RebootAnnotation indicates the node's underlying instance needs to be restarted.
UpgradingLabel indicates the node's underlying instance is performing an upgrade.
VersionAnnotation indicates the version of WMCO that configured the node.