Testcontainers.MinistackContainer (testcontainers v2.4.0)

Copy Markdown View Source

Provides functionality for creating and managing Ministack container configurations.

Summary

Functions

Generates the connection options for accessing the Ministack service running within the container. Compatible with what ex_aws expects in ExAws.request(options)

Generates the connection URL for accessing the Ministack service running within the container.

Retrieves the port mapped by the Docker host for the Ministack container.

Set the reuse flag to reuse the container if it is already running.

Types

t()

@type t() :: %Testcontainers.MinistackContainer{
  image: term(),
  password: term(),
  reuse: term(),
  username: term(),
  wait_timeout: term()
}

Functions

connection_opts(container)

Generates the connection options for accessing the Ministack service running within the container. Compatible with what ex_aws expects in ExAws.request(options)

connection_url(container)

Generates the connection URL for accessing the Ministack service running within the container.

default_s3_port()

default_ui_port()

get_password()

get_username()

new()

port(container)

Retrieves the port mapped by the Docker host for the Ministack container.

with_reuse(config, reuse)

Set the reuse flag to reuse the container if it is already running.