Help us shape the future of Go! Take the 2026 Go Developer Survey

resolver

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Ref     ast.Ref
	Input   *ast.Term
	Metrics metrics.Metrics
}

Input as provided to a Resolver instance when evaluating.

type Resolver

type Resolver interface {
	Eval(context.Context, Input) (Result, error)
}

Resolver defines an external value resolver for OPA evaluations.

type Result

type Result struct {
	Value ast.Value
}

Result of resolving a ref.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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