apiresourceschema

package
v0.6.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 19 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 ValidateAPIResourceSchemaGroup

func ValidateAPIResourceSchemaGroup(group string, annotations map[string]string) field.ErrorList

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