Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
Package ast declares Rego syntax tree types and also includes a parser and compiler for preparing policies for execution in the policy engine.
|
Package ast declares Rego syntax tree types and also includes a parser and compiler for preparing policies for execution in the policy engine. |
Package bundle implements bundle loading.
|
Package bundle implements bundle loading. |
Package cmd contains the entry points for OPA commands.
|
Package cmd contains the entry points for OPA commands. |
Package config implements OPA configuration file parsing and validation.
|
Package config implements OPA configuration file parsing and validation. |
Package cover reports coverage on modules.
|
Package cover reports coverage on modules. |
Package dependencies provides functions for determining the set of ast.Refs that AST elements depend on.
|
Package dependencies provides functions for determining the set of ast.Refs that AST elements depend on. |
Package download implements low-level OPA bundle downloading.
|
Package download implements low-level OPA bundle downloading. |
Package format implements formatting of Rego source files.
|
Package format implements formatting of Rego source files. |
internal
|
|
compiler/wasm
Package wasm contains an IR->WASM compiler backend.
|
Package wasm contains an IR->WASM compiler backend. |
compiler/wasm/opa
Package opa contains bytecode for the OPA-WASM library.
|
Package opa contains bytecode for the OPA-WASM library. |
ir
Package ir defines an intermediate representation (IR) for Rego.
|
Package ir defines an intermediate representation (IR) for Rego. |
leb128
Package leb128 implements LEB128 integer encoding.
|
Package leb128 implements LEB128 integer encoding. |
manifest
Package manifest implements helper functions for the stored manifest.
|
Package manifest implements helper functions for the stored manifest. |
planner
Package planner contains a query planner for Rego queries.
|
Package planner contains a query planner for Rego queries. |
presentation
Package presentation prints results of an expression evaluation in json and tabular formats.
|
Package presentation prints results of an expression evaluation in json and tabular formats. |
runtime
Package runtime contains utilities to return runtime information on the OPA instance.
|
Package runtime contains utilities to return runtime information on the OPA instance. |
storage/mock
Package mock defines a fake storage implementation for use in testing.
|
Package mock defines a fake storage implementation for use in testing. |
strvals
Package strvals provides tools for working with strval lines.
|
Package strvals provides tools for working with strval lines. |
version
Package version implements helper functions for the stored version.
|
Package version implements helper functions for the stored version. |
wasm/constant
Package constant contains WASM constant definitions.
|
Package constant contains WASM constant definitions. |
wasm/encoding
Package encoding implements WASM module reading and writing.
|
Package encoding implements WASM module reading and writing. |
wasm/instruction
Package instruction defines WASM instruction types.
|
Package instruction defines WASM instruction types. |
wasm/opcode
Package opcode contains constants and utilities for working with WASM opcodes.
|
Package opcode contains constants and utilities for working with WASM opcodes. |
wasm/types
Package types defines the WASM value type constants.
|
Package types defines the WASM value type constants. |
Package loader contains utilities for loading files into OPA.
|
Package loader contains utilities for loading files into OPA. |
Package metrics contains helpers for performance metric management inside the policy engine.
|
Package metrics contains helpers for performance metric management inside the policy engine. |
Package plugins implements plugin management for the policy engine.
|
Package plugins implements plugin management for the policy engine. |
bundle
Package bundle implements bundle downloading.
|
Package bundle implements bundle downloading. |
discovery
Package discovery implements configuration discovery.
|
Package discovery implements configuration discovery. |
logs
Package logs implements decision log buffering and uploading.
|
Package logs implements decision log buffering and uploading. |
rest
Package rest implements a REST client for communicating with remote services.
|
Package rest implements a REST client for communicating with remote services. |
status
Package status implements status reporting.
|
Package status implements status reporting. |
Package profiler computes and reports on the time spent on expressions.
|
Package profiler computes and reports on the time spent on expressions. |
Package rego exposes high level APIs for evaluating Rego policies.
|
Package rego exposes high level APIs for evaluating Rego policies. |
Package repl implements a Read-Eval-Print-Loop (REPL) for interacting with the policy engine.
|
Package repl implements a Read-Eval-Print-Loop (REPL) for interacting with the policy engine. |
Package runtime contains the entry point to the policy engine.
|
Package runtime contains the entry point to the policy engine. |
Package server contains the policy engine's server handlers.
|
Package server contains the policy engine's server handlers. |
authorizer
Package authorizer provides authorization handlers to the server.
|
Package authorizer provides authorization handlers to the server. |
identifier
Package identifier provides handlers for associating an identity with incoming requests.
|
Package identifier provides handlers for associating an identity with incoming requests. |
types
Package types contains request/response types and codes for the server.
|
Package types contains request/response types and codes for the server. |
writer
Package writer contains utilities for writing responses in the server.
|
Package writer contains utilities for writing responses in the server. |
Package storage exposes the policy engine's storage layer.
|
Package storage exposes the policy engine's storage layer. |
inmem
Package inmem implements an in-memory version of the policy engine's storage layer.
|
Package inmem implements an in-memory version of the policy engine's storage layer. |
test
|
|
Package tester contains utilities for executing Rego tests.
|
Package tester contains utilities for executing Rego tests. |
Package topdown provides low-level query evaluation support.
|
Package topdown provides low-level query evaluation support. |
builtins
Package builtins contains utilities for implementing built-in functions.
|
Package builtins contains utilities for implementing built-in functions. |
Package types declares data types for Rego values and helper functions to operate on these types.
|
Package types declares data types for Rego values and helper functions to operate on these types. |
Package util provides generic utilities used throughout the policy engine.
|
Package util provides generic utilities used throughout the policy engine. |
test
Package test contains utilities used in the policy engine's test suite.
|
Package test contains utilities used in the policy engine's test suite. |
Package version contains version information that is set at build time.
|
Package version contains version information that is set at build time. |
Package watch provides the ability to set a watch on a Rego query.
|
Package watch provides the ability to set a watch on a Rego query. |
Click to show internal directories.
Click to hide internal directories.