const updateRetryInterval … const updateRetryTimeout … const waitRetryInterval … const waitRetryTimeout … func RetryErrorCondition(condition wait.ConditionFunc) wait.ConditionFunc { … } func ScaleResourceWithRetries(scalesGetter scaleclient.ScalesGetter, namespace, name string, size uint, gvr schema.GroupVersionResource) error { … }