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

# Packages

# Functions

NewAPIServerTestParams creates a new set of runtime.Params with enough default values filled in to start the server.
NewTestRuntime returns a new TestRuntime.
NewTestRuntimeWithOpts returns a new TestRuntime.
WithRuntime invokes f with a new TestRuntime after waiting for server readiness.
WrapRuntime creates a new TestRuntime by wrapping an existing runtime.

# Structs

TestRuntime holds metadata and provides helper methods to interact with the runtime being tested.
TestRuntimeOpts contains parameters for the test runtime.