Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetermineRequeueInterval ¶
func DetermineRequeueInterval(state shared.State, intervals RequeueIntervals) time.Duration
Types ¶
type RequeueIntervals ¶
type RequeueJitter ¶
type RequeueJitter struct { JitterProbability float64 JitterPercentage float64 RandFunc func() float64 }
func NewRequeueJitter ¶
func NewRequeueJitter(jitterProbability, jitterPercentage float64) *RequeueJitter
type RequeueType ¶
type RequeueType string
const ( IntendedRequeue RequeueType = "intended" UnexpectedRequeue RequeueType = "unexpected" )
Click to show internal directories.
Click to hide internal directories.