webhook

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: Apache-2.0 Imports: 17 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) Default

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

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 ClusterDeploymentValidator

type ClusterDeploymentValidator struct {
	client.Client
}

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
}

func (*ClusterTemplateChainValidator) Default

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

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) Default

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

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 MultiClusterServiceValidator

type MultiClusterServiceValidator struct {
	client.Client
	SystemNamespace string
}

func (*MultiClusterServiceValidator) Default

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

func (*MultiClusterServiceValidator) SetupWebhookWithManager

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

SetupWebhookWithManager will setup the manager to manage the webhooks

func (*MultiClusterServiceValidator) ValidateCreate

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

func (*MultiClusterServiceValidator) ValidateDelete

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

func (*MultiClusterServiceValidator) ValidateUpdate

func (v *MultiClusterServiceValidator) ValidateUpdate(ctx context.Context, _, 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 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
}

func (*ServiceTemplateChainValidator) Default

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

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