Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CockroachContainer ¶
type CockroachContainer struct {
testcontainers.Container
URI string // Connection URI
}
func SetupCockroach ¶
func SetupCockroach(t *testing.T) *CockroachContainer
type PostgresContainer ¶
type PostgresContainer struct {
testcontainers.Container
URI string
Username string
Password string
Database string
Port string
}
func SetupPostgres ¶
func SetupPostgres(t *testing.T) *PostgresContainer
Click to show internal directories.
Click to hide internal directories.