Documentation ¶
Overview ¶
Package qruntime implements queue-based runtime for controllers.
Index ¶
Constants ¶
View Source
const DefaultConcurrency = 1
DefaultConcurrency is the default concurrency for the QController.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct { controllerstate.StateAdapter // contains filtered or unexported fields }
Adapter implements QRuntime interface for the QController.
func NewAdapter ¶
func NewAdapter( ctrl controller.QController, adapterOptions adapter.Options, ) (*Adapter, error)
NewAdapter creates a new QRuntime adapter for the QController.
func (*Adapter) WatchTrigger ¶
WatchTrigger is called by common controller runtime when there is a change in the watched resources.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
containers
Package containers provides helper containers for qruntime.
|
Package containers provides helper containers for qruntime. |
queue
Package queue implements a concurrent queue of reconcile items.
|
Package queue implements a concurrent queue of reconcile items. |
timer
Package timer provides a resettable timer.
|
Package timer provides a resettable timer. |
Click to show internal directories.
Click to hide internal directories.