Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAppEnv ¶
func MakeAppEnv(src *v1alpha1.WebhookSource) []corev1.EnvVar
MakeAppEnv extracts environment variables from the object. Exported to be used in external tools for local test environments.
func NewController ¶
NewController initializes the controller and is called by the generated code Registers event handlers to enqueue events
Types ¶
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler implements controller.Reconciler for the event source type.
func (*Reconciler) BuildAdapter ¶
func (r *Reconciler) BuildAdapter(src commonv1alpha1.Reconcilable, sinkURI *apis.URL) (*servingv1.Service, error)
BuildAdapter implements common.AdapterBuilder.
func (*Reconciler) ReconcileKind ¶
func (r *Reconciler) ReconcileKind(ctx context.Context, src *v1alpha1.WebhookSource) reconciler.Event
ReconcileKind implements Interface.ReconcileKind.
Click to show internal directories.
Click to hide internal directories.