runtime

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnknownRuleSchema = errors.New("unknown rule schema")

Functions

This section is empty.

Types

type Validator

type Validator interface {
	CoerceRootConfig(raw map[string]any) error
	ValidateRootConfig(raw map[string]any) error
	ValidateRuleOptions(ruleCode string, raw any) error
	RuleSchema(ruleCode string) (map[string]any, error)
	HasRuleSchema(ruleCode string) bool
}

func DefaultValidator

func DefaultValidator() (Validator, error)

Jump to

Keyboard shortcuts

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