webhook

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPPoolWebhook

type IPPoolWebhook struct {
	client.Client
	Scheme *runtime.Scheme
}

func (*IPPoolWebhook) Default

func (r *IPPoolWebhook) Default(ctx context.Context, obj runtime.Object) error

Default implements webhook.CustomDefaulter so a webhook will be registered for the type

func (*IPPoolWebhook) SetupWebhookWithManager

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

func (*IPPoolWebhook) ValidateCreate

func (r *IPPoolWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) error

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

func (*IPPoolWebhook) ValidateDelete

func (r *IPPoolWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) error

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

func (*IPPoolWebhook) ValidateUpdate

func (r *IPPoolWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error

ValidateUpdate implements webhook.CustomValidator 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