Crate docker_utils

Source

Structs§

ContainerConfig
Create a new instance of the ContainerConfig struct with the given parameters.
ContainerConfigBuilder
Use builder syntax to set the required parameters and finish by calling the method Self::build().
DockerError
DockerUtil
WaitStrategyError

Enums§

WaitStrategy
Represents the strategy to wait for a container to reach a certain state.

Functions§

wait_until_console_output
Waits until the console output of the container with the given ID contains the specified expected output. If the expected output is not found within the given timeout, an error is returned.
wait_until_grpc_health_check
Waits until a gRPC service at the given health_url is online by performing a health check. The health check is performed every 100ms until the service responds or the given timeout is reached. If the timeout is reached without a response, a ServiceUtilError is returned.
wait_until_http_health_check
Waits until the health check URL responds successfully.
wait_until_timeout
Waits for the given duration asynchronously.