schema

package
v0.6.5-8-gcfcd31f Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchemaVersionV0_5   = "0.5"
	SchemaVersionLatest = SchemaVersionV0_5
)

Variables

View Source
var Schema string

Schema is the kraft-spec JSON schema

Functions

func Validate

func Validate(config map[string]interface{}) error

Validate uses the jsonschema to validate the configuration

Types

type SchemaVersion added in v0.6.4

type SchemaVersion string

Jump to

Keyboard shortcuts

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