queue

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultControllerRateLimiter

func DefaultControllerRateLimiter() workqueue.RateLimiter

Types

type Queue

type Queue interface {
	Add(key vanus.ID)
	Len() int
	Get() (value vanus.ID, shutdown bool)
	Done(key vanus.ID)
	ShutDown()
	IsShutDown() bool
	ReAdd(key vanus.ID)
	GetFailNum(key vanus.ID) int
	ClearFailNum(key vanus.ID)
}

func New

func New() Queue

Jump to

Keyboard shortcuts

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