reset

package
v1.26.3 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisconnectClients added in v1.4.7

func DisconnectClients(ctx context.Context, conn *pgx.Conn) error

func InitialiseDatabase added in v1.7.5

func InitialiseDatabase(ctx context.Context, conn *pgx.Conn, fsys afero.Fs) error

func RecreateDatabase added in v1.7.5

func RecreateDatabase(ctx context.Context, options ...func(*pgx.ConnConfig)) error

Recreate postgres database by connecting to template1

func RestartDatabase added in v1.4.7

func RestartDatabase(ctx context.Context)

func Run

func Run(ctx context.Context, fsys afero.Fs, options ...func(*pgx.ConnConfig)) error

func SeedDatabase added in v1.0.10

func SeedDatabase(ctx context.Context, conn *pgx.Conn, fsys afero.Fs) error

func WaitForHealthyDatabase added in v1.5.3

func WaitForHealthyDatabase(ctx context.Context, timeout time.Duration) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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