Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdapter ¶
func NewAdapter(string) pkgadapter.AdapterConstructor
NewAdapter returns a constructor for the source's adapter.
func NewController ¶ added in v1.11.0
func NewController(component string) pkgadapter.ControllerConstructor
NewController returns a constructor for the Router's Reconciler.
NOTE(antoineco): although the returned controller doesn't do anything, it is necessary to return a valid implementation in order to trigger the Informer injection in Knative's sharedmain.Main.
func NewEnvConfig ¶
func NewEnvConfig() env.ConfigAccessor
NewEnvConfig satisfies env.ConfigConstructor.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler parses Cloud Events, determines if they pass a filter, and sends them to a subscriber.
type Reconciler ¶ added in v1.11.0
type Reconciler struct{}
Reconciler implements controller.Reconciler for the event source type.
func (*Reconciler) ReconcileKind ¶ added in v1.11.0
func (r *Reconciler) ReconcileKind(ctx context.Context, s *v1alpha1.Filter) reconciler.Event
ReconcileKind implements reconcilerv1alpha1.Interface.
Click to show internal directories.
Click to hide internal directories.