package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Mar 14, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Instance is a postgres instance installed by bytebase
for backend storage or testing.
Install returns the postgres binary depending on the OS.
Port returns the port number of the postgres instance.
Start starts a postgres instance on given port, outputs to stdout and stderr.
If port is 0, then it will choose a random unused port.
If waitSec > 0, watis at most `waitSec` seconds for the postgres instance to start.
Otherwise, returns immediately.
Stop stops a postgres instance, outputs to stdout and stderr.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.