WaitStrategyTarget class abstract interface

The interface that must be implemented by any object that can be passed to WaitStrategy.waitUntilReady.

Both DockerContainer and ComposeContainer implement this interface, allowing the same wait strategies to be used with standalone containers and Docker Compose services.

Implementers

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String
The most recently cached container lifecycle state string.
no setter
wrappedContainer Object
The underlying container object.
no setter

Methods

containerHostIp() Future<String>
Returns the host IP address through which the container is reachable.
containerInfo() Future<ContainerInspectInfo?>
Returns the full Docker inspect information for this container.
exec(List<String> command) Future<(int, Uint8List)>
Runs command inside the container and returns its exit code and output.
exposedPort(int port) Future<int>
Returns the host-side port that is mapped to the container's port.
logs() Future<(Uint8List, Uint8List)>
Fetches the container's current stdout and stderr log output.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reload() Future<void>
Refreshes the cached container state from the Docker daemon.
toString() String
A string representation of this object.
inherited

Operators

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