Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToOpenAPITypes ¶
func ConvertToOpenAPITypes(in *apiextensions.CustomResourceDefinition, out *spec.Schema) error
ConvertToOpenAPITypes is used to convert internal types to go-openapi types.
func ValidateCustomResource ¶
func ValidateCustomResource(customResource interface{}, validator *validate.SchemaValidator) error
ValidateCustomResource validates the Custom Resource against the schema in the CustomResourceDefinition. CustomResource is a JSON data structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.