validator

package
v0.0.0-...-b2ec3be Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockLabelsLength

type BlockLabelsLength struct{}

func (BlockLabelsLength) Visit

func (v BlockLabelsLength) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type DeprecatedAttribute

type DeprecatedAttribute struct{}

func (DeprecatedAttribute) Visit

func (v DeprecatedAttribute) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type DeprecatedBlock

type DeprecatedBlock struct{}

func (DeprecatedBlock) Visit

func (v DeprecatedBlock) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type MaxBlocks

type MaxBlocks struct{}

func (MaxBlocks) Visit

func (v MaxBlocks) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type MinBlocks

type MinBlocks struct{}

func (MinBlocks) Visit

func (v MinBlocks) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type MissingRequiredAttribute

type MissingRequiredAttribute struct{}

func (MissingRequiredAttribute) Visit

func (v MissingRequiredAttribute) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type UnexpectedAttribute

type UnexpectedAttribute struct{}

func (UnexpectedAttribute) Visit

func (v UnexpectedAttribute) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type UnexpectedBlock

type UnexpectedBlock struct{}

func (UnexpectedBlock) Visit

func (v UnexpectedBlock) Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)

type Validator

type Validator interface {
	Visit(ctx context.Context, node hclsyntax.Node, nodeSchema schema.Schema) (context.Context, hcl.Diagnostics)
}

Jump to

Keyboard shortcuts

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