testcontainers

package
v0.9.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupElasticsearchContainer

func SetupElasticsearchContainer(ctx context.Context, url *string) (cleanup, error)

func SetupKafkaContainer

func SetupKafkaContainer(ctx context.Context, brokers *[]string) (cleanup, error)

func SetupOpenSearchContainer

func SetupOpenSearchContainer(ctx context.Context, url *string) (cleanup, error)

func SetupPostgresContainer

func SetupPostgresContainer(ctx context.Context, url *string, image PostgresImage, configFile ...string) (cleanup, error)

Types

type PostgresImage

type PostgresImage string
const (
	Postgres14 PostgresImage = "debezium/postgres:14-alpine"
	Postgres17 PostgresImage = "debezium/postgres:17-alpine"
)

Jump to

Keyboard shortcuts

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