Skip to main content

Module controller

Module controller 

Source
Expand description

Runs a user-supplied reconciler function on objects when they (or related objects) are updated

Structs§

Action
Results of the reconciliation attempt
Config
Accumulates all options that can be used on a Controller invocation.
Controller
Controller for a Resource K
ReconcileRequest
A request to reconcile an object, annotated with why that request was made.

Enums§

Error
Errors returned by the applier and visible in a controller stream if inspecting it
ReconcileReason
The reason a reconcile was requested

Functions§

applier
Apply a reconciler to an input stream, with a given retry policy
trigger_owners
Enqueues any owners of type KOwner for reconciliation
trigger_self
Enqueues the object itself for reconciliation
trigger_with
Helper for building custom trigger filters, see the implementations of trigger_self and trigger_owners for some examples.

Type Aliases§

RunnerError
The reasons the internal runner can fail