queues

package
v0.0.0-...-f0ef8f0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemProcessFunc

type ItemProcessFunc func(obj interface{}) error

type RetryingWorkQueue

type RetryingWorkQueue struct {
	// contains filtered or unexported fields
}

func NewRetryingWorkQueue

func NewRetryingWorkQueue(queueType string, indexer cache.Indexer, threadiness int, stopCh chan struct{}) *RetryingWorkQueue

func (*RetryingWorkQueue) AddItem

func (rwq *RetryingWorkQueue) AddItem(obj interface{})

func (*RetryingWorkQueue) Run

func (rwq *RetryingWorkQueue) Run(businessLogicFunc ItemProcessFunc)

Jump to

Keyboard shortcuts

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