|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
#include <functional>#include <string>#include <string_view>Classes | |
| struct | testcontainers::LogOptions |
| Options for GET /containers/{id}/logs. More... | |
| struct | testcontainers::ContainerLogs |
| Combined stdout / stderr text retrieved from a container. More... | |
Namespaces | |
| namespace | testcontainers |
Typedefs | |
| using | testcontainers::LogConsumer = std::function<bool(LogSource source, std::string_view data)> |
| A streaming log consumer. | |
Enumerations | |
| enum class | testcontainers::LogSource { testcontainers::Stdout , testcontainers::Stderr } |
| Which stream a streamed log chunk came from. More... | |
| enum class | testcontainers::FollowEnd { testcontainers::ConsumerStopped , testcontainers::StreamEnded , testcontainers::DeadlineExpired } |
| Why a deadline-bounded log/output stream ended (the follow_logs overload taking a deadline reports this instead of blocking indefinitely). More... | |