Versions in this module Expand all Collapse all v0 v0.0.3 Apr 15, 2022 v0.0.1 Apr 15, 2022 Changes in this version + var ExclusionSelector = metav1.LabelSelector + var InclusionSelector = metav1.LabelSelector + func NewAdmissionController(ctx context.Context, name, path string, gla GetListAll, ...) *controller.Impl + type BaseReconciler struct + DynamicClient dynamic.Interface + Factory duck.InformerFactory + GVR schema.GroupVersionResource + Get func(namespace string, name string) (Bindable, error) + NamespaceLister corev1listers.NamespaceLister + Recorder record.EventRecorder + SubResourcesReconciler SubResourcesReconcilerInterface + Tracker tracker.Interface + WithContext BindableContext + func (r *BaseReconciler) EnsureFinalizer(ctx context.Context, fb kmeta.Accessor) error + func (r *BaseReconciler) IsFinalizing(ctx context.Context, fb kmeta.Accessor) bool + func (r *BaseReconciler) Reconcile(ctx context.Context, key string) error + func (r *BaseReconciler) ReconcileDeletion(ctx context.Context, fb Bindable) error + func (r *BaseReconciler) ReconcileSubject(ctx context.Context, fb Bindable, mutation Mutation) error + func (r *BaseReconciler) RemoveFinalizer(ctx context.Context, fb kmeta.Accessor) error + func (r *BaseReconciler) UpdateStatus(ctx context.Context, desired Bindable) error + type Bindable interface + Do func(context.Context, *duckv1.WithPod) + Undo func(context.Context, *duckv1.WithPod) + type BindableContext func(context.Context, Bindable) (context.Context, error) + type GetListAll func(context.Context, cache.ResourceEventHandler) ListAll + type ListAll func() ([]Bindable, error) + type Mutation func(context.Context, *duckv1.WithPod) + type Reconciler struct + Client kubernetes.Interface + HandlerPath string + ListAll ListAll + MWHLister admissionlisters.MutatingWebhookConfigurationLister + Name string + SecretLister corelisters.SecretLister + SecretName string + WithContext BindableContext + func NewReconciler(name, path, secretName string, client kubernetes.Interface, ...) *Reconciler + func (ac *Reconciler) Admit(ctx context.Context, request *admissionv1.AdmissionRequest) *admissionv1.AdmissionResponse + func (ac *Reconciler) Path() string + func (ac *Reconciler) Reconcile(ctx context.Context, key string) error + type ReconcilerOption func(*Reconciler) + func WithSelector(s metav1.LabelSelector) ReconcilerOption + type SubResourcesReconcilerInterface interface + Reconcile func(ctx context.Context, fb Bindable) error + ReconcileDeletion func(ctx context.Context, fb Bindable) error