start

package
v1.223.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HealthTimeout = 120 * time.Second
)

Functions

func InitSchema14 added in v1.185.0

func InitSchema14(ctx context.Context, conn *pgx.Conn) error

func IsUnhealthyError added in v1.175.2

func IsUnhealthyError(err error) bool

func NewContainerConfig added in v1.47.1

func NewContainerConfig() container.Config

func NewHostConfig added in v1.96.5

func NewHostConfig() container.HostConfig

func Run

func Run(ctx context.Context, fsys afero.Fs) error

func SetupDatabase added in v1.47.3

func SetupDatabase(ctx context.Context, conn *pgx.Conn, host string, w io.Writer, fsys afero.Fs) error

func SetupLocalDatabase added in v1.203.0

func SetupLocalDatabase(ctx context.Context, version string, fsys afero.Fs, w io.Writer, options ...func(*pgx.ConnConfig)) error

func StartDatabase

func StartDatabase(ctx context.Context, fsys afero.Fs, w io.Writer, options ...func(*pgx.ConnConfig)) error

func WaitForHealthyService added in v1.96.5

func WaitForHealthyService(ctx context.Context, timeout time.Duration, started ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL