Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DockerContainerConfig ¶
type DockerContainerConfig struct { // DBName is the name of the postgres database. DBName string // Version is the Postgres version ran in the container (default is 13). Version string // Expire container that takes more than `Expire` seconds running. // It is very important to use when you are debugging and killed the // process before the call the teardown or if a panic happens. Expire uint }
type DockerizedPostgres ¶
func StartDockerContainer ¶
func StartDockerContainer(cfg DockerContainerConfig) (_ *DockerizedPostgres, teardownFn func(), err error)
Click to show internal directories.
Click to hide internal directories.