Testcontainers.ContainerBuilder protocol (testcontainers v2.4.0)

Copy Markdown View Source

All types of predefined containers must implement this protocol.

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

after_start(builder, container, connection)

@spec after_start(t(), Testcontainers.Container.t(), Tesla.Env.t()) ::
  :ok | {:error, term()}

Do stuff after container has started.

build(builder)

@spec build(t()) :: Testcontainers.Container.t()