|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
Wait until a substring appears in the container's logs a number of times. More...
#include <testcontainers/WaitFor.hpp>
Public Types | |
| enum class | Source { Stdout , Stderr , Either } |
| Which log stream(s) to scan. More... | |
Public Attributes | |
| std::string | text |
| substring to look for | |
| int | times = 1 |
| required number of occurrences | |
| Source | source = Source::Either |
Wait until a substring appears in the container's logs a number of times.
|
strong |
| std::string testcontainers::wait_for::LogMessage::text |
substring to look for
| int testcontainers::wait_for::LogMessage::times = 1 |
required number of occurrences
| Source testcontainers::wait_for::LogMessage::source = Source::Either |