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 ¶ added in v1.185.0
func IsUnhealthyError ¶ added in v1.175.2
func NewBackoffPolicy ¶ added in v1.224.3
func NewContainerConfig ¶ added in v1.47.1
func NewHostConfig ¶ added in v1.96.5
func NewHostConfig() container.HostConfig
func SetupDatabase ¶ added in v1.47.3
func SetupLocalDatabase ¶ added in v1.203.0
func StartDatabase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.