v1alpha

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupConduitWebhookWithManager

func SetupConduitWebhookWithManager(ctx context.Context, mgr ctrl.Manager) error

SetupConduitWebhookWithManager registers the webhook for Conduit in the manageconduit.

Types

type ConduitCustomDefaulter

type ConduitCustomDefaulter struct{}

ConduitCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind Conduit when those are created or updated.

func (*ConduitCustomDefaulter) Default

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

type ConduitCustomValidator

type ConduitCustomValidator struct {
	validation.ValidatorService
}

ConduitCustomValidator struct is responsible for validating the Conduit resource when it is created, updated, or deleted.

func NewConduitCustomValidator

func NewConduitCustomValidator(validator validation.ValidatorService) *ConduitCustomValidator

func (*ConduitCustomValidator) ValidateCreate

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

func (*ConduitCustomValidator) ValidateDelete

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

func (*ConduitCustomValidator) ValidateUpdate

func (v *ConduitCustomValidator) ValidateUpdate(ctx context.Context, _, newObj runtime.Object) (admission.Warnings, error)

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

Jump to

Keyboard shortcuts

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