Current section

Files

Jump to
testcontainers lib container protocols container_builder.ex
Raw

lib/container/protocols/container_builder.ex

defprotocol Testcontainers.ContainerBuilder do
@moduledoc """
All types of predefined containers must implement this protocol.
"""
@spec build(t()) :: %Testcontainers.Container{}
def build(builder)
@spec is_starting(t(), %Testcontainers.Container{}, %Tesla.Env{}) :: :ok
def is_starting(builder, container, connection)
end