openapi

package
v2.21.10 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewValidatorForCRD

func NewValidatorForCRD(crd *apiextensionsv1.CustomResourceDefinition, version string) (*validate.SchemaValidator, error)

NewValidatorForCRD creates a new validator based on the supplied CRD.

func NewValidatorForObject

func NewValidatorForObject(obj runtime.Object) (*validate.SchemaValidator, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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