validator

package
v0.0.0-...-ea5e56e Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ValidatorName is a common name for a validation webhook.
	ValidatorName = "validator"
	// ValidatorPath is a common path for a validation webhook.
	ValidatorPath = "/webhooks/validate"
)

Variables

This section is empty.

Functions

func New

New creates a new webhook that validates Shoot resources.

func NewProjects

func NewProjects(client *dynamic.DynamicClient)

func NewShootValidator

func NewShootValidator(mgr manager.Manager) extensionswebhook.Validator

NewShootValidator returns a new instance of a shoot validator.

Types

type Projects

type Projects struct {
	// contains filtered or unexported fields
}
var ProjectsInstance *Projects

func (*Projects) GetProject

func (p *Projects) GetProject(namespace string) *v1beta1.Project

func (*Projects) StartProjectWatch

func (p *Projects) StartProjectWatch()

Jump to

Keyboard shortcuts

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