Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ControllerName defines the name for EventListener Controller ControllerName = "EventListener" // GeneratedResourcePrefix is the name prefix for resources generated in the // EventListener reconciler GeneratedResourcePrefix = "el" )
Variables ¶
This section is empty.
Functions ¶
func NewController ¶
func NewController(config resources.Config) func(context.Context, configmap.Watcher) *controller.Impl
NewController creates a new instance of an EventListener controller.
Types ¶
type Reconciler ¶
type Reconciler struct { DynamicClientSet dynamic.Interface // KubeClientSet allows us to talk to the k8s for core APIs KubeClientSet kubernetes.Interface // TriggersClientSet allows us to configure triggers objects TriggersClientSet triggersclientset.Interface // Metrics Recorder config Metrics *metrics.Recorder // contains filtered or unexported fields }
Reconciler implements controller.Reconciler for Configuration resources.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, el *v1beta1.EventListener) pkgreconciler.Event
ReconcileKind compares the actual state with the desired, and attempts to converge the two.
Click to show internal directories.
Click to hide internal directories.