schema

package
v23.0.0-beta.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 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]interface{}, version string) error

Validate uses the jsonschema to validate the configuration

func Version

func Version(config map[string]interface{}) string

Version returns the version of the config, defaulting to the latest "3.x" version (3.10). 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