jsonschema

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyFile = errors.New("empty file")
)

Functions

func ValidatePolicy

func ValidatePolicy(fsys fs.FS, path string) error

ValidatePolicy validates the policy in the fsys with the JSON schema.

func ValidateTest

func ValidateTest(fsys fs.FS, path string) error

ValidateTest validates the test in the fsys with the JSON schema.

Types

This section is empty.

Jump to

Keyboard shortcuts

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