webhook

package
v0.43.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClickhouseWebhook

func SetupClickhouseWebhook(mgr ctrl.Manager) error

func SetupConnectionPoolWebhook

func SetupConnectionPoolWebhook(mgr ctrl.Manager) error

func SetupDatabaseWebhook

func SetupDatabaseWebhook(mgr ctrl.Manager) error

func SetupFlinkWebhook

func SetupFlinkWebhook(mgr ctrl.Manager) error

func SetupGrafanaWebhook

func SetupGrafanaWebhook(mgr ctrl.Manager) error

func SetupKafkaACLWebhook

func SetupKafkaACLWebhook(mgr ctrl.Manager) error

func SetupKafkaConnectWebhook

func SetupKafkaConnectWebhook(mgr ctrl.Manager) error

func SetupKafkaConnectorWebhook

func SetupKafkaConnectorWebhook(mgr ctrl.Manager) error

func SetupKafkaSchemaWebhook

func SetupKafkaSchemaWebhook(mgr ctrl.Manager) error

func SetupKafkaTopicWebhook

func SetupKafkaTopicWebhook(mgr ctrl.Manager) error

func SetupKafkaWebhook

func SetupKafkaWebhook(mgr ctrl.Manager) error

func SetupMySQLWebhook

func SetupMySQLWebhook(mgr ctrl.Manager) error

func SetupOpenSearchWebhook

func SetupOpenSearchWebhook(mgr ctrl.Manager) error

func SetupPostgreSQLWebhook

func SetupPostgreSQLWebhook(mgr ctrl.Manager) error

func SetupProjectWebhook

func SetupProjectWebhook(mgr ctrl.Manager) error

func SetupServiceIntegrationEndpointWebhook

func SetupServiceIntegrationEndpointWebhook(mgr ctrl.Manager) error

func SetupServiceIntegrationWebhook

func SetupServiceIntegrationWebhook(mgr ctrl.Manager) error

func SetupServiceUserWebhook

func SetupServiceUserWebhook(mgr ctrl.Manager) error

func SetupValkeyWebhook

func SetupValkeyWebhook(mgr ctrl.Manager) error

func SetupWebhooks

func SetupWebhooks(mgr ctrl.Manager) error

Types

type ClickhouseWebhook

type ClickhouseWebhook struct{}

func (*ClickhouseWebhook) Default

func (h *ClickhouseWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*ClickhouseWebhook) ValidateCreate

func (h *ClickhouseWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ClickhouseWebhook) ValidateDelete

func (h *ClickhouseWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ClickhouseWebhook) ValidateUpdate

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

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

type ConnectionPoolWebhook

type ConnectionPoolWebhook struct{}

func (*ConnectionPoolWebhook) Default

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

func (*ConnectionPoolWebhook) ValidateCreate

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

func (*ConnectionPoolWebhook) ValidateDelete

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

func (*ConnectionPoolWebhook) ValidateUpdate

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

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

type DatabaseWebhook

type DatabaseWebhook struct{}

func (*DatabaseWebhook) Default

func (h *DatabaseWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*DatabaseWebhook) ValidateCreate

func (h *DatabaseWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*DatabaseWebhook) ValidateDelete

func (h *DatabaseWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*DatabaseWebhook) ValidateUpdate

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

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

type FlinkWebhook

type FlinkWebhook struct{}

func (*FlinkWebhook) Default

func (h *FlinkWebhook) Default(_ context.Context, obj runtime.Object) error

func (*FlinkWebhook) ValidateCreate

func (h *FlinkWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*FlinkWebhook) ValidateDelete

func (h *FlinkWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*FlinkWebhook) ValidateUpdate

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

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

type GrafanaWebhook

type GrafanaWebhook struct{}

func (*GrafanaWebhook) Default

func (h *GrafanaWebhook) Default(_ context.Context, obj runtime.Object) error

func (*GrafanaWebhook) ValidateCreate

func (h *GrafanaWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*GrafanaWebhook) ValidateDelete

func (h *GrafanaWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*GrafanaWebhook) ValidateUpdate

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

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

type KafkaACLWebhook

type KafkaACLWebhook struct{}

func (*KafkaACLWebhook) Default

func (h *KafkaACLWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*KafkaACLWebhook) ValidateCreate

func (h *KafkaACLWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaACLWebhook) ValidateDelete

func (h *KafkaACLWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaACLWebhook) ValidateUpdate

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

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

type KafkaConnectWebhook

type KafkaConnectWebhook struct{}

func (*KafkaConnectWebhook) Default

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

func (*KafkaConnectWebhook) ValidateCreate

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

func (*KafkaConnectWebhook) ValidateDelete

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

func (*KafkaConnectWebhook) ValidateUpdate

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

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

type KafkaConnectorWebhook

type KafkaConnectorWebhook struct{}

func (*KafkaConnectorWebhook) Default

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

func (*KafkaConnectorWebhook) ValidateCreate

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

func (*KafkaConnectorWebhook) ValidateDelete

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

func (*KafkaConnectorWebhook) ValidateUpdate

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

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

type KafkaSchemaWebhook

type KafkaSchemaWebhook struct{}

func (*KafkaSchemaWebhook) Default

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

func (*KafkaSchemaWebhook) ValidateCreate

func (h *KafkaSchemaWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaSchemaWebhook) ValidateDelete

func (h *KafkaSchemaWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaSchemaWebhook) ValidateUpdate

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

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

type KafkaTopicWebhook

type KafkaTopicWebhook struct{}

func (*KafkaTopicWebhook) Default

func (h *KafkaTopicWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*KafkaTopicWebhook) ValidateCreate

func (h *KafkaTopicWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaTopicWebhook) ValidateDelete

func (h *KafkaTopicWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaTopicWebhook) ValidateUpdate

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

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

type KafkaWebhook

type KafkaWebhook struct{}

func (*KafkaWebhook) Default

func (h *KafkaWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*KafkaWebhook) ValidateCreate

func (h *KafkaWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaWebhook) ValidateDelete

func (h *KafkaWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*KafkaWebhook) ValidateUpdate

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

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

type MySQLWebhook

type MySQLWebhook struct{}

func (*MySQLWebhook) Default

func (h *MySQLWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*MySQLWebhook) ValidateCreate

func (h *MySQLWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*MySQLWebhook) ValidateDelete

func (h *MySQLWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*MySQLWebhook) ValidateUpdate

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

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

type OpenSearchWebhook

type OpenSearchWebhook struct{}

func (*OpenSearchWebhook) Default

func (h *OpenSearchWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*OpenSearchWebhook) ValidateCreate

func (h *OpenSearchWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*OpenSearchWebhook) ValidateDelete

func (h *OpenSearchWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*OpenSearchWebhook) ValidateUpdate

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

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

type PostgreSQLWebhook

type PostgreSQLWebhook struct{}

func (*PostgreSQLWebhook) Default

func (h *PostgreSQLWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*PostgreSQLWebhook) ValidateCreate

func (h *PostgreSQLWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*PostgreSQLWebhook) ValidateDelete

func (h *PostgreSQLWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*PostgreSQLWebhook) ValidateUpdate

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

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

type ProjectWebhook

type ProjectWebhook struct{}

func (*ProjectWebhook) Default

func (h *ProjectWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*ProjectWebhook) ValidateCreate

func (h *ProjectWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ProjectWebhook) ValidateDelete

func (h *ProjectWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ProjectWebhook) ValidateUpdate

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

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

type ServiceIntegrationEndpointWebhook

type ServiceIntegrationEndpointWebhook struct{}

func (*ServiceIntegrationEndpointWebhook) Default

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

func (*ServiceIntegrationEndpointWebhook) ValidateCreate

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

func (*ServiceIntegrationEndpointWebhook) ValidateDelete

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

func (*ServiceIntegrationEndpointWebhook) ValidateUpdate

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

type ServiceIntegrationWebhook

type ServiceIntegrationWebhook struct{}

func (*ServiceIntegrationWebhook) Default

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

func (*ServiceIntegrationWebhook) ValidateCreate

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

func (*ServiceIntegrationWebhook) ValidateDelete

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

func (*ServiceIntegrationWebhook) ValidateUpdate

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

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

type ServiceUserWebhook

type ServiceUserWebhook struct{}

func (*ServiceUserWebhook) Default

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

func (*ServiceUserWebhook) ValidateCreate

func (h *ServiceUserWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ServiceUserWebhook) ValidateDelete

func (h *ServiceUserWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ServiceUserWebhook) ValidateUpdate

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

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

type ValkeyWebhook

type ValkeyWebhook struct{}

func (*ValkeyWebhook) Default

func (h *ValkeyWebhook) Default(_ context.Context, obj runtime.Object) error

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

func (*ValkeyWebhook) ValidateCreate

func (h *ValkeyWebhook) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ValkeyWebhook) ValidateDelete

func (h *ValkeyWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

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

func (*ValkeyWebhook) ValidateUpdate

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

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

Jump to

Keyboard shortcuts

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