Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatabaseConfig ¶
type DatabaseConfig struct { PostgresHost string PostgresPort string PostgresDatabase string PostgresUsername string PostgresPassword string }
func (DatabaseConfig) URI ¶
func (c DatabaseConfig) URI() string
type PostgresIntegration ¶
type PostgresIntegration struct {
// contains filtered or unexported fields
}
func NewIntegration ¶
func NewIntegration(t *testing.T) *PostgresIntegration
func (*PostgresIntegration) Bootstrap ¶
func (pi *PostgresIntegration) Bootstrap(name string)
func (*PostgresIntegration) Close ¶
func (pi *PostgresIntegration) Close()
func (*PostgresIntegration) DB ¶
func (pi *PostgresIntegration) DB() *sql.DB
func (*PostgresIntegration) Reset ¶
func (pi *PostgresIntegration) Reset(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.