testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
Loading...
Searching...
No Matches
testcontainers::Ulimit Struct Reference

A process resource limit (HostConfig.Ulimits entry), e.g. {"nofile", 1024, 2048}. More...

#include <testcontainers/Ulimit.hpp>

Public Attributes

std::string name
 e.g. "nofile", "nproc"
std::int64_t soft = 0
std::int64_t hard = 0

Detailed Description

A process resource limit (HostConfig.Ulimits entry), e.g. {"nofile", 1024, 2048}.

Member Data Documentation

◆ name

std::string testcontainers::Ulimit::name

e.g. "nofile", "nproc"

◆ soft

std::int64_t testcontainers::Ulimit::soft = 0

◆ hard

std::int64_t testcontainers::Ulimit::hard = 0