webhooks

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package webhooks implements experimental webhooks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAddress

type IPAddress struct {
	Client client.Reader
}

IPAddress implements a validating webhook for IPAddress.

func (*IPAddress) SetupWebhookWithManager

func (webhook *IPAddress) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up IPAddress webhooks.

func (*IPAddress) ValidateCreate

func (webhook *IPAddress) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.CustomValidator.

func (*IPAddress) ValidateDelete

func (webhook *IPAddress) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.CustomValidator.

func (*IPAddress) ValidateUpdate

func (webhook *IPAddress) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator.

type IPAddressClaim

type IPAddressClaim struct {
}

IPAddressClaim implements a validating webhook for IPAddressClaim.

func (*IPAddressClaim) SetupWebhookWithManager

func (webhook *IPAddressClaim) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up IPAddressClaim webhooks.

func (*IPAddressClaim) ValidateCreate

func (webhook *IPAddressClaim) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.CustomValidator.

func (*IPAddressClaim) ValidateDelete

func (webhook *IPAddressClaim) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.CustomValidator.

func (*IPAddressClaim) ValidateUpdate

func (webhook *IPAddressClaim) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator.

Jump to

Keyboard shortcuts

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