v1beta1

package
v0.0.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWorkloadServiceAccountWebhookWithManager

func SetupWorkloadServiceAccountWebhookWithManager(mgr ctrl.Manager) error

SetupWorkloadServiceAccountWebhookWithManager registers the webhook for WorkloadServiceAccount in the manager.

Types

type WorkloadServiceAccountCustomValidator

type WorkloadServiceAccountCustomValidator struct {
}

WorkloadServiceAccountCustomValidator struct is responsible for validating the WorkloadServiceAccount resource when it is created.

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 (*WorkloadServiceAccountCustomValidator) ValidateCreate

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

func (*WorkloadServiceAccountCustomValidator) ValidateDelete

ValidateDelete implements webhook.CustomValidator but is not used since webhook only handles create operations.

func (*WorkloadServiceAccountCustomValidator) ValidateUpdate

ValidateUpdate implements webhook.CustomValidator but is not used since webhook only handles create operations.

Jump to

Keyboard shortcuts

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