queue

package
v0.0.0-...-26d813d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnqueueObjectWithKey

func EnqueueObjectWithKey(obj interface{}, queue workqueue.Interface)

EnqueueObjectWithKey is used to enqueue object key.

func EnqueueObjectWithKeyName

func EnqueueObjectWithKeyName(obj interface{}, queue workqueue.Interface)

EnqueueObjectWithKeyName is used to enqueue object key name.

func EnqueueObjectWithKeyNamespace

func EnqueueObjectWithKeyNamespace(obj interface{}, queue workqueue.Interface)

EnqueueObjectWithKeyNamespace is used to enqueue object key namespace.

func HandleQueueItem

func HandleQueueItem(ctx context.Context, queueID string, q workqueue.RateLimitingInterface, handler queueHandler, maxRetries int) bool

HandleQueueItem is used to handle queue item with retrying when error happened.

func HandleQueueItemWithAlwaysRetry

func HandleQueueItemWithAlwaysRetry(ctx context.Context, queueID string, q workqueue.RateLimitingInterface, handler queueHandler) bool

HandleQueueItemWithAlwaysRetry is used to handle queue item with retrying when error happened.

func HandleQueueItemWithoutRetry

func HandleQueueItemWithoutRetry(ctx context.Context, queueID string, q workqueue.Interface, handler queueHandler) bool

HandleQueueItemWithoutRetry is used to handle queue item without retrying.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL