Skip to main content

Module schema

Module schema 

Source
Expand description

Utilities for managing CustomResourceDefinition schemas

Structs§

OptionalEnum
Recursively restructures JSON Schema objects so that the Option object is returned per k8s CRD schema expectations.
OptionalIntOrString
Recursively restructures JSON Schema objects so that the Option<T> object where T uses x-kubernetes-int-or-string is returned per k8s CRD schema expectations.
StructuralSchemaRewriter
schemars [Visitor] that rewrites a [Schema] to conform to Kubernetes’ “structural schema” rules