containers

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 15 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 added in v0.0.9

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

func SetupLocalStackWithSQS added in v0.0.9

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