Documentation
¶
Overview ¶
Package webhooks ...
Package webhooks ...
Package webhooks ...
Index ¶
- func SetupDataImportJobWebhookWithManager(mgr manager.Manager) error
- func SetupDatabaseClusterWebhookWithManager(mgr manager.Manager) error
- type DataImportJobDefaulter
- type DatabaseClusterDefaulter
- type DatabaseClusterValidator
- func (v *DatabaseClusterValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *DatabaseClusterValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (v *DatabaseClusterValidator) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupDataImportJobWebhookWithManager ¶
SetupDataImportJobWebhookWithManager sets up the webhook for DataImportJob.
func SetupDatabaseClusterWebhookWithManager ¶
SetupDatabaseClusterWebhookWithManager sets up the webhook with the manager.
Types ¶
type DataImportJobDefaulter ¶
DataImportJobDefaulter is a webhook that sets default values 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.
type DatabaseClusterValidator ¶
DatabaseClusterValidator validates the DatabaseCluster resource.
func (*DatabaseClusterValidator) ValidateCreate ¶
func (v *DatabaseClusterValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate validates the creation of a DatabaseCluster.
func (*DatabaseClusterValidator) ValidateDelete ¶
func (v *DatabaseClusterValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete validates the deletion of a DatabaseCluster.
func (*DatabaseClusterValidator) ValidateUpdate ¶
func (v *DatabaseClusterValidator) ValidateUpdate(_ context.Context, _, _ runtime.Object) (admission.Warnings, error)
ValidateUpdate validates the update of a DatabaseCluster.
Click to show internal directories.
Click to hide internal directories.