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