jsonschema

package
v0.55.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndentLevel                  = 2
	DocumentationCommentStart    = "<!-- START CONFIG YAML: AUTOMATICALLY GENERATED with `go generate ./..., DO NOT UPDATE MANUALLY -->\n"
	DocumentationCommentEnd      = "<!-- END CONFIG YAML -->"
	DocumentationCommentStartLen = len(DocumentationCommentStart)
)

Variables

This section is empty.

Functions

func GenerateConfigDocs added in v0.43.0

func GenerateConfigDocs(schema *jsonschema.Schema)

func GenerateSchema

func GenerateSchema() *jsonschema.Schema

func GetSchemaDir

func GetSchemaDir() string

Types

type Node added in v0.43.0

type Node struct {
	Name        string
	Description string
	Default     any
	Children    []*Node
}

func (*Node) MarshalYAML added in v0.43.0

func (n *Node) MarshalYAML() (interface{}, error)

Jump to

Keyboard shortcuts

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