Documentation ¶
Index ¶
- type EventFilter
- type EventHandler
- func (h *EventHandler) Create(ctx context.Context, event event.CreateEvent, ...)
- func (h *EventHandler) Delete(ctx context.Context, event event.DeleteEvent, ...)
- func (h *EventHandler) Generic(ctx context.Context, event event.GenericEvent, ...)
- func (h *EventHandler) Update(ctx context.Context, event event.UpdateEvent, ...)
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventFilter ¶
type EventFilter struct {
// contains filtered or unexported fields
}
EventFilter filters events for MutatingWebhookConfiguration.
func NewEventFilter ¶
func NewEventFilter(name string) *EventFilter
func (*EventFilter) Create ¶
func (f *EventFilter) Create(e event.CreateEvent) bool
Create implements predicate.Predicate.
func (*EventFilter) Delete ¶
func (f *EventFilter) Delete(event.DeleteEvent) bool
Delete implements predicate.Predicate.
func (*EventFilter) Generic ¶
func (f *EventFilter) Generic(event.GenericEvent) bool
Generic implements predicate.Predicate.
func (*EventFilter) Update ¶
func (f *EventFilter) Update(e event.UpdateEvent) bool
Update implements predicate.Predicate.
type EventHandler ¶
type EventHandler struct{}
EventHandler handles MutatingWebhookConfiguration events.
func NewEventHandler ¶
func NewEventHandler() *EventHandler
NewEventHandler creates a new MutatingWebhookConfigurationEventHandler instance.
func (*EventHandler) Create ¶
func (h *EventHandler) Create(ctx context.Context, event event.CreateEvent, queue workqueue.RateLimitingInterface)
Create implements handler.EventHandler.
func (*EventHandler) Delete ¶
func (h *EventHandler) Delete(ctx context.Context, event event.DeleteEvent, queue workqueue.RateLimitingInterface)
Delete implements handler.EventHandler.
func (*EventHandler) Generic ¶
func (h *EventHandler) Generic(ctx context.Context, event event.GenericEvent, queue workqueue.RateLimitingInterface)
Generic implements handler.EventHandler.
func (*EventHandler) Update ¶
func (h *EventHandler) Update(ctx context.Context, event event.UpdateEvent, queue workqueue.RateLimitingInterface)
Update implements handler.EventHandler.
type Reconciler ¶
type Reconciler struct {
// contains filtered or unexported fields
}
Reconciler reconciles a webhook configuration object.
func NewReconciler ¶
func NewReconciler(client client.Client, certProvider *certificate.Provider, name string) *Reconciler
NewReconciler creates a new MutatingWebhookConfigurationReconciler instance.
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error