apiresourceschema

package
v0.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PluginName = "tenancy.kcp.dev/APIResourceSchema"
)

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

func ValidateAPIResourceSchema

func ValidateAPIResourceSchema(s *apisv1alpha1.APIResourceSchema) field.ErrorList

ValidateAPIResourceSchema validates an APIResourceSchema.

func ValidateAPIResourceSchemaName

func ValidateAPIResourceSchemaName(name string, spec *apisv1alpha1.APIResourceSchemaSpec, path *field.Path) field.ErrorList

func ValidateAPIResourceSchemaSpec

func ValidateAPIResourceSchemaSpec(spec *apisv1alpha1.APIResourceSchemaSpec, fldPath *field.Path) field.ErrorList

func ValidateAPIResourceSchemaUpdate

func ValidateAPIResourceSchemaUpdate(s, old *apisv1alpha1.APIResourceSchema) field.ErrorList

ValidateAPIResourceSchemaUpdate validates an APIResourceSchema on update.

func ValidateAPIResourceVersion

func ValidateAPIResourceVersion(version *apisv1alpha1.APIResourceVersion, fldPath *field.Path) field.ErrorList

Types

This section is empty.

Jump to

Keyboard shortcuts

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