Documentation
¶
Overview ¶
package: podman / tools type: test-support job: run a throwaway container for an adapter's real-counterpart test, on a free port, torn down after limits: a test helper; it skips without podman and waits for the port, not for readiness
Package podman is the shared boilerplate for the real-counterpart adapter tests (OpenBao, and lowkey-vault for the Azure backends). An adapter's only meaningful test drives its real backend, spun up here; Run publishes it on a free host port, returns that address plus a teardown, and skips the test when podman is missing so the offline gate stays green.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Spec ¶
type Spec struct {
Image string // image reference, e.g. ghcr.io/openbao/openbao:latest
Port int // container port to publish and wait for
More []int // further container ports to publish, addressed through RunMore
Env map[string]string // environment variables
Args []string // command + args after the image
}
Spec describes a container to run for a test.