schema

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LintConfig added in v0.9.0

func LintConfig(r io.Reader) error

LintConfig is for linting a config against the schema

func LintGroup added in v0.10.0

func LintGroup(r io.Reader) error

LintGroup is for linting a group against the schema

func LintRecipe added in v0.9.0

func LintRecipe(r io.Reader) error

LintRecipe is for linting a recipe against the schema

func Unmarshal

func Unmarshal(in []byte, out any) error

Unmarshal YAML to map[string]any instead of map[any]any.

Types

type ResultErrors

type ResultErrors []gojsonschema.ResultError

ResultErrors is a slice of gojsonschema.ResultError that implements error

func (ResultErrors) Error

func (r ResultErrors) Error() string

Error implements error

Jump to

Keyboard shortcuts

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