View Source Testcontainers.WaitStrategy protocol (testcontainers v1.2.11)

Defines the protocol/interface for the wait strategies in Testcontainers

Summary

Types

t()

All the types that implement this protocol.

Types

@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

wait_until_container_is_ready(wait_strategy, container, conn)

View Source
@spec wait_until_container_is_ready(
  t(),
  %Testcontainers.Container{
    auto_remove: term(),
    bind_mounts: term(),
    cmd: term(),
    container_id: term(),
    environment: term(),
    exposed_ports: term(),
    image: term(),
    labels: term(),
    privileged: term(),
    wait_strategies: term()
  },
  Tesla.Env.client()
) :: :ok | {:error, atom()}