Directories ¶
Path | Synopsis |
---|---|
cidr
|
|
merge
Package merge provides helper functions for merging a list of IP addresses and subnets into the smallest possible list of CIDRs.
|
Package merge provides helper functions for merging a list of IP addresses and subnets into the smallest possible list of CIDRs. |
cmd
|
|
compiler
|
|
wasm
Package wasm contains an IR->WASM compiler backend.
|
Package wasm contains an IR->WASM compiler backend. |
wasm/opa
Package opa contains bytecode for the OPA-WASM library.
|
Package opa contains bytecode for the OPA-WASM library. |
Package config implements helper functions to parse OPA's configuration.
|
Package config implements helper functions to parse OPA's configuration. |
file
|
|
url
Package url contains helpers for dealing with file paths and URLs.
|
Package url contains helpers for dealing with file paths and URLs. |
nolint: goconst // String duplication will be handled later by using errors.Is.
|
nolint: goconst // String duplication will be handled later by using errors.Is. |
Package ir defines an intermediate representation (IR) for Rego.
|
Package ir defines an intermediate representation (IR) for Rego. |
json
|
|
jwx
|
|
buffer
Package buffer provides a very thin wrapper around []byte buffer called `Buffer`, to provide functionalities that are often used within the jwx related packages
|
Package buffer provides a very thin wrapper around []byte buffer called `Buffer`, to provide functionalities that are often used within the jwx related packages |
jwk
Package jwk implements JWK as described in https://tools.ietf.org/html/rfc7517
|
Package jwk implements JWK as described in https://tools.ietf.org/html/rfc7517 |
jws
Package jws implements the digital Signature on JSON based data structures as described in https://tools.ietf.org/html/rfc7515 If you do not care about the details, the only things that you would need to use are the following functions: jws.SignWithOption(Payload, algorithm, key) jws.Verify(encodedjws, algorithm, key) To sign, simply use `jws.SignWithOption`.
|
Package jws implements the digital Signature on JSON based data structures as described in https://tools.ietf.org/html/rfc7515 If you do not care about the details, the only things that you would need to use are the following functions: jws.SignWithOption(Payload, algorithm, key) jws.Verify(encodedjws, algorithm, key) To sign, simply use `jws.SignWithOption`. |
Package leb128 implements LEB128 integer encoding.
|
Package leb128 implements LEB128 integer encoding. |
Package merge contains helpers to merge data structures frequently encountered in OPA.
|
Package merge contains helpers to merge data structures frequently encountered in OPA. |
Package planner contains a query planner for Rego queries.
|
Package planner contains a query planner for Rego queries. |
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. |
Package ref implements internal helpers for references
|
Package ref implements internal helpers for references |
rego
|
|
Package report provides functions to report OPA's version information to an external service and process the response.
|
Package report provides functions to report OPA's version information to an external service and process the response. |
Package runtime contains utilities to return runtime information on the OPA instance.
|
Package runtime contains utilities to return runtime information on the OPA instance. |
init
Package init is an internal package with helpers for data and policy loading during initialization.
|
Package init is an internal package with helpers for data and policy loading during initialization. |
Package semver has been vendored from: https://github.com/coreos/go-semver/tree/e214231b295a8ea9479f11b70b35d5acf3556d9b/semver A number of the original functions of the package have been removed since they are not required for our built-ins.
|
Package semver has been vendored from: https://github.com/coreos/go-semver/tree/e214231b295a8ea9479f11b70b35d5acf3556d9b/semver A number of the original functions of the package have been removed since they are not required for our built-ins. |
storage
|
|
mock
Package mock defines a fake storage implementation for use in testing.
|
Package mock defines a fake storage implementation for use in testing. |
Package strings contains helpers to perform string manipulation
|
Package strings contains helpers to perform string manipulation |
Package strvals provides tools for working with strval lines.
|
Package strvals provides tools for working with strval lines. |
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. |
encoding
Package encoding implements WASM module reading and writing.
|
Package encoding implements WASM module reading and writing. |
instruction
Package instruction defines WASM instruction types.
|
Package instruction defines WASM instruction types. |
opcode
Package opcode contains constants and utilities for working with WASM opcodes.
|
Package opcode contains constants and utilities for working with WASM opcodes. |
types
Package types defines the WASM value type constants.
|
Package types defines the WASM value type constants. |
Click to show internal directories.
Click to hide internal directories.