Documentation
¶
Index ¶
- func SetupClusterWebhookWithManager(mgr ctrl.Manager) error
- func SetupInputWebhookWithManager(mgr ctrl.Manager) error
- func SetupOutputWebhookWithManager(mgr ctrl.Manager) error
- func SetupPipelineWebhookWithManager(mgr ctrl.Manager) error
- func SetupProcessorWebhookWithManager(mgr ctrl.Manager) error
- func SetupSubscriptionWebhookWithManager(mgr ctrl.Manager) error
- func SetupTargetProfileWebhookWithManager(mgr ctrl.Manager) error
- func SetupTargetSourceWebhookWithManager(mgr ctrl.Manager) error
- func SetupTargetWebhookWithManager(mgr ctrl.Manager) error
- func SetupTunnelTargetPolicyWebhookWithManager(mgr ctrl.Manager) error
- type ClusterCustomDefaulter
- type ClusterCustomValidator
- func (v *ClusterCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ClusterCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ClusterCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type InputCustomDefaulter
- type InputCustomValidator
- func (v *InputCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *InputCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *InputCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type OutputCustomDefaulter
- type OutputCustomValidator
- func (v *OutputCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *OutputCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *OutputCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type PipelineCustomDefaulter
- type PipelineCustomValidator
- func (v *PipelineCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *PipelineCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *PipelineCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type ProcessorCustomDefaulter
- type ProcessorCustomValidator
- func (v *ProcessorCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ProcessorCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ProcessorCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type SubscriptionCustomDefaulter
- type SubscriptionCustomValidator
- func (v *SubscriptionCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *SubscriptionCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *SubscriptionCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type TargetCustomDefaulter
- type TargetCustomValidator
- func (v *TargetCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TargetCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TargetCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type TargetProfileCustomDefaulter
- type TargetProfileCustomValidator
- func (v *TargetProfileCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TargetProfileCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TargetProfileCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type TargetSourceCustomDefaulter
- type TargetSourceCustomValidator
- func (v *TargetSourceCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TargetSourceCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TargetSourceCustomValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type TunnelTargetPolicyCustomDefaulter
- type TunnelTargetPolicyCustomValidator
- func (v *TunnelTargetPolicyCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TunnelTargetPolicyCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TunnelTargetPolicyCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupClusterWebhookWithManager ¶
SetupClusterWebhookWithManager registers the webhook for Cluster in the manager.
func SetupInputWebhookWithManager ¶
SetupInputWebhookWithManager registers the webhook for Input in the manager.
func SetupOutputWebhookWithManager ¶
SetupOutputWebhookWithManager registers the webhook for Output in the manager.
func SetupPipelineWebhookWithManager ¶
SetupPipelineWebhookWithManager registers the webhook for Pipeline in the manager.
func SetupProcessorWebhookWithManager ¶
SetupProcessorWebhookWithManager registers the webhook for Processor in the manager.
func SetupSubscriptionWebhookWithManager ¶
SetupSubscriptionWebhookWithManager registers the webhook for Subscription in the manager.
func SetupTargetProfileWebhookWithManager ¶
SetupTargetProfileWebhookWithManager registers the webhook for TargetProfile in the manager.
func SetupTargetSourceWebhookWithManager ¶
SetupTargetSourceWebhookWithManager registers the webhook for TargetSource in the manager.
func SetupTargetWebhookWithManager ¶
SetupTargetWebhookWithManager registers the webhook for Target in the manager.
func SetupTunnelTargetPolicyWebhookWithManager ¶
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.
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 ¶
func (v *ClusterCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type Cluster.
func (*ClusterCustomValidator) ValidateDelete ¶
func (v *ClusterCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *InputCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *OutputCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *PipelineCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type Pipeline.
func (*PipelineCustomValidator) ValidateDelete ¶
func (v *PipelineCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *ProcessorCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type Processor.
func (*ProcessorCustomValidator) ValidateDelete ¶
func (v *ProcessorCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *SubscriptionCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type Subscription.
func (*SubscriptionCustomValidator) ValidateDelete ¶
func (v *SubscriptionCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *TargetCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type Target.
func (*TargetCustomValidator) ValidateDelete ¶
func (v *TargetCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *TargetProfileCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type TargetProfile.
func (*TargetProfileCustomValidator) ValidateDelete ¶
func (v *TargetProfileCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *TargetSourceCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type TargetSource.
func (*TargetSourceCustomValidator) ValidateDelete ¶
func (v *TargetSourceCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
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.
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 ¶
func (v *TunnelTargetPolicyCustomValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type TunnelTargetPolicy.
func (*TunnelTargetPolicyCustomValidator) ValidateDelete ¶
func (v *TunnelTargetPolicyCustomValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type TunnelTargetPolicy.
func (*TunnelTargetPolicyCustomValidator) ValidateUpdate ¶
func (v *TunnelTargetPolicyCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type TunnelTargetPolicy.