retry

package
v0.0.0-...-a52e8f6 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultBackoff = retry.DefaultBackoff
	ErrInvalidFunc = goerrors.New("invalid function")
)

Functions

func OnTimeout

func OnTimeout(backoff wait.Backoff, fn func() error, callbacks ...func(...interface{})) error

func WithIgnoreOnAlreadyExist

func WithIgnoreOnAlreadyExist(backoff wait.Backoff, fn func() error, callbacks ...func(...interface{})) error

func WithIgnoreOnNotFound

func WithIgnoreOnNotFound(backoff wait.Backoff, fn func() error, callbacks ...func(...interface{})) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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