testutils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinioContainer

type MinioContainer struct {
	*minioDocker.MinioContainer
	S3ClientConfig config.S3ClientConfig
}

type MinioSuite

type MinioSuite struct {
	suite.Suite
	*MinioContainer
	MinioClient *minio.Client
}

func (*MinioSuite) SetupSuite

func (suite *MinioSuite) SetupSuite()

func (*MinioSuite) TearDownSuite

func (suite *MinioSuite) TearDownSuite()

type PostgresContainer

type PostgresContainer struct {
	*postgres.PostgresContainer
	ConnectionConfig config.DatabaseConnectionConfig
	RawConnection    string
}

type PostgresSuite

type PostgresSuite struct {
	suite.Suite
	*PostgresContainer
	Connection *sql.DB
}

func (*PostgresSuite) ExecuteSQL

func (suite *PostgresSuite) ExecuteSQL(sql string)

func (*PostgresSuite) SetupSuite

func (suite *PostgresSuite) SetupSuite()

func (*PostgresSuite) TearDownSuite

func (suite *PostgresSuite) TearDownSuite()

type TimescaledbContainer

type TimescaledbContainer struct {
	*postgres.PostgresContainer
	ConnectionConfig config.DatabaseConnectionConfig
	RawConnection    string
}

type TimescaledbSuite

type TimescaledbSuite struct {
	suite.Suite
	*TimescaledbContainer
	Connection *sql.DB
}

func (*TimescaledbSuite) ExecuteSQL

func (suite *TimescaledbSuite) ExecuteSQL(sql string)

func (*TimescaledbSuite) SetupSuite

func (suite *TimescaledbSuite) SetupSuite()

func (*TimescaledbSuite) TearDownSuite

func (suite *TimescaledbSuite) TearDownSuite()

Jump to

Keyboard shortcuts

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