package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Functions

New returns a new compiler instance that can be invoked.

# Constants

TargetPlan is an altertive target that compiles the policy into an imperative query plan that can be further transpiled or interpreted.
TargetRego is the default target.
TargetWasm is an alternative target that compiles the policy into a wasm module instead of Rego.

# Variables

Targets contains the list of targets supported by the compiler.

# Structs

Compiler implements bundle compilation and linking.