TestcontainerEx.PostgresContainer (testcontainer_ex v0.1.0)

Copy Markdown View Source

Provides functionality for creating and managing Postgres container configurations.

Summary

Types

t()

@type t() :: %TestcontainerEx.PostgresContainer{
  check_image: term(),
  database: term(),
  image: term(),
  password: term(),
  persistent_volume: term(),
  port: term(),
  reuse: term(),
  user: term(),
  wait_timeout: term()
}

Functions

connection_parameters(container)

default_image()

default_image_with_tag()

default_port()

new()

Callback implementation for TestcontainerEx.DatabaseBehaviour.new/0.

port(container)

with_check_image(c, ci)

with_database(c, db)

Callback implementation for TestcontainerEx.DatabaseBehaviour.with_database/2.

with_image(c, image)

Callback implementation for TestcontainerEx.DatabaseBehaviour.with_image/2.

with_password(c, pw)

Callback implementation for TestcontainerEx.DatabaseBehaviour.with_password/2.

with_persistent_volume(c, vol)

Callback implementation for TestcontainerEx.DatabaseBehaviour.with_persistent_volume/2.

with_port(c, port)

Callback implementation for TestcontainerEx.DatabaseBehaviour.with_port/2.

with_reuse(c, reuse)

with_user(c, user)

Callback implementation for TestcontainerEx.DatabaseBehaviour.with_user/2.

with_wait_timeout(c, t)