v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClusterWebhookWithManager

func SetupClusterWebhookWithManager(mgr ctrl.Manager) error

SetupClusterWebhookWithManager registers the webhook for Cluster in the manager.

func SetupInputWebhookWithManager

func SetupInputWebhookWithManager(mgr ctrl.Manager) error

SetupInputWebhookWithManager registers the webhook for Input in the manager.

func SetupOutputWebhookWithManager

func SetupOutputWebhookWithManager(mgr ctrl.Manager) error

SetupOutputWebhookWithManager registers the webhook for Output in the manager.

func SetupPipelineWebhookWithManager

func SetupPipelineWebhookWithManager(mgr ctrl.Manager) error

SetupPipelineWebhookWithManager registers the webhook for Pipeline in the manager.

func SetupProcessorWebhookWithManager

func SetupProcessorWebhookWithManager(mgr ctrl.Manager) error

SetupProcessorWebhookWithManager registers the webhook for Processor in the manager.

func SetupSubscriptionWebhookWithManager

func SetupSubscriptionWebhookWithManager(mgr ctrl.Manager) error

SetupSubscriptionWebhookWithManager registers the webhook for Subscription in the manager.

func SetupTargetProfileWebhookWithManager

func SetupTargetProfileWebhookWithManager(mgr ctrl.Manager) error

SetupTargetProfileWebhookWithManager registers the webhook for TargetProfile in the manager.

func SetupTargetSourceWebhookWithManager

func SetupTargetSourceWebhookWithManager(mgr ctrl.Manager) error

SetupTargetSourceWebhookWithManager registers the webhook for TargetSource in the manager.

func SetupTargetWebhookWithManager

func SetupTargetWebhookWithManager(mgr ctrl.Manager) error

SetupTargetWebhookWithManager registers the webhook for Target in the manager.

func SetupTunnelTargetPolicyWebhookWithManager

func SetupTunnelTargetPolicyWebhookWithManager(mgr ctrl.Manager) error

SetupTunnelTargetPolicyWebhookWithManager registers the webhook for TunnelTargetPolicy in the manager.

Types

type ClusterCustomDefaulter

type ClusterCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*ClusterCustomDefaulter) Default

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

type ClusterCustomValidator

type ClusterCustomValidator struct{}

ClusterCustomValidator struct is responsible for validating the Cluster resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*ClusterCustomValidator) ValidateCreate

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

func (*ClusterCustomValidator) ValidateDelete

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

func (*ClusterCustomValidator) ValidateUpdate

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

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

type InputCustomDefaulter

type InputCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*InputCustomDefaulter) Default

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

type InputCustomValidator

type InputCustomValidator struct {
}

InputCustomValidator struct is responsible for validating the Input resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*InputCustomValidator) ValidateCreate

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

func (*InputCustomValidator) ValidateDelete

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

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

func (*InputCustomValidator) ValidateUpdate

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

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

type OutputCustomDefaulter

type OutputCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*OutputCustomDefaulter) Default

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

type OutputCustomValidator

type OutputCustomValidator struct {
}

OutputCustomValidator struct is responsible for validating the Output resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*OutputCustomValidator) ValidateCreate

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

func (*OutputCustomValidator) ValidateDelete

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

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

func (*OutputCustomValidator) ValidateUpdate

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

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

type PipelineCustomDefaulter

type PipelineCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*PipelineCustomDefaulter) Default

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

type PipelineCustomValidator

type PipelineCustomValidator struct{}

PipelineCustomValidator struct is responsible for validating the Pipeline resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*PipelineCustomValidator) ValidateCreate

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

func (*PipelineCustomValidator) ValidateDelete

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

func (*PipelineCustomValidator) ValidateUpdate

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

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

type ProcessorCustomDefaulter

type ProcessorCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*ProcessorCustomDefaulter) Default

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

type ProcessorCustomValidator

type ProcessorCustomValidator struct {
}

ProcessorCustomValidator struct is responsible for validating the Processor resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*ProcessorCustomValidator) ValidateCreate

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

func (*ProcessorCustomValidator) ValidateDelete

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

func (*ProcessorCustomValidator) ValidateUpdate

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

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

type SubscriptionCustomDefaulter

type SubscriptionCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*SubscriptionCustomDefaulter) Default

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

type SubscriptionCustomValidator

type SubscriptionCustomValidator struct{}

SubscriptionCustomValidator struct is responsible for validating the Subscription resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*SubscriptionCustomValidator) ValidateCreate

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

func (*SubscriptionCustomValidator) ValidateDelete

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

func (*SubscriptionCustomValidator) ValidateUpdate

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

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

type TargetCustomDefaulter

type TargetCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*TargetCustomDefaulter) Default

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

type TargetCustomValidator

type TargetCustomValidator struct{}

TargetCustomValidator struct is responsible for validating the Target resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*TargetCustomValidator) ValidateCreate

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

func (*TargetCustomValidator) ValidateDelete

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

func (*TargetCustomValidator) ValidateUpdate

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

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

type TargetProfileCustomDefaulter

type TargetProfileCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*TargetProfileCustomDefaulter) Default

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

type TargetProfileCustomValidator

type TargetProfileCustomValidator struct {
}

TargetProfileCustomValidator struct is responsible for validating the TargetProfile resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*TargetProfileCustomValidator) ValidateCreate

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

func (*TargetProfileCustomValidator) ValidateDelete

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

func (*TargetProfileCustomValidator) ValidateUpdate

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

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

type TargetSourceCustomDefaulter

type TargetSourceCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*TargetSourceCustomDefaulter) Default

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

type TargetSourceCustomValidator

type TargetSourceCustomValidator struct {
}

TargetSourceCustomValidator struct is responsible for validating the TargetSource resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*TargetSourceCustomValidator) ValidateCreate

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

func (*TargetSourceCustomValidator) ValidateDelete

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

func (*TargetSourceCustomValidator) ValidateUpdate

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

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

type TunnelTargetPolicyCustomDefaulter

type TunnelTargetPolicyCustomDefaulter struct {
}

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

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*TunnelTargetPolicyCustomDefaulter) Default

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

type TunnelTargetPolicyCustomValidator

type TunnelTargetPolicyCustomValidator struct{}

TunnelTargetPolicyCustomValidator struct is responsible for validating the TunnelTargetPolicy resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*TunnelTargetPolicyCustomValidator) ValidateCreate

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

func (*TunnelTargetPolicyCustomValidator) ValidateDelete

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

func (*TunnelTargetPolicyCustomValidator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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