Documentation ¶
Index ¶
- func HasSchemaWith(spec *apiextensions.CustomResourceDefinitionSpec, ...) bool
- func SchemaHas(s *apiextensions.JSONSchemaProps, ...) bool
- 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) 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 HasSchemaWith ¶ added in v0.23.0
func HasSchemaWith(spec *apiextensions.CustomResourceDefinitionSpec, pred func(s *apiextensions.JSONSchemaProps) bool) bool
func SchemaHas ¶ added in v0.23.0
func SchemaHas(s *apiextensions.JSONSchemaProps, pred func(s *apiextensions.JSONSchemaProps) bool) bool
func SchemaHasInvalidTypes ¶ added in v0.16.4
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) 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) field.ErrorList
ValidateCustomResourceDefinitionUpdate statically validates
func ValidateUpdateCustomResourceDefinitionStatus ¶
func ValidateUpdateCustomResourceDefinitionStatus(obj, oldObj *apiextensions.CustomResourceDefinition) field.ErrorList
ValidateUpdateCustomResourceDefinitionStatus statically validates
Types ¶
This section is empty.