Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IfNecessary ¶ added in v0.49.0
IfNecessary retries the operation in exponential backoff with the retry Options.
Types ¶
type Options ¶ added in v0.49.0
type Options struct { MaxRetry int // The number of times to possibly retry. Delay time.Duration // The delay to use between retries, if set. }
Options defines the option to retry.
type RetryOptions ¶
type RetryOptions = Options // nolint:revive
RetryOptions is deprecated, use Options.
Click to show internal directories.
Click to hide internal directories.