validatingwebhookconfiguration

package
v0.0.0-...-43c1888 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 the ValidatingWebhookConfiguration.

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 ValidatingWebhookConfiguration events.

func NewEventHandler

func NewEventHandler() *EventHandler

NewEventHandler creates a new ValidatingWebhookConfigurationEventHandler instance.

func (*EventHandler) Create

Create implements handler.EventHandler.

func (*EventHandler) Delete

Delete implements handler.EventHandler.

func (*EventHandler) Generic

Generic implements handler.EventHandler.

func (*EventHandler) Update

Update implements handler.EventHandler.

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler reconciles a ValidatingWebhookConfiguration object.

func NewReconciler

func NewReconciler(client client.Client, certProvider *certificate.Provider, name string) *Reconciler

NewReconciler creates a new ValidatingWebhookConfigurationReconciler instance.

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile implements reconcile.Reconciler.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, options controller.Options) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL