schema

package
v26.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 204

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(config map[string]any, version string) error

Validate uses the jsonschema to validate the configuration

func Version

func Version(config map[string]any) string

Version returns the version of the config, defaulting to the latest "3.x" version (3.12). If only the major version "3" is specified, it is used as version "3.x" and returns the default version (latest 3.x).

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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