assert

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(ctx context.Context, path *field.Path, assertion Assertion, value any, bindings binding.Bindings, opts ...template.Option) (field.ErrorList, error)

func NewContextBinding

func NewContextBinding(path *field.Path, bindings binding.Bindings, value any, entry any) binding.Binding

Types

type Assertion

type Assertion interface {
	// contains filtered or unexported methods
}

func Parse

func Parse(ctx context.Context, assertion any) Assertion

Jump to

Keyboard shortcuts

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