validator

package
v0.7.54 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrValidateCode = ""
)

Functions

func GetSchemaFor

func GetSchemaFor(resourceName string) (cue.Value, error)

func Validate

func Validate(schema cue.Value, resourceValue interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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