softwarecontainer
0.18.0-739e8d7 2017-05-04
|
Public Member Functions | |
std::unique_ptr< DynamicContainerOptions > | parse (const std::string &config) |
Parse config needed for starting up the container in a correct manner. More... | |
Definition at line 49 of file containeroptionparser.h.
std::unique_ptr< DynamicContainerOptions > softwarecontainer::ContainerOptionParser::parse | ( | const std::string & | config | ) |
Parse config needed for starting up the container in a correct manner.
This reads a config string into json format, makes sure it is formatted correctly, and then calls readConfigElement for its elements.
config | a configuration string |
a | ContainerOptionParserError in case of bad input |
Definition at line 73 of file containeroptionparser.cpp.
Referenced by softwarecontainer::SoftwareContainerAgent::createContainer().