Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CockroachContainer ¶
type CockroachContainer struct {
testcontainers.Container
URI string
}
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
type SQLiteContainer ¶ added in v1.1.0
type SQLiteContainer struct {
testcontainers.Container
URI string
}
func SetupSQLite ¶ added in v1.1.0
func SetupSQLite(t *testing.T) *SQLiteContainer
Click to show internal directories.
Click to hide internal directories.