webhook

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessManagementValidator

type AccessManagementValidator struct {
	client.Client
	SystemNamespace string
}

func (*AccessManagementValidator) SetupWebhookWithManager

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

func (*AccessManagementValidator) ValidateCreate

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

func (*AccessManagementValidator) ValidateDelete

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

func (*AccessManagementValidator) ValidateUpdate

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

type ClusterAuthenticationValidator added in v1.6.0

type ClusterAuthenticationValidator struct {
	client.Client
}

func (*ClusterAuthenticationValidator) SetupWebhookWithManager added in v1.6.0

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

func (*ClusterAuthenticationValidator) ValidateCreate added in v1.6.0

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

func (*ClusterAuthenticationValidator) ValidateDelete added in v1.6.0

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

func (*ClusterAuthenticationValidator) ValidateUpdate added in v1.6.0

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

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

type ClusterDeploymentValidator

type ClusterDeploymentValidator struct {
	client.Client

	SystemNamespace            string
	ValidateClusterUpgradePath bool
}

func (*ClusterDeploymentValidator) Default

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

func (*ClusterDeploymentValidator) SetupWebhookWithManager

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

func (*ClusterDeploymentValidator) ValidateCreate

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

func (*ClusterDeploymentValidator) ValidateDelete

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

func (*ClusterDeploymentValidator) ValidateUpdate

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

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

type ClusterTemplateChainValidator

type ClusterTemplateChainValidator struct {
	client.Client
	SystemNamespace string
}

func (*ClusterTemplateChainValidator) SetupWebhookWithManager

func (in *ClusterTemplateChainValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ClusterTemplateChainValidator) ValidateCreate

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

func (*ClusterTemplateChainValidator) ValidateDelete

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

func (*ClusterTemplateChainValidator) ValidateUpdate

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

type ClusterTemplateValidator

type ClusterTemplateValidator struct {
	TemplateValidator
}

func (*ClusterTemplateValidator) Default

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

func (*ClusterTemplateValidator) SetupWebhookWithManager

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

func (*ClusterTemplateValidator) ValidateCreate

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

func (*ClusterTemplateValidator) ValidateDelete

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

func (*ClusterTemplateValidator) ValidateUpdate

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

type ManagementValidator

type ManagementValidator struct {
	client.Client
}

func (*ManagementValidator) SetupWebhookWithManager

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

func (*ManagementValidator) ValidateCreate

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

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

func (*ManagementValidator) ValidateDelete

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

func (*ManagementValidator) ValidateUpdate

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

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

type ProviderTemplateValidator

type ProviderTemplateValidator struct {
	TemplateValidator
}

func (*ProviderTemplateValidator) Default

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

func (*ProviderTemplateValidator) SetupWebhookWithManager

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

func (*ProviderTemplateValidator) ValidateCreate

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

func (*ProviderTemplateValidator) ValidateDelete

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

func (*ProviderTemplateValidator) ValidateUpdate

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

type RegionValidator added in v1.5.0

type RegionValidator struct {
	client.Client

	SystemNamespace string
}

func (*RegionValidator) SetupWebhookWithManager added in v1.5.0

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

func (*RegionValidator) ValidateCreate added in v1.5.0

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

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

func (*RegionValidator) ValidateDelete added in v1.5.0

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

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

func (*RegionValidator) ValidateUpdate added in v1.5.0

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

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

type ReleaseValidator

type ReleaseValidator struct {
	client.Client
}

func (*ReleaseValidator) SetupWebhookWithManager

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

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*ReleaseValidator) ValidateCreate

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

func (*ReleaseValidator) ValidateDelete

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

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

func (*ReleaseValidator) ValidateUpdate

func (*ReleaseValidator) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)

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

type ServiceTemplateChainValidator

type ServiceTemplateChainValidator struct {
	client.Client
	SystemNamespace string
}

func (*ServiceTemplateChainValidator) SetupWebhookWithManager

func (in *ServiceTemplateChainValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ServiceTemplateChainValidator) ValidateCreate

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

func (*ServiceTemplateChainValidator) ValidateDelete

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

func (*ServiceTemplateChainValidator) ValidateUpdate

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

type ServiceTemplateValidator

type ServiceTemplateValidator struct {
	TemplateValidator
}

func (*ServiceTemplateValidator) Default

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

func (*ServiceTemplateValidator) SetupWebhookWithManager

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

func (*ServiceTemplateValidator) ValidateCreate

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

func (*ServiceTemplateValidator) ValidateDelete

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

func (*ServiceTemplateValidator) ValidateUpdate

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

type TemplateValidator

type TemplateValidator struct {
	client.Client
	SystemNamespace string
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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