TestcontainerEx.CassandraContainer (testcontainer_ex v0.9.0)

Copy Markdown View Source

Provides functionality for creating and managing Cassandra container configurations.

Summary

Functions

Sets the check image regex (or string) used to validate the container image name before starting.

Sets the container name.

Enables or disables container reuse.

Types

t()

@type t() :: %TestcontainerEx.CassandraContainer{
  check_image: term(),
  image: term(),
  name: term(),
  reuse: term(),
  wait_timeout: term()
}

Functions

connection_uri(container)

default_image()

default_port()

get_password()

get_username()

new()

port(container)

with_check_image(config, check_image)

@spec with_check_image(t(), String.t() | Regex.t()) :: t()

Sets the check image regex (or string) used to validate the container image name before starting.

with_image(config, image)

with_name(config, name)

@spec with_name(t(), String.t()) :: t()

Sets the container name.

with_reuse(config, reuse)

@spec with_reuse(t(), boolean()) :: t()

Enables or disables container reuse.