Documentation ¶
Index ¶
- func AddPreserveUnknownFields(sch *apiextensionsv1.JSONSchemaProps) error
- func CRDSchema(sch *runtime.Scheme, version string) (*schema.Structural, error)
- func VersionedIncompleteSchema() *apiextensionsv1.JSONSchemaProps
- func VersionlessSchema() *apiextensions.JSONSchemaProps
- func VersionlessSchemaWithXPreserve() *apiextensions.JSONSchemaProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPreserveUnknownFields ¶
func AddPreserveUnknownFields(sch *apiextensionsv1.JSONSchemaProps) error
AddPreserveUnknownFields recurses through an *apiextensionsv1.JSONSchemaProps data structure, adding `x-kubernetes-preserve-unknown-fields: true` at every level that type is equal to "object", "array", or is undefined.
func VersionedIncompleteSchema ¶
func VersionedIncompleteSchema() *apiextensionsv1.JSONSchemaProps
func VersionlessSchema ¶
func VersionlessSchema() *apiextensions.JSONSchemaProps
func VersionlessSchemaWithXPreserve ¶
func VersionlessSchemaWithXPreserve() *apiextensions.JSONSchemaProps
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.