|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
Options for POST /networks/create (richer than just name+labels). More...
#include <testcontainers/docker/ContainerSpec.hpp>
Public Attributes | |
| std::string | name |
| std::optional< std::string > | driver |
| e.g. "bridge" (default when unset) | |
| bool | internal = false |
| no external connectivity | |
| bool | attachable = false |
| standalone containers can attach | |
| bool | enable_ipv6 = false |
| EnableIPv6. | |
| std::optional< std::string > | subnet |
| shorthand: a leading IPAM pool's Subnet | |
| std::optional< std::string > | gateway |
| shorthand: the leading pool's Gateway | |
| std::vector< NetworkIpamPool > | ipam_pools |
| IPAM address pools, emitted after the subnet/gateway shorthand pool when that is set (IPAM.Config keeps this order). | |
| std::vector< std::pair< std::string, std::string > > | options |
| driver Options | |
| std::vector< std::pair< std::string, std::string > > | labels |
| network Labels | |
Options for POST /networks/create (richer than just name+labels).
| std::string testcontainers::NetworkCreateSpec::name |
| std::optional<std::string> testcontainers::NetworkCreateSpec::driver |
e.g. "bridge" (default when unset)
| bool testcontainers::NetworkCreateSpec::internal = false |
no external connectivity
| bool testcontainers::NetworkCreateSpec::attachable = false |
standalone containers can attach
| bool testcontainers::NetworkCreateSpec::enable_ipv6 = false |
EnableIPv6.
| std::optional<std::string> testcontainers::NetworkCreateSpec::subnet |
shorthand: a leading IPAM pool's Subnet
| std::optional<std::string> testcontainers::NetworkCreateSpec::gateway |
shorthand: the leading pool's Gateway
| std::vector<NetworkIpamPool> testcontainers::NetworkCreateSpec::ipam_pools |
IPAM address pools, emitted after the subnet/gateway shorthand pool when that is set (IPAM.Config keeps this order).
| std::vector<std::pair<std::string, std::string> > testcontainers::NetworkCreateSpec::options |
driver Options
| std::vector<std::pair<std::string, std::string> > testcontainers::NetworkCreateSpec::labels |
network Labels