queue

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package queue provides helper functions for operating on a rate limited workqueue.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(queue workqueue.RateLimitingInterface, obj interface{})

Add adds obj to queue.

func AddId

func AddId(queue workqueue.RateLimitingInterface, id types.Id)

AddId adds resource identified by id to queue.

The key to be added to the queue is constructed in a way compatible with cache.MetaNamespaceKeyFunc, i.e. if namespace is empty, the key equals the name, otherwise it equals namespace/name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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