util

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL