operator

package
v0.0.0-...-c655260 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterByNames

func FilterByNames(names ...string) controller.Filter

Types

type KeySyncer

type KeySyncer interface {
	Key() (v1.Object, error)
	controller.Syncer
}

type Option

type Option func(*operator)

func WithInformer

func WithInformer(getter controller.InformerGetter, filter controller.Filter, opts ...controller.InformerOption) Option

type Runner

type Runner interface {
	Run(stopCh <-chan struct{})
}

func New

func New(name string, sync KeySyncer, opts ...Option) Runner

Jump to

Keyboard shortcuts

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