24 #ifndef LXCPP_CONTAINER_CONFIG_HPP
25 #define LXCPP_CONTAINER_CONFIG_HPP
40 #include <sys/types.h>
44 const int DEFAULT_EXIT_STATUS = -27182;
202 #endif // LXCPP_CONTAINER_CONFIG_HPP
int mNamespaces
Namespace types used to create the container.
Definition: container-config.hpp:151
Definition: cgroup-config.hpp:71
std::string mRootPath
Path of the root directory of the container.
Definition: container-config.hpp:66
UserNSConfig mUserNSConfig
User namespace config (uid and gid mappings)
Definition: container-config.hpp:167
Definition: container.hpp:49
Configuration file for the code.
CGroupsConfig mCgroups
Definition: container-config.hpp:172
std::string mName
Name of the container.
Definition: container-config.hpp:58
User namespace configuration.
TerminalsConfig mTerminals
Configuration for terminal(s), from API point of view, only their number.
Definition: container-config.hpp:143
std::vector< std::string > mInit
Argv of the container's init process to be executed.
Definition: container-config.hpp:123
ProvisionConfig mProvisions
available files/dirs/mounts/links
Definition: container-config.hpp:159
Definition: container-config.hpp:51
Definition: vasum-client.h:211
Network configuration classes.
State
Definition: container.hpp:53
#define CARGO_REGISTER(...)
Registers cargo fields within class.
Definition: fields.hpp:74
Definition: userns-config.hpp:37
LoggerConfig mLogger
Logger to be configured inside the guard process.
Definition: container-config.hpp:135
Provisioning configuration.
pid_t mInitPid
Pid of the container's init process.
Definition: container-config.hpp:90
NetworkConfig mNetwork
Container network configration.
Definition: container-config.hpp:114
std::string mSocketPath
Socket for communication with the Guard.
Definition: container-config.hpp:74
pid_t mGuardPid
Pid of the guard process.
Definition: container-config.hpp:82
Definition: provision-config.hpp:142
Control-groups configuration.
Network interface configuration.
Definition: network-config.hpp:119
int mExitStatus
Exit status of the stopped container.
Definition: container-config.hpp:106
Logger configuration.
Definition: logger-config.hpp:38
ContainerConfig()
Definition: container-config.hpp:174
Definition: terminal-config.hpp:57
Container::State mState
State of the container.
Definition: container-config.hpp:98