Documentation ¶
Index ¶
- func SchemaHasInvalidTypes(s *apiextensions.JSONSchemaProps) bool
- func ValidateCustomResourceColumnDefinition(col *apiextensions.CustomResourceColumnDefinition, fldPath *field.Path) field.ErrorList
- func ValidateCustomResourceConversion(conversion *apiextensions.CustomResourceConversion, fldPath *field.Path) field.ErrorList
- func ValidateCustomResourceDefinition(obj *apiextensions.CustomResourceDefinition, requestGV schema.GroupVersion) field.ErrorList
- func ValidateCustomResourceDefinitionNames(names *apiextensions.CustomResourceDefinitionNames, fldPath *field.Path) field.ErrorList
- func ValidateCustomResourceDefinitionOpenAPISchema(schema *apiextensions.JSONSchemaProps, fldPath *field.Path, ...) field.ErrorList
- func ValidateCustomResourceDefinitionStatus(status *apiextensions.CustomResourceDefinitionStatus, fldPath *field.Path) field.ErrorList
- func ValidateCustomResourceDefinitionStoredVersions(storedVersions []string, ...) field.ErrorList
- func ValidateCustomResourceDefinitionSubresources(subresources *apiextensions.CustomResourceSubresources, fldPath *field.Path) field.ErrorList
- func ValidateCustomResourceDefinitionUpdate(obj, oldObj *apiextensions.CustomResourceDefinition, ...) field.ErrorList
- func ValidateUpdateCustomResourceDefinitionStatus(obj, oldObj *apiextensions.CustomResourceDefinition) field.ErrorList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SchemaHasInvalidTypes ¶
func SchemaHasInvalidTypes(s *apiextensions.JSONSchemaProps) bool
SchemaHasInvalidTypes returns true if it contains invalid offending openapi-v3 specification.
func ValidateCustomResourceColumnDefinition ¶
func ValidateCustomResourceColumnDefinition(col *apiextensions.CustomResourceColumnDefinition, fldPath *field.Path) field.ErrorList
ValidateCustomResourceColumnDefinition statically validates a printer column.
func ValidateCustomResourceConversion ¶
func ValidateCustomResourceConversion(conversion *apiextensions.CustomResourceConversion, fldPath *field.Path) field.ErrorList
ValidateCustomResourceConversion statically validates
func ValidateCustomResourceDefinition ¶
func ValidateCustomResourceDefinition(obj *apiextensions.CustomResourceDefinition, requestGV schema.GroupVersion) field.ErrorList
ValidateCustomResourceDefinition statically validates
func ValidateCustomResourceDefinitionNames ¶
func ValidateCustomResourceDefinitionNames(names *apiextensions.CustomResourceDefinitionNames, fldPath *field.Path) field.ErrorList
ValidateCustomResourceDefinitionNames statically validates
func ValidateCustomResourceDefinitionOpenAPISchema ¶
func ValidateCustomResourceDefinitionOpenAPISchema(schema *apiextensions.JSONSchemaProps, fldPath *field.Path, ssv specStandardValidator, isRoot bool, opts *validationOptions) field.ErrorList
ValidateCustomResourceDefinitionOpenAPISchema statically validates
func ValidateCustomResourceDefinitionStatus ¶
func ValidateCustomResourceDefinitionStatus(status *apiextensions.CustomResourceDefinitionStatus, fldPath *field.Path) field.ErrorList
ValidateCustomResourceDefinitionStatus statically validates
func ValidateCustomResourceDefinitionStoredVersions ¶
func ValidateCustomResourceDefinitionStoredVersions(storedVersions []string, versions []apiextensions.CustomResourceDefinitionVersion, fldPath *field.Path) field.ErrorList
ValidateCustomResourceDefinitionStoredVersions statically validates
func ValidateCustomResourceDefinitionSubresources ¶
func ValidateCustomResourceDefinitionSubresources(subresources *apiextensions.CustomResourceSubresources, fldPath *field.Path) field.ErrorList
ValidateCustomResourceDefinitionSubresources statically validates
func ValidateCustomResourceDefinitionUpdate ¶
func ValidateCustomResourceDefinitionUpdate(obj, oldObj *apiextensions.CustomResourceDefinition, requestGV schema.GroupVersion) field.ErrorList
ValidateCustomResourceDefinitionUpdate statically validates
func ValidateUpdateCustomResourceDefinitionStatus ¶
func ValidateUpdateCustomResourceDefinitionStatus(obj, oldObj *apiextensions.CustomResourceDefinition) field.ErrorList
ValidateUpdateCustomResourceDefinitionStatus statically validates
Types ¶
This section is empty.