commit

package
v1.22.1 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertPostgresVersionMatch added in v0.38.0

func AssertPostgresVersionMatch(conn *pgx.Conn) error

func AssertRemoteInSync added in v0.38.7

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

func ResetDatabase added in v1.17.4

func ResetDatabase(ctx context.Context, container, shadow string) error

Creates a fresh database inside a Postgres container.

func Run

func Run(ctx context.Context, username, password, database string, fsys afero.Fs) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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