reconciler

package
v0.0.0-...-f7c97df Latest Latest
Warning

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

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADD    = "ADD"
	UPDATE = "UPDATE"
	DELETE = "DELETE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Impl

type Impl struct {
	Name string
	// contains filtered or unexported fields
}

func NewControllerWithConfig

func NewControllerWithConfig(ctx context.Context, informer cache.SharedIndexInformer, opts ...Options) *Impl

func NewImpl

func NewImpl(opts ...Options) *Impl

func (*Impl) AddFunc

func (i *Impl) AddFunc(obj interface{})

func (*Impl) DeleteFunc

func (i *Impl) DeleteFunc(obj interface{})

func (*Impl) Run

func (i *Impl) Run(stopCh <-chan struct{})

func (*Impl) UpdateFunc

func (i *Impl) UpdateFunc(oldObj, newObj interface{})

type Options

type Options func(*Impl)

func WithCache

func WithCache(ctx context.Context, maxEntries int) Options

func WithConsumer

func WithConsumer(ctx context.Context, bus *bus.EventBus) Options

func WithFunction

func WithFunction(ctx context.Context) Options

func WithPipelineRun

func WithPipelineRun(ctx context.Context) Options

func WithServing

func WithServing(ctx context.Context) Options

type ParseOpt

type ParseOpt func(obj interface{}, method string) interface{}

Jump to

Keyboard shortcuts

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