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

Defines the protocol/interface for the wait strategies in Testcontainers

Summary

Types

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{
    auth: term(),
    auto_remove: term(),
    bind_mounts: term(),
    bind_volumes: term(),
    check_image: term(),
    cmd: term(),
    container_id: term(),
    environment: term(),
    exposed_ports: term(),
    force_reuse: term(),
    image: term(),
    ip_address: term(),
    labels: term(),
    network_mode: term(),
    privileged: term(),
    reuse: term(),
    wait_strategies: term()
  },
  Tesla.Env.client()
) :: :ok | {:error, atom()}