schemacontext

package
v0.0.0-...-4d002ed Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockNestingLevel

func BlockNestingLevel(ctx context.Context) (uint64, bool)

func DynamicBlocks

func DynamicBlocks(ctx context.Context) map[string]uint64

func FoundBlocks

func FoundBlocks(ctx context.Context) map[string]uint64

func HasUnknownSchema

func HasUnknownSchema(ctx context.Context) bool

HasUnknownSchema returns true if the schema being passed is not wholly known. This allows each validator to decide whether and how to validate the AST.

func WithBlockNestingLevel

func WithBlockNestingLevel(ctx context.Context, nestingLvl uint64) context.Context

func WithDynamicBlocks

func WithDynamicBlocks(ctx context.Context, dynamicBlocks map[string]uint64) context.Context

func WithFoundBlocks

func WithFoundBlocks(ctx context.Context, foundBlocks map[string]uint64) context.Context

func WithUnknownSchema

func WithUnknownSchema(ctx context.Context) context.Context

WithUnknownSchema attaches a flag indicating that the schema being passed is not wholly known.

Types

This section is empty.

Jump to

Keyboard shortcuts

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