Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionParams ¶
type MySQLContainer ¶
type MySQLContainer struct {
ID string
Connection ConnectionParams
Cleanup func() error
// contains filtered or unexported fields
}
func StartMySQLContainer ¶
func (*MySQLContainer) Close ¶
func (mysql *MySQLContainer) Close() error
func (*MySQLContainer) GetConnection ¶
func (mysql *MySQLContainer) GetConnection() ConnectionParams
type PostgreSQLContainer ¶
type PostgreSQLContainer struct {
ID string
Connection ConnectionParams
Cleanup func() error
// contains filtered or unexported fields
}
func (*PostgreSQLContainer) Close ¶
func (postgres *PostgreSQLContainer) Close() error
func (*PostgreSQLContainer) GetConnection ¶
func (postgres *PostgreSQLContainer) GetConnection() ConnectionParams
type SQLiteContainer ¶
type SQLiteContainer struct {
ID string
Connection ConnectionParams
Cleanup func() error
// contains filtered or unexported fields
}
func StartSQLiteContainer ¶
func (*SQLiteContainer) Close ¶
func (sqlite *SQLiteContainer) Close() error
func (*SQLiteContainer) GetConnection ¶
func (sqlite *SQLiteContainer) GetConnection() ConnectionParams
Click to show internal directories.
Click to hide internal directories.