softwarecontainer  0.18.0-739e8d7 2017-05-04
softwarecontainer::SoftwareContainerConfig Class Reference

Contains all values that should be passed to SoftwareContainer on creation. More...

#include <softwarecontainerconfig.h>

Public Member Functions

 SoftwareContainerConfig (const std::string &containerConfigPath, const std::string &sharedMountsDir, unsigned int containerShutdownTimeout)
 
void setEnableWriteBuffer (bool enabledFlag)
 
void setEnableTemporaryFileSystemWriteBuffers (bool enabled)
 
void setTemporaryFileSystemSize (unsigned int size)
 
std::string containerConfigPath () const
 
std::string sharedMountsDir () const
 
unsigned int containerShutdownTimeout () const
 
bool writeBufferEnabled () const
 
bool temporaryFileSystemWriteBufferEnableds () const
 
unsigned int temporaryFileSystemSize () const
 

Detailed Description

Contains all values that should be passed to SoftwareContainer on creation.

This class should be created with values that are from the static configs, i.e. the configs that are known and fetched through Config (usually by SoftwareContainerAgent) during startup.

This class is also used to carry dynamic configs to SoftwareContainer and these can be set through setters on this class. However, this class is not intended to be used to set values dynamically in any way by SoftwareContainer, so it should be received as const.

Definition at line 41 of file softwarecontainerconfig.h.


The documentation for this class was generated from the following files: