Protocol for building container configurations from domain-specific container types (e.g. RedisContainer, PostgresContainer).
Implementations transform a domain struct into a Container.Config
with appropriate image, ports, wait strategies, etc.
Summary
Functions
Hook called after the container has started successfully. Use for post-start validation or configuration.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
@spec after_start(t(), TestcontainerEx.Container.Config.t(), Tesla.Env.t()) :: :ok | {:error, term()}
Hook called after the container has started successfully. Use for post-start validation or configuration.
@spec build(t()) :: TestcontainerEx.Container.Config.t()