validation

package
v0.0.0-...-4eadfbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2017 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL