package
0.6.2
Repository: https://github.com/csrwng/origin.git
Documentation: pkg.go.dev

# Functions

NewQueueRetryManager safely creates a new QueueRetryManager.
RetryNever is a RetryFunc implementation that will always retry.
RetryNever is a RetryFunc implementation that will never retry.

# Structs

QueueRetryManager retries a resource by re-queueing it into a ReQueue as long as retryFunc returns true.
Retry describes provides additional information regarding retries.
RetryController is a RunnableController which delegates resource handling to a function and knows how to safely manage retries of a resource which failed to be successfully handled.

# Interfaces

Queue is a narrow abstraction of a cache.FIFO.
ReQueue is a queue that allows an object to be requeued.
RetryManager knows how to retry processing of a resource, and how to forget a resource it may be tracking the state of.
RunnableController is a controller which implements a Run loop.

# Type aliases

RetryFunc should return true if the given object and error should be retried after the provided number of times.