package
0.0.0-20201021145615-bb0df7c1ead4
Repository: https://github.com/pavlovaida/library-go.git
Documentation: pkg.go.dev

# Functions

New return new factory instance.
NewSyncContext gives new sync context.

# Constants

DefaultQueueKey is the queue key used for string trigger based controllers.

# Structs

Factory is generator that generate standard Kubernetes controllers.

# Interfaces

Controller interface represents a runnable Kubernetes controller.
Informer represents any structure that allow to register event handlers and informs if caches are synced.
SyncContext interface represents a context given to the Sync() function where the main controller logic happen.

# Type aliases

ObjectQueueKeyFunc is used to make a string work queue key out of the runtime object that is passed to it.
PostStartHook specify a function that will run after controller is started.
SyncFunc is a function that contain main controller logic.