Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFIFOQueue ¶
func NewFIFOQueue() *fifoQueue
func NewRateLimitingFairQueue ¶
func NewRateLimitingFairQueue(opts ...OptConfig) workqueue.RateLimitingInterface
Types ¶
type OptConfig ¶
type OptConfig func(*option)
func WithIdleQueueCheckPeriod ¶
WithIdleQueueCheckPeriod update the idle queue check period.
func WithQueueExpireDuration ¶
WithQueueExpireDuration update the queue expire duration.
func WithRateLimiter ¶
func WithRateLimiter(rateLimiter workqueue.RateLimiter) OptConfig
WithRateLimiter update the rate limiter.
Click to show internal directories.
Click to hide internal directories.