webhook

package
v0.0.0-...-1e43b4c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngressNodeFirewallWebhook

type IngressNodeFirewallWebhook struct {
	ingressnodefwv1alpha1.IngressNodeFirewall
}

func (*IngressNodeFirewallWebhook) SetupWebhookWithManager

func (r *IngressNodeFirewallWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*IngressNodeFirewallWebhook) ValidateCreate

func (r *IngressNodeFirewallWebhook) ValidateCreate(ctx context.Context, newObj runtime.Object) (warnings admission.Warnings, err error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*IngressNodeFirewallWebhook) ValidateDelete

func (r *IngressNodeFirewallWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (warnings admission.Warnings, err error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*IngressNodeFirewallWebhook) ValidateUpdate

func (r *IngressNodeFirewallWebhook) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (warnings admission.Warnings, err error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

Jump to

Keyboard shortcuts

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