validator

package
v1.108.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

func ValidateSimulatedNamespacedCloudProfileStatus added in v1.103.0

func ValidateSimulatedNamespacedCloudProfileStatus(originalParentCloudProfile *gardencorev1beta1.CloudProfile, originalNamespacedCloudProfile *gardencorev1beta1.NamespacedCloudProfile) field.ErrorList

ValidateSimulatedNamespacedCloudProfileStatus merges the parent CloudProfile and the created or updated NamespacedCloudProfile to generate and validate the NamespacedCloudProfile status.

Types

type ValidateNamespacedCloudProfile

type ValidateNamespacedCloudProfile struct {
	*admission.Handler
	// contains filtered or unexported fields
}

ValidateNamespacedCloudProfile contains listers and admission handler.

func New

New creates a new ValidateNamespacedCloudProfile admission plugin.

func (*ValidateNamespacedCloudProfile) AssignReadyFunc

func (v *ValidateNamespacedCloudProfile) AssignReadyFunc(f admission.ReadyFunc)

AssignReadyFunc assigns the ready function to the admission handler.

func (*ValidateNamespacedCloudProfile) SetCoreInformerFactory

SetCoreInformerFactory gets Lister from SharedInformerFactory.

func (*ValidateNamespacedCloudProfile) Validate

Validate validates the NamespacedCloudProfile.

func (*ValidateNamespacedCloudProfile) ValidateInitialization

func (v *ValidateNamespacedCloudProfile) ValidateInitialization() error

ValidateInitialization checks whether the plugin was correctly initialized.

Jump to

Keyboard shortcuts

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