Documentation ¶
Index ¶
- Variables
- func NewContainerConfig() container.Config
- func NewHostConfig() container.HostConfig
- func RetryEverySecond(ctx context.Context, callback func() bool, timeout time.Duration) bool
- 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 StartDatabase(ctx context.Context, fsys afero.Fs, w io.Writer, ...) error
- func WaitForHealthyService(ctx context.Context, container string, timeout time.Duration) bool
- func WithSyslogConfig(hostConfig container.HostConfig) container.HostConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDatabase = errors.New("database is not healthy") HealthTimeout = 120 * time.Second )
Functions ¶
func NewContainerConfig ¶ added in v1.47.1
func NewHostConfig ¶ added in v1.96.5
func NewHostConfig() container.HostConfig
func RetryEverySecond ¶ added in v1.96.5
func SetupDatabase ¶ added in v1.47.3
func StartDatabase ¶
func WaitForHealthyService ¶ added in v1.96.5
func WithSyslogConfig ¶ added in v1.47.0
func WithSyslogConfig(hostConfig container.HostConfig) container.HostConfig
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.