webhooks

package
v1.4.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 13 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) error

ValidateCreate implements webhook.CustomValidator.

func (*IPAddress) ValidateDelete

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

ValidateDelete implements webhook.CustomValidator.

func (*IPAddress) ValidateUpdate

func (webhook *IPAddress) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) 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) error

ValidateCreate implements webhook.CustomValidator.

func (*IPAddressClaim) ValidateDelete

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

ValidateDelete implements webhook.CustomValidator.

func (*IPAddressClaim) ValidateUpdate

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

ValidateUpdate implements webhook.CustomValidator.

Jump to

Keyboard shortcuts

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