opa command
Directories ΒΆ
Path | Synopsis |
---|---|
ast | Package ast declares Rego syntax tree types and also includes a parser and compiler for preparing policies for execution in the policy engine. |
ast/internal | |
ast/location | Package location defines locations in Rego source code. |
build | |
build/generate-cli-docs | |
build/generate-man | |
bundle | Package bundle implements bundle loading. |
capabilities | |
cmd | Package cmd contains the entry points for OPA commands. |
cmd/internal | |
compile | Package compile implements bundles compilation and linking. |
config | Package config implements OPA configuration file parsing and validation. |
cover | Package cover reports coverage on modules. |
dependencies | Package dependencies provides functions for determining the set of ast.Refs that AST elements depend on. |
download | Package download implements low-level OPA bundle downloading. |
features | |
features/tracing | |
features/wasm | Import this package to enable evaluation of rego code using the built-in wasm engine. |
format | Package format implements formatting of Rego source files. |
internal | |
keys | |
loader | Package loader contains utilities for loading files into OPA. |
logging | |
logging/test | |
metrics | Package metrics contains helpers for performance metric management inside the policy engine. |
plugins | Package plugins implements plugin management for the policy engine. |
plugins/bundle | Package bundle implements bundle loading. |
plugins/discovery | Package discovery implements configuration discovery. |
plugins/logs | Package logs implements decision log buffering and uploading. |
plugins/rest | Package rest implements a REST client for communicating with remote services. |
plugins/status | Package status implements status reporting. |
profiler | Package profiler computes and reports on the time spent on expressions. |
refactor | Package refactor implements different refactoring operations over Rego modules. |
rego | Package rego exposes high level APIs for evaluating Rego policies. |
repl | Package repl implements a Read-Eval-Print-Loop (REPL) for interacting with the policy engine. |
resolver | |
resolver/wasm | |
runtime | Package runtime contains the entry point to the policy engine. |
sdk | Package sdk contains a high-level API for embedding OPA inside of Go programs. |
sdk/test | |
server | Package server contains the policy engine's server handlers. |
server/authorizer | Package authorizer provides authorization handlers to the server. |
server/identifier | Package identifier provides handlers for associating an identity with incoming requests. |
server/types | Package types contains request/response types and codes for the server. |
server/writer | Package writer contains utilities for writing responses in the server. |
storage | Package storage exposes the policy engine's storage layer. |
storage/disk | Package disk provides disk-based implementation of the storage.Store interface. |
storage/inmem | Package inmem implements an in-memory version of the policy engine's storage layer. |
storage/internal | |
test | |
test/authz | Package authz contains unit and benchmark tests for authz use-cases The public (non-test) APIs are meant to be used as helpers for other tests to build off of. |
test/cases | Package cases contains utilities for evaluation test cases. |
test/e2e | |
test/e2e/authz | nolint: deadcode,unused // build tags confuse these linters |
test/e2e/certrefresh | |
test/e2e/concurrency | |
test/e2e/diagnostics | |
test/e2e/distributedtracing | |
test/e2e/h2c | |
test/e2e/logs | |
test/e2e/logs/console | |
test/e2e/metrics | |
test/e2e/oci | |
test/e2e/print | |
test/e2e/shutdown | |
test/e2e/tls | |
test/e2e/wasm | |
test/e2e/wasm/authz | nolint: deadcode,unused // build tags confuse these linters |
tester | Package tester contains utilities for executing Rego tests. |
test/scheduler | |
test/wasm | |
test/wasm/cmd | |
test/wasm/cmd/wasm-rego-testgen | |
topdown | Package topdown provides low-level query evaluation support. |
topdown/builtins | Package builtins contains utilities for implementing built-in functions. |
topdown/cache | Package cache defines the inter-query cache interface that can cache data across queries |
topdown/copypropagation | |
topdown/lineage | |
topdown/print | |
tracing | Package tracing enables dependency-injection at runtime. |
types | Package types declares data types for Rego values and helper functions to operate on these types. |
util | Package util provides generic utilities used throughout the policy engine. |
util/test | Package test contains utilities used in the policy engine's test suite. |
version | Package version contains version information that is set at build time. |
- Version
- v0.43.1
- Published
- Sep 7, 2022
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 1 second ago –
Tools for package owners.