start

package
v1.176.4 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 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 IsUnhealthyError added in v1.176.0

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 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

func WithSyslogConfig added in v1.47.0

func WithSyslogConfig(hostConfig container.HostConfig) container.HostConfig

Types

This section is empty.

Jump to

Keyboard shortcuts

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