v1

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupDatabaseClaimWebhookWithManager

func SetupDatabaseClaimWebhookWithManager(mgr ctrl.Manager) error

SetupDatabaseClaimWebhookWithManager registers the webhook for DatabaseClaim in the manager.

func SetupDbRoleClaimWebhookWithManager

func SetupDbRoleClaimWebhookWithManager(mgr ctrl.Manager) error

SetupDbRoleClaimWebhookWithManager registers the webhook for DbRoleClaim in the manager.

Types

type DatabaseClaimCustomValidator

type DatabaseClaimCustomValidator struct{}

func (*DatabaseClaimCustomValidator) ValidateCreate

func (*DatabaseClaimCustomValidator) ValidateDelete

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

func (*DatabaseClaimCustomValidator) ValidateUpdate

func (v *DatabaseClaimCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

type DbRoleClaimCustomValidator

type DbRoleClaimCustomValidator struct{}

func (*DbRoleClaimCustomValidator) ValidateCreate

func (*DbRoleClaimCustomValidator) ValidateDelete

func (*DbRoleClaimCustomValidator) ValidateUpdate

func (v *DbRoleClaimCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

Jump to

Keyboard shortcuts

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