webhooks

package
v0.1.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookNetboxIPPool

type WebhookNetboxIPPool struct {
	Client client.Reader
}

WebhookNetboxIPPool implements a validating and defaulting webhook for NetboxIPPool.

func (*WebhookNetboxIPPool) Default

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

func (*WebhookNetboxIPPool) SetupWebhookWithManager

func (w *WebhookNetboxIPPool) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager will set up the manager to manage the webhooks

func (*WebhookNetboxIPPool) ValidateCreate

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

func (*WebhookNetboxIPPool) ValidateDelete

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

func (*WebhookNetboxIPPool) ValidateUpdate

func (w *WebhookNetboxIPPool) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, 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