test

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseConfig

type DatabaseConfig struct {
	PostgresHost     string
	PostgresPort     string
	PostgresDatabase string
	PostgresUsername string
	PostgresPassword string
}

func (DatabaseConfig) URI

func (c DatabaseConfig) URI() string

type PostgresIntegration

type PostgresIntegration struct {
	// contains filtered or unexported fields
}

func NewIntegration

func NewIntegration(t *testing.T) *PostgresIntegration

func (*PostgresIntegration) Bootstrap

func (pi *PostgresIntegration) Bootstrap(name string)

func (*PostgresIntegration) Close

func (pi *PostgresIntegration) Close()

func (*PostgresIntegration) DB

func (pi *PostgresIntegration) DB() *sql.DB

func (*PostgresIntegration) Reset

func (pi *PostgresIntegration) Reset(ctx context.Context)

Jump to

Keyboard shortcuts

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