Documentation ¶
Overview ¶
Package workgenerator features a controller to generate work objects based on resource binding objects.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client // the max number of concurrent reconciles per controller. MaxConcurrentReconciles int // contains filtered or unexported fields }
Reconciler watches binding objects and generate work objects in the designated cluster namespace according to the information in the binding objects. TODO: incorporate an overriding policy if one exists
func (*Reconciler) Reconcile ¶
func (r *Reconciler) Reconcile(ctx context.Context, req controllerruntime.Request) (controllerruntime.Result, error)
Reconcile triggers a single binding reconcile round.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr controllerruntime.Manager) error
SetupWithManager sets up the controller with the Manager. It watches binding events and also update/delete events for work.
Click to show internal directories.
Click to hide internal directories.