Help us shape the future of Go! Take the 2026 Go Developer Survey

validator

package
v1.98.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers a plugin.

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