Documentation ¶
Index ¶
- Variables
- func InitSchema14(ctx context.Context, conn *pgx.Conn) error
- func IsUnhealthyError(err error) bool
- func NewBackoffPolicy(ctx context.Context, timeout time.Duration) backoff.BackOff
- func NewContainerConfig() container.Config
- func NewHostConfig() container.HostConfig
- func Run(ctx context.Context, fsys afero.Fs) error
- func SetupDatabase(ctx context.Context, conn *pgx.Conn, host string, w io.Writer, fsys afero.Fs) error
- func SetupLocalDatabase(ctx context.Context, version string, fsys afero.Fs, w io.Writer, ...) error
- func StartDatabase(ctx context.Context, fsys afero.Fs, w io.Writer, ...) error
- func WaitForHealthyService(ctx context.Context, timeout time.Duration, started ...string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
HealthTimeout = 120 * time.Second
)
Functions ¶
func InitSchema14 ¶
func IsUnhealthyError ¶
func NewBackoffPolicy ¶
func NewContainerConfig ¶
func NewHostConfig ¶
func NewHostConfig() container.HostConfig
func SetupDatabase ¶
func SetupLocalDatabase ¶
func StartDatabase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.