v1alpha1

package
v1.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package v1alpha1 contains a set of WebHooks for the enginefeatures.everest.percona.com API group

Package v1alpha1 contains a set of WebHooks for the enginefeatures.everest.percona.com API group

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupSplitHorizonDNSConfigWebhookWithManager

func SetupSplitHorizonDNSConfigWebhookWithManager(mgr ctrl.Manager) error

SetupSplitHorizonDNSConfigWebhookWithManager registers the validation webhook for SplitHorizonDNSConfig in the manager.

Types

type SplitHorizonDNSConfigCustomValidator

type SplitHorizonDNSConfigCustomValidator struct {
	Client client.Client
}

SplitHorizonDNSConfigCustomValidator struct is responsible for validating the SplitHorizonDNSConfig 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 (*SplitHorizonDNSConfigCustomValidator) ValidateCreate

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

func (*SplitHorizonDNSConfigCustomValidator) ValidateDelete

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

func (*SplitHorizonDNSConfigCustomValidator) ValidateUpdate

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

type SplitHorizonDNSConfigDefaulter

type SplitHorizonDNSConfigDefaulter struct {
	Client client.Client
	Scheme *runtime.Scheme
}

SplitHorizonDNSConfigDefaulter struct is responsible for mutating the SplitHorizonDNSConfig resource.

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 (*SplitHorizonDNSConfigDefaulter) Default

Default implements a mutating webhook for SplitHorizonDNSConfig resources. The main goal of this func - copy certificate data (if provided) into secret (secretName) and reset certificate.

Jump to

Keyboard shortcuts

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