pgembed

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: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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