containers

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupKafkaContainer

func SetupKafkaContainer() (testcontainers.Container, []string, error)

func SetupLocalStackWithKinesis

func SetupLocalStackWithKinesis() (testcontainers.Container, string, error)

func SetupLocalStackWithSQS

func SetupLocalStackWithSQS(
	region, queueName string,
) (testcontainers.Container, string, string, error)

func SetupNatsContainer

func SetupNatsContainer() (testcontainers.Container, string, error)

func SetupRedPandaContainer

func SetupRedPandaContainer() (testcontainers.Container, []string, error)

func SetupRedisContainer

func SetupRedisContainer() (testcontainers.Container, string, error)

Types

type ConfigProvider

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

func SetupTimescaleContainer

func SetupTimescaleContainer() (testcontainers.Container, *ConfigProvider, error)

func (*ConfigProvider) ReplicationConnConfig

func (c *ConfigProvider) ReplicationConnConfig() (*pgx.ConnConfig, error)

func (*ConfigProvider) UserConnConfig

func (c *ConfigProvider) UserConnConfig() (*pgxpool.Config, error)

Jump to

Keyboard shortcuts

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