# Functions
CheckControlPlaneMachineOnDeleteReplacement checks that the machines with the given index are being replaced in a on delete style with the expected conditions.
CheckControlPlaneMachineRollingReplacement checks that the machines with the given index are being replaced in a rolling update style with the expected conditions.
CheckReplicasDoesNotExceedSurgeCapacity checks that, during a rolling update, the number of replicas within the control plane machine set never exceeds the desired number of replicas plus 1 additional machine for surge.
CheckRolloutForIndex first checks that a new machine is created in the correct index, and then checks that the new machine in the index is replaced correctly.
ConsistentlyControlPlaneMachinesWithoutDeletionTimestamp checks that none of the control plane machines have a deletion timestamp, consistently.
DeleteControlPlaneMachineSet deletes the control plane machine set.
EnsureActiveControlPlaneMachineSet ensures that there is an active control plane machine set within the cluster.
EnsureControlPlaneMachineSetDeleted ensures the control plane machine set is deleted and properly removed/recreated.
EnsureControlPlaneMachineSetUpdated ensures the control plane machine set is up to date.
EnsureControlPlaneMachineSetUpdateStrategy ensures that the control plane machine set has the specified update strategy.
EnsureInactiveControlPlaneMachineSet ensures that there is an inactive control plane machine set within the cluster.
EventuallyClusterOperatorsShouldStabilise checks that the cluster operators stabilise over time.
EventuallyIndexIsBeingReplaced checks that the index given, eventually receives a replacement Machine.
ExpectControlPlaneMachinesAllRunning checks that all the control plane machines are in running phase.
ExpectControlPlaneMachineSetToBeActive gets the control plane machine set and checks that it is active.
ExpectControlPlaneMachineSetToBeInactive gets the control plane machine set and checks that it is active.
ExpectControlPlaneMachineSetToBeInactiveOrNotFound gets the control plane machine set and checks that it is inactive or not found.
ExpectControlPlaneMachinesNotOwned checks that none of the control plane machines have owner references.
ExpectControlPlaneMachinesOwned checks that all of the control plane machines have owner references.
ExpectControlPlaneMachinesWithoutDeletionTimestamp checks that none of the control plane machines has a deletion timestamp.
GetControlPlaneMachineSetUID gets the UID of the control plane machine set.
IncreaseControlPlaneMachineInstanceSize increases the instance size of the control plane machine in the given index.
IncreaseControlPlaneMachineSetInstanceSize increases the instance size of the control plane machine set.
IncreaseNewestControlPlaneMachineInstanceSize increases the instance size of the the newest control plane machine to match the provider spec given.
ItShouldCheckAllControlPlaneMachinesHaveCorrectOwnerReferences checks that all the control plane machines have the correct owner references set.
ItShouldHaveAnActiveControlPlaneMachineSet returns an It that checks there is an active control plane machine set installed within the cluster.
ItShouldHaveTheControlPlaneMachineSetReplicasUpdated checks that the control plane machine set replicas are updated.
ItShouldNotCauseARollout checks that the control plane machine set doesn't cause a rollout.
ItShouldNotOnDeleteReplaceTheOutdatedMachine checks that the control plane machine set does not replace the outdated machine in the given index when the update strategy is OnDelete.
ItShouldOnDeleteReplaceTheOutDatedMachineWhenDeleted checks that the control plane machine set replaces the outdated machine in the given index when the update strategy is OnDelete and the outdated machine is deleted.
ItShouldPerformARollingUpdate checks that the control plane machine set performs a rolling update in the manner desired.
ItShouldPerformControlPlaneMachineSetRegeneration checks that an inactive control plane machine set is regenerated if the reference machine spec changes.
ItShouldRollingUpdateReplaceTheOutdatedMachine checks that the control plane machine set replaces, via a rolling update, the outdated machine in the given index.
ItShouldUninstallTheControlPlaneMachineSet checks that the control plane machine set is correctly uninstalled when a deletion is triggered, without triggering control plane machines changes.
UpdateControlPlaneMachineProviderSpec updates the provider spec of the control plane machine in the given index to match the provider spec given.
UpdateControlPlaneMachineSetProviderSpec updates the provider spec of the control plane machine set to match the provider spec given.
UpdateDefaultedValueFromControlPlaneMachineSetProviderConfig updates a defaulted field value from the Control Plane Machine Set's provider config to test defaulting on such value.
WaitForControlPlaneMachineSetDesiredReplicas waits for the control plane machine set to have the desired number of replicas.
WaitForControlPlaneMachineSetRemovedOrRecreated waits for the control plane machine set to be removed.
# Structs
ControlPlaneMachineSetRegenerationTestOptions allow test cases to be configured.
RollingUpdatePeriodicTestOptions allow the test cases to be configured.