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

# Functions

ArrayIterationBenchmarkModule returns a module that iterates an array with `n` elements.
GenerateConcurrencyBenchmarkData returns a module and data; the module checks some input parameters against that data in a simple API authz scheme.
GenerateJSONBenchmarkData returns a map of `k` keys and `v` key/value pairs.
GenerateLargeJSONBenchmarkData returns a map of 100 keys and 100.000 key/value pairs.
GenerateVirtualDocsBenchmarkData generates a module and input; the numTotalRules and numHitRules create as many rules in the module to match/miss the returned input.
MakeTempFS creates a temporary directory structure for test purposes rooted at root.
ObjectIterationBenchmarkModule returns a module that iterates an object with `n` key/val pairs.
PartialObjectBenchmarkCrossModule returns a module with n "bench_test_" prefixed rules that each refer to another "cond_bench_" prefixed rule.
SetIterationBenchmarkModule returns a module that iterates a set with `n` elements.
Skip will skip this test on pull request CI runs.
WithTempFS creates a temporary directory structure and invokes f with the root directory path.
WithTestFS creates a temporary file system of `files` in memory if `inMemoryFS` is true and invokes `f“ with that filesystem.

# Type aliases