handler

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnqueueRequestForController

type EnqueueRequestForController struct {
	Context           string
	ControllerContext string
	Queue             Queue
	Predicate         func(obj interface{}) bool
}

func (*EnqueueRequestForController) OnAdd

func (e *EnqueueRequestForController) OnAdd(obj interface{})

func (*EnqueueRequestForController) OnDelete

func (e *EnqueueRequestForController) OnDelete(obj interface{})

func (*EnqueueRequestForController) OnUpdate

func (e *EnqueueRequestForController) OnUpdate(oldObj, newObj interface{})

type EnqueueRequestForObject

type EnqueueRequestForObject struct {
	Context   string
	Queue     Queue
	Predicate func(obj interface{}) bool
}

func (*EnqueueRequestForObject) OnAdd

func (e *EnqueueRequestForObject) OnAdd(obj interface{})

func (*EnqueueRequestForObject) OnDelete

func (e *EnqueueRequestForObject) OnDelete(obj interface{})

func (*EnqueueRequestForObject) OnUpdate

func (e *EnqueueRequestForObject) OnUpdate(oldObj, newObj interface{})

type Queue

type Queue interface {
	Add(item interface{})
}

Jump to

Keyboard shortcuts

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