package
0.1.0
Repository: https://github.com/go-pkgz/testutils.git
Documentation: pkg.go.dev

# Functions

NewLocalstackTestContainer creates a new Localstack test container and returns a LocalstackTestContainer instance.
NewMongoTestContainer creates a new MongoDB test container.
NewMySQLTestContainer creates a new MySQL test container with default settings.
NewMySQLTestContainerWithDB creates a new MySQL test container with a specific database name.
NewPostgresTestContainer creates a new PostgreSQL test container with default settings.
NewPostgresTestContainerWithDB creates a new PostgreSQL test container with a specific database name.
NewSSHTestContainer creates a new SSH test container and returns an SSHTestContainer instance.
NewSSHTestContainerWithUser creates a new SSH test container with a specific user.

# Structs

LocalstackTestContainer is a wrapper around a testcontainers.Container that provides an S3 endpoint.
MongoTestContainer wraps testcontainers.Container and provides MongoDB client.
MySQLTestContainer is a wrapper around a testcontainers.Container that provides a MySQL server.
PostgresTestContainer is a wrapper around a testcontainers.Container that provides a PostgreSQL server.
SSHTestContainer is a wrapper around a testcontainers.Container that provides an SSH server.