Documentation
¶
Index ¶
- func Expect(err error, message string)
- func GetFreePort() (int, error)
- func GetNow() pgtype.Timestamp
- func StartPGContainer() (context.Context, *postgres.PostgresContainer, string, error)
- func TerminatePGContainer(ctx context.Context, pgContainer testcontainers.Container) error
- func WaitForPredicateToBeTrue(predicate func() bool) bool
- func WaitForServiceUp(port int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFreePort ¶
GetFreePort asks the kernel for a free open port that is ready to use.
func StartPGContainer ¶
func TerminatePGContainer ¶
func TerminatePGContainer(ctx context.Context, pgContainer testcontainers.Container) error
func WaitForServiceUp ¶
func WaitForServiceUp(port int)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.