project

package
v0.0.0-...-1d80bfb Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator struct {
	Client client.Client
	// contains filtered or unexported fields
}

func NewValidator

func NewValidator(client client.Client, decoder *admission.Decoder) *Validator

func (*Validator) Handle

func (*Validator) ValidateCreate

func (r *Validator) ValidateCreate(project *tenantv1.Project) error

func (*Validator) ValidateDelete

func (r *Validator) ValidateDelete(project *tenantv1.Project) error

func (*Validator) ValidateUpdate

func (r *Validator) ValidateUpdate(_ *tenantv1.Project, currentProject *tenantv1.Project) error

Jump to

Keyboard shortcuts

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