Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultRetry = wait.Backoff{ Steps: 5, Duration: 10 * time.Millisecond, Factor: 1.0, Jitter: 0.1, }
DefaultRetry is the recommended retry for a conflict where multiple clients are making changes to the same resource.
Functions ¶
func UpdateCRWithRetries ¶
func UpdateCRWithRetries(crClient v1alpha1.CanaryReleaseInterface, crLister releaselister.CanaryReleaseLister, namespace, name string, applyUpdate updateCRFunc) (*releaseapi.CanaryRelease, error)
UpdateCRWithRetries updates a CR with given applyUpdate function
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.