retry

package
v0.0.0-...-cc7cbc4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 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, log *logrus.Entry) error

func WithIgnoreOnConflict

func WithIgnoreOnConflict(backoff wait.Backoff, fn func() error, log *logrus.Entry) error

func WithIgnoreOnNotFound

func WithIgnoreOnNotFound(backoff wait.Backoff, fn func() error, log *logrus.Entry) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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