# Functions
BackupForCluster is gomega matcher that matches a backup which is for given cluster.
BackupHaveCondition is a helper func that returns a matcher to check for an existing condition in condition list list.
BackupWithName is a gomega matcher that matchers a backup with the given name.
DrainChan drains the request chan time for drainTimeout.
HaveClusterStatusReadyNodes a matcher that checks cluster ready nodes to equal the given value.
ListAllBackupsFn returns a helper function that can be used with gomega Eventually and Consistently.
NewTestLogger returns a logger good for tests.
NodeConditions returns a list of api.NodeConditions for a node.
PodHaveCondition is a helper func that returns a matcher to check for an existing condition in condition list list.
RefreshFn receives a client and a runtime.Objects and refreshes the object from k8s example: Eventually(RefreshFn(c, cluster.Unwrap())).Should(HaveClusterStatusReadyNodes(2)).
SetupTestReconcile returns a reconcile.Reconcile implementation that delegates to inner and writes the request to requests after Reconcile is finished.
StartTestManager adds recFn.