Versions in this module Expand all Collapse all v0 v0.0.2 Aug 14, 2019 v0.0.1 Aug 14, 2019 Changes in this version + type Clock interface + Now func() time.Time + Sleep func(time.Duration) + type RetryStrategy interface + Try func() error + func NewAttemptRetryStrategy(maxAttempts int, delay 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 interface + Attempt func() (shouldRetry bool, err error) + func NewRetryable(attemptFunc func() (bool, error)) Retryable