package
0.8.1
Repository: https://github.com/vrnmthr/opa.git
Documentation: pkg.go.dev

# Functions

Compiler returns an argument that sets the Rego compiler.
Imports returns an argument that adds a Rego import to the query's context.
Input returns an argument that sets the Rego input document.
Instrument returns an argument that enables instrumentation for diagnosing performance issues.
Metrics returns an argument that sets the metrics collection.
Module returns an argument that adds a Rego module.
New returns a new Rego object.
Package returns an argument that sets the Rego package on the query's context.
ParsedImports returns an argument that adds Rego imports to the query's context.
ParsedInput returns an argument that set sthe Rego input document.
ParsedPackage returns an argument that sets the Rego package on the query's context.
ParsedQuery returns an argument that sets the Rego query.
PartialNamespace returns an argument that sets the namespace to use for partial evaluation results.
Query returns an argument that sets the Rego query.
Store returns an argument that sets the policy engine's data storage layer.
Tracer returns an argument that sets the topdown Tracer.
Transaction returns an argument that sets the transaction to use for storage layer operations.
Unknowns returns an argument that sets the values to treat as unknown during partial evaluation.

# Structs

ExpressionValue defines the value of an expression in a Rego query.
Location defines a position in a Rego query or module.
PartialResult represents the result of partial evaluation.
Rego constructs a query and can be evaluated to obtain results.
Result defines the output of Rego evaluation.

# Type aliases

Errors represents a collection of errors returned when evaluating Rego.
ResultSet represents a collection of output from Rego evaluation.
Vars represents a collection of variable bindings.