bytes | Package bytes implements functions for the manipulation of byte slices. |
context | Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes. |
encoding/json | Package json implements encoding and decoding of JSON as defined in RFC 7159. |
errors | Package errors implements functions to manipulate errors. |
fmt | Package fmt implements formatted I/O with functions analogous to C's printf and scanf. |
github.com/open-policy-agent/opa/internal/compiler/wasm | Package wasm contains an IR->WASM compiler backend. |
github.com/open-policy-agent/opa/internal/debug | |
github.com/open-policy-agent/opa/internal/planner | Package planner contains a query planner for Rego queries. |
github.com/open-policy-agent/opa/internal/ref | Package ref implements internal helpers for references |
github.com/open-policy-agent/opa/internal/runtime/init | Package init is an internal package with helpers for data and policy loading during initialization. |
github.com/open-policy-agent/opa/internal/wasm/encoding | Package encoding implements WASM module reading and writing. |
github.com/open-policy-agent/opa/v1/ast | Package ast declares Rego syntax tree types and also includes a parser and compiler for preparing policies for execution in the policy engine. |
github.com/open-policy-agent/opa/v1/bundle | Package bundle implements bundle loading. |
github.com/open-policy-agent/opa/v1/ir | Package ir defines an intermediate representation (IR) for Rego. |
github.com/open-policy-agent/opa/v1/loader | Package loader contains utilities for loading files into OPA. |
github.com/open-policy-agent/opa/v1/rego | Package rego exposes high level APIs for evaluating Rego policies. |
github.com/open-policy-agent/opa/v1/storage | Package storage exposes the policy engine's storage layer. |
github.com/open-policy-agent/opa/v1/storage/inmem | Package inmem implements an in-memory version of the policy engine's storage layer. |
io | Package io provides basic interfaces to I/O primitives. |
io/fs | Package fs defines basic interfaces to a file system. |
path/filepath | Package filepath implements utility routines for manipulating filename paths in a way compatible with the target operating system-defined file paths. |
regexp | Package regexp implements regular expression search. |
sort | Package sort provides primitives for sorting slices and user-defined collections. |
strings | Package strings implements simple functions to manipulate UTF-8 encoded strings. |