|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
Options for POST /volumes/create. More...
#include <testcontainers/docker/ContainerSpec.hpp>
Public Attributes | |
| std::string | name |
| volume name (we always set it) | |
| std::optional< std::string > | driver |
| Driver (default "local" when unset). | |
| std::vector< std::pair< std::string, std::string > > | driver_opts |
| DriverOpts. | |
| std::vector< std::pair< std::string, std::string > > | labels |
| Labels. | |
Options for POST /volumes/create.
| std::string testcontainers::VolumeCreateSpec::name |
volume name (we always set it)
| std::optional<std::string> testcontainers::VolumeCreateSpec::driver |
Driver (default "local" when unset).
| std::vector<std::pair<std::string, std::string> > testcontainers::VolumeCreateSpec::driver_opts |
DriverOpts.
| std::vector<std::pair<std::string, std::string> > testcontainers::VolumeCreateSpec::labels |
Labels.