webhook

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkPoolValidator

type NetworkPoolValidator struct {
	Client client.Client
}

NetworkPoolValidator validates NetworkPool resources on admission.

func (*NetworkPoolValidator) SetupWebhookWithManager

func (v *NetworkPoolValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the NetworkPool validating webhook with the manager.

func (*NetworkPoolValidator) ValidateCreate

ValidateCreate validates a NetworkPool on creation.

func (*NetworkPoolValidator) ValidateDelete

func (v *NetworkPoolValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete validates a NetworkPool on deletion.

func (*NetworkPoolValidator) ValidateUpdate

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

ValidateUpdate validates a NetworkPool on update.

type ProviderConfigValidator

type ProviderConfigValidator struct {
	Client client.Client
}

ProviderConfigValidator validates ProviderConfig resources on admission.

func (*ProviderConfigValidator) SetupWebhookWithManager

func (v *ProviderConfigValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the ProviderConfig validating webhook with the manager.

func (*ProviderConfigValidator) ValidateCreate

ValidateCreate validates a ProviderConfig on creation.

func (*ProviderConfigValidator) ValidateDelete

ValidateDelete validates a ProviderConfig on deletion.

func (*ProviderConfigValidator) ValidateUpdate

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

ValidateUpdate validates a ProviderConfig on update.

type TenantClusterValidator

type TenantClusterValidator struct {
	Client client.Client
}

TenantClusterValidator validates TenantCluster resources on admission.

func (*TenantClusterValidator) SetupWebhookWithManager

func (v *TenantClusterValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the TenantCluster validating webhook with the manager.

func (*TenantClusterValidator) ValidateCreate

ValidateCreate validates a TenantCluster on creation.

func (*TenantClusterValidator) ValidateDelete

ValidateDelete validates a TenantCluster on deletion.

func (*TenantClusterValidator) ValidateUpdate

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

ValidateUpdate validates a TenantCluster on update.

Jump to

Keyboard shortcuts

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