Documentation ¶
Index ¶
- type Clock
- type RetryStrategy
- func NewAttemptRetryStrategy(maxAttempts int, delay time.Duration, retryable Retryable, ...) RetryStrategy
- func NewBackoffWithJitterRetryStrategy(maxAttempts int, min time.Duration, max time.Duration, retryable Retryable, ...) RetryStrategy
- func NewTimeoutRetryStrategy(timeout time.Duration, delay time.Duration, retryable Retryable, ...) RetryStrategy
- func NewUnlimitedRetryStrategy(delay time.Duration, retryable Retryable, logger boshlog.Logger) RetryStrategy
- type Retryable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RetryStrategy ¶
type RetryStrategy interface {
Try() error
}
func NewAttemptRetryStrategy ¶
func NewTimeoutRetryStrategy ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.