schema

package
v26.1.0+incompatible Latest Latest
Warning

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

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

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