pgdocker

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL