Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresStrategy ¶
PostgresStrategy a wait.Strategy to wait on Postgres to start.
func NewPostgresStrategy ¶
func NewPostgresStrategy(port nat.Port, dbConf *db.DbConf) *PostgresStrategy
NewPostgresStrategy constructs a default host port strategy
func (*PostgresStrategy) WaitUntilReady ¶
func (hp *PostgresStrategy) WaitUntilReady(ctx context.Context, target wait.StrategyTarget) (err error)
WaitUntilReady implements Strategy.WaitUntilReady
func (*PostgresStrategy) WithStartupTimeout ¶
func (hp *PostgresStrategy) WithStartupTimeout(startupTimeout time.Duration) *PostgresStrategy
WithStartupTimeout sets startupTimeout
Click to show internal directories.
Click to hide internal directories.