v1alpha1

package
v2.2.13 Latest Latest
Warning

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

Go to latest
Published: May 15, 2026 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexClusterInstances

func IndexClusterInstances(obj client.Object) []string

IndexClusterInstances returns the list of Cluster instances that reference the ClusterTemplate

Types

type ClusterTemplateCustomValidator

type ClusterTemplateCustomValidator struct {
	client.Client
}

func (*ClusterTemplateCustomValidator) SetupClusterTemplateWebhookWithManager

func (v *ClusterTemplateCustomValidator) SetupClusterTemplateWebhookWithManager(mgr ctrl.Manager) error

SetupClusterTemplateWebhookWithManager registers the webhook for ClusterTemplate in the manager.

func (*ClusterTemplateCustomValidator) ValidateCreate

ValidateCreate validates a cluster template creation request

func (*ClusterTemplateCustomValidator) ValidateDelete

ValidateDelete validates ClusterTemplate deletion request by checking if the template is in use

func (*ClusterTemplateCustomValidator) ValidateUpdate

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

ValidateUpdate validates modifications to ClusterTemplate

Jump to

Keyboard shortcuts

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