WaitTarget class abstract interface

What a WaitStrategy can look at: the started container, the ports published for it and the time left to become ready.

GenericContainer implements it for the strategies it runs; custom strategies use only this.

Implementers

Properties

containerId → String
The container's id.
no setter
docker → DockerClient
The client of the daemon the container runs on.
no setter
exposedPorts → List<int>
The container ports published with withExposedPorts.
no setter
hashCode → int
The hash code for this object.
no setterinherited
host → String
The host the published ports are reached on.
no setter
remaining → Duration
How long the strategy may still take; it is the container's startup timeout, less the time already spent.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

inspect() → Future<DockerContainerState>
The container's state, as the daemon reports it now.
logs() → Stream<DockerLogLine>
The container's output from its start, following it until it stops.
mappedPort(int port) → int
The host port the container's port is published on.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
poll(String description, Future<bool> check(), {Duration interval = const Duration(milliseconds: 100)}) → Future<void>
Calls check every interval until it returns true.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited