Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamicReconciler ¶
type DynamicReconciler struct { client.Client Scheme *runtime.Scheme Name string GroupVersionKind schema.GroupVersionKind EventsSource string EventsTarget string EventsClient cloudeventsclient.Client }
DynamicReconciler reconciles any object with the given GroupVersionKind. When an instance of the object is created, updated, or deleted, the reconciler emits a CloudEvent to the configured target.
func (*DynamicReconciler) Reconcile ¶
Reconcile receives events for the configured object, determines the object's state on the cluster, and emits an appropriate CloudEvent. If the event is not delivered, it is retried via a requeue.
func (*DynamicReconciler) SetupWithManager ¶
func (r *DynamicReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.