Documentation ¶
Index ¶
- func Retry(retryFn retry.RetryableFunc) error
- func RetryAttempts(retryFn retry.RetryableFunc, attempts uint) error
- func RetryIfNot(retryFn retry.RetryableFunc, errMsg string) error
- func RetryUnless(retryFn retry.RetryableFunc, errType error) error
- func RetryUntil(retryFn retry.RetryableFunc, until time.Duration, tick time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Retry ¶
func Retry(retryFn retry.RetryableFunc) error
Retry default retrier, retries 7 times, with exponential back off
func RetryAttempts ¶
func RetryAttempts(retryFn retry.RetryableFunc, attempts uint) error
RetryAttempts retries attempts times
func RetryIfNot ¶
func RetryIfNot(retryFn retry.RetryableFunc, errMsg string) error
func RetryUnless ¶
func RetryUnless(retryFn retry.RetryableFunc, errType error) error
func RetryUntil ¶
RetryUntil simple retrier until time runs out, checks every tick, does not do exponential back off
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.