webhooks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct{}

Chain implements a validation and defaulting webhook for Chain.

func (*Chain) Default

func (w *Chain) Default(_ context.Context, obj runtime.Object) error

Default sets default Chain field values.

func (*Chain) SetupWebhookWithManager

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

func (*Chain) ValidateCreate

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

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

func (*Chain) ValidateDelete

func (w *Chain) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)

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

func (*Chain) ValidateUpdate

func (w *Chain) 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