webhooks

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package webhooks ...

Package webhooks ...

Package webhooks ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDataImportJobWebhookWithManager

func SetupDataImportJobWebhookWithManager(mgr manager.Manager) error

SetupDataImportJobWebhookWithManager sets up the webhook for DataImportJob.

func SetupDatabaseClusterWebhookWithManager

func SetupDatabaseClusterWebhookWithManager(mgr manager.Manager) error

SetupDatabaseClusterWebhookWithManager sets up the webhook with the manager.

Types

type DataImportJobDefaulter

type DataImportJobDefaulter struct {
	Client client.Client
}

DataImportJobDefaulter is a webhook that sets default values for DataImportJob resources.

func (*DataImportJobDefaulter) Default

Default implements a mutating webhook for DataImportJob resources.

type DatabaseClusterDefaulter

type DatabaseClusterDefaulter struct {
	// Client is the Kubernetes client used to interact with the cluster.
	Client client.Client
}

DatabaseClusterDefaulter is a webhook that sets default values for DatabaseCluster resources.

func (*DatabaseClusterDefaulter) Default

Default implements a mutating webhook for DatabaseCluster resources.

type DatabaseClusterValidator

type DatabaseClusterValidator struct {
	Client client.Client
}

DatabaseClusterValidator validates the DatabaseCluster resource.

func (*DatabaseClusterValidator) ValidateCreate

ValidateCreate validates the creation of a DatabaseCluster.

func (*DatabaseClusterValidator) ValidateDelete

ValidateDelete validates the deletion of a DatabaseCluster.

func (*DatabaseClusterValidator) ValidateUpdate

ValidateUpdate validates the update of a DatabaseCluster.

Jump to

Keyboard shortcuts

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