TestcontainerEx.Server (testcontainer_ex v0.1.0)

Copy Markdown View Source

GenServer that manages the TestcontainerEx lifecycle.

State holds the connection, session metadata, and tracked resources (containers, networks, compose environments) for cleanup on termination.

Summary

Functions

Returns a specification to start this module under a supervisor.

Returns true if the server has a working Docker connection.

Stops the GenServer.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

connected?(name \\ __MODULE__)

Returns true if the server has a working Docker connection.

start(options \\ [])

start_link(options \\ [])

stop(name \\ __MODULE__)

Stops the GenServer.