package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
DefaultQueueKeysFunc returns a slice with a single element - the DefaultQueueKey.
No description provided by the author
New return new factory instance.
NewSyncContext gives new sync context.
No description provided by the author

# Constants

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

# Variables

SyntheticRequeueError can be returned from sync() in case of forcing a sync() retry artificially.

# 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

EventFilterFunc is used to filter informer events to prevent Sync() from being called.
ObjectQueueKeyFunc is used to make a string work queue key out of the runtime object that is passed to it.
ObjectQueueKeysFunc is used to make a string work queue keys 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.