result

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeResult

type CodeResult struct {
	Code  []byte
	Diags []Diagnostic
}

type Diagnostic

type Diagnostic struct {
	Path    string
	Code    string
	Message string
	Level   Severity
}

type SchemaResult

type SchemaResult struct {
	Schema *schema.Schema
	Diags  []Diagnostic
}

func (*SchemaResult) PrettyDiags

func (result *SchemaResult) PrettyDiags() string

func (*SchemaResult) PrettySchema

func (result *SchemaResult) PrettySchema() string

type Severity

type Severity string
const (
	Warning Severity = "warning"
	Error   Severity = "error"
)

Jump to

Keyboard shortcuts

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