Documentation ¶
Index ¶
- Constants
- func Register(plugins *admission.Plugins)
- func ValidateAPIResourceSchema(s *apisv1alpha1.APIResourceSchema) field.ErrorList
- func ValidateAPIResourceSchemaName(name string, spec *apisv1alpha1.APIResourceSchemaSpec, path *field.Path) field.ErrorList
- func ValidateAPIResourceSchemaSpec(spec *apisv1alpha1.APIResourceSchemaSpec, fldPath *field.Path) field.ErrorList
- func ValidateAPIResourceSchemaUpdate(s, old *apisv1alpha1.APIResourceSchema) field.ErrorList
- func ValidateAPIResourceVersion(version *apisv1alpha1.APIResourceVersion, fldPath *field.Path) field.ErrorList
Constants ¶
View Source
const (
PluginName = "tenancy.kcp.dev/APIResourceSchema"
)
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.