workqueue

package
v0.19.0-m3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package workqueue provides a simplified wrapper interface for Kubernetes workqueues.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Enqueue(obj interface{})
	NumRequeues(key string) int
	Run(stopCh <-chan struct{}, process ProcessFunc)
	ShutDown()
	ShutDownWithDrain()
}

func New

func New(name string) Interface

type ProcessFunc

type ProcessFunc func(key, name, namespace string) (bool, error)

Jump to

Keyboard shortcuts

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