webhook

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWebhookWithManager added in v0.19.0

func SetupWebhookWithManager(mgr manager.Manager) error

SetupWebhookWithManager the webhook endpoints against the Manager.

Types

type ClusterBundle added in v0.19.0

type ClusterBundle struct{}

ClusterBundle validates ClusterBundle against rules that are currently not available in Kubernetes OpenAPI schema nor CEL.

func (*ClusterBundle) SetupWebhookWithManager added in v0.19.0

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

func (*ClusterBundle) ValidateCreate added in v0.19.0

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

func (*ClusterBundle) ValidateDelete added in v0.19.0

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

func (*ClusterBundle) ValidateUpdate added in v0.19.0

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

Jump to

Keyboard shortcuts

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