Documentation ¶
Index ¶
- func Register(plugins *admission.Plugins)
- func ValidateSimulatedNamespacedCloudProfileStatus(originalParentCloudProfile *gardencorev1beta1.CloudProfile, ...) field.ErrorList
- type ValidateNamespacedCloudProfile
- func (v *ValidateNamespacedCloudProfile) AssignReadyFunc(f admission.ReadyFunc)
- func (v *ValidateNamespacedCloudProfile) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
- func (v *ValidateNamespacedCloudProfile) Validate(_ context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
- func (v *ValidateNamespacedCloudProfile) ValidateInitialization() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func New() (*ValidateNamespacedCloudProfile, error)
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 ¶
func (v *ValidateNamespacedCloudProfile) SetCoreInformerFactory(f gardencoreinformers.SharedInformerFactory)
SetCoreInformerFactory gets Lister from SharedInformerFactory.
func (*ValidateNamespacedCloudProfile) Validate ¶
func (v *ValidateNamespacedCloudProfile) Validate(_ context.Context, a admission.Attributes, _ admission.ObjectInterfaces) error
Validate validates the NamespacedCloudProfile.
func (*ValidateNamespacedCloudProfile) ValidateInitialization ¶
func (v *ValidateNamespacedCloudProfile) ValidateInitialization() error
ValidateInitialization checks whether the plugin was correctly initialized.
Click to show internal directories.
Click to hide internal directories.