Documentation ¶
Index ¶
- type PostgresDocker
- func (pd *PostgresDocker) CreateDB() error
- func (pd *PostgresDocker) CreateSchema() error
- func (p *PostgresDocker) CreateSchemas() error
- func (pd *PostgresDocker) DSN() string
- func (pd *PostgresDocker) DSNWithoutSchema() string
- func (pd *PostgresDocker) Init() (err error)
- func (pd *PostgresDocker) Stop() error
- func (pd *PostgresDocker) WithSchema(schema string) runner.DbDriver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresDocker ¶
type PostgresDocker struct {
// contains filtered or unexported fields
}
func NewPostgresDocker ¶
func NewPostgresDocker(cfg tblsrun.Config) *PostgresDocker
func (*PostgresDocker) CreateDB ¶
func (pd *PostgresDocker) CreateDB() error
func (*PostgresDocker) CreateSchema ¶
func (pd *PostgresDocker) CreateSchema() error
func (*PostgresDocker) CreateSchemas ¶ added in v0.3.0
func (p *PostgresDocker) CreateSchemas() error
func (*PostgresDocker) DSN ¶
func (pd *PostgresDocker) DSN() string
func (*PostgresDocker) DSNWithoutSchema ¶ added in v0.3.0
func (pd *PostgresDocker) DSNWithoutSchema() string
func (*PostgresDocker) Init ¶
func (pd *PostgresDocker) Init() (err error)
func (*PostgresDocker) Stop ¶
func (pd *PostgresDocker) Stop() error
func (*PostgresDocker) WithSchema ¶ added in v0.3.0
func (pd *PostgresDocker) WithSchema(schema string) runner.DbDriver
Click to show internal directories.
Click to hide internal directories.