Documentation ¶
Overview ¶
Package runtime implements the controller runtime.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runtime ¶
type Runtime struct {
// contains filtered or unexported fields
}
Runtime implements controller runtime.
func NewRuntime ¶
NewRuntime initializes controller runtime object.
func (*Runtime) GetDependencyGraph ¶
func (runtime *Runtime) GetDependencyGraph() (*controller.DependencyGraph, error)
GetDependencyGraph returns dependency graph between resources and controllers.
func (*Runtime) RegisterController ¶
func (runtime *Runtime) RegisterController(ctrl controller.Controller) error
RegisterController registers new controller.
func (*Runtime) RegisterQController ¶ added in v0.4.0
func (runtime *Runtime) RegisterQController(ctrl controller.QController) error
RegisterQController registers new QController.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
adapter
Package adapter provides common interface for controller adapters.
|
Package adapter provides common interface for controller adapters. |
cache
Package cache implements resource cache.
|
Package cache implements resource cache. |
controllerstate
Package controllerstate provides adapter which filters access to the resource state by controller inputs/outputs.
|
Package controllerstate provides adapter which filters access to the resource state by controller inputs/outputs. |
dependency
Package dependency implements controller dependency database.
|
Package dependency implements controller dependency database. |
qruntime
Package qruntime implements queue-based runtime for controllers.
|
Package qruntime implements queue-based runtime for controllers. |
qruntime/internal/containers
Package containers provides helper containers for qruntime.
|
Package containers provides helper containers for qruntime. |
qruntime/internal/queue
Package queue implements a concurrent queue of reconcile items.
|
Package queue implements a concurrent queue of reconcile items. |
qruntime/internal/timer
Package timer provides a resettable timer.
|
Package timer provides a resettable timer. |
reduced
Package reduced implements reducing resource metadata to a comparable value.
|
Package reduced implements reducing resource metadata to a comparable value. |
rruntime
Package rruntime implements runtime for Controllers (which reconcile full set of inputs on each iteration).
|
Package rruntime implements runtime for Controllers (which reconcile full set of inputs on each iteration). |
Package metrics expose various controller runtime metrics using expvar.
|
Package metrics expose various controller runtime metrics using expvar. |
Package options provides functional options for controller runtime.
|
Package options provides functional options for controller runtime. |
Click to show internal directories.
Click to hide internal directories.