retry

package
v0.0.0-...-4315425 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 5 Imported by: 2

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