Documentation
¶
Overview ¶
Package harness provides reusable scaffolding for the pgoutbox e2e tests. It exposes helpers for spinning up real backing services (currently postgres) inside testcontainers.
Index ¶
Constants ¶
View Source
const DefaultPostgresVersion = "18-alpine"
DefaultPostgresVersion is the postgres image tag used when callers do not pin a version explicitly.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresOptions ¶
type PostgresOptions struct {
// Version is the postgres image tag (e.g. "16-alpine"). Defaults to
// DefaultPostgresVersion when empty.
Version string
// Database, Username, Password control the credentials seeded into the
// container. Defaults match the testcontainers-go postgres module.
Database string
Username string
Password string
}
PostgresOptions configures the postgres container started by Start.
Click to show internal directories.
Click to hide internal directories.