26#include <IDobbyPlugin.h> 
   52                                  const std::shared_ptr<IDobbyStartState>& startupState,
 
   53                                  const std::string& rootfsPath,
 
   54                                  const Json::Value& jsonData)
 override 
 
   59                          const std::string& rootfsPath,
 
   60                          const Json::Value& jsonData)
 override 
 
   65                           const std::string& rootfsPath,
 
   66                           const Json::Value& jsonData)
 override 
 
   70                          const std::string& rootfsPath,
 
   71                          const Json::Value& jsonData)
 override 
 
   75                                const std::string& rootfsPath,
 
   76                                const Json::Value& jsonData)
 override 
 
 
A wrapper around a std::string, used to add some type definition to to an id and also to sanity check...
Definition ContainerId.h:41
Interface that plugin libraries have to implement.
Definition IDobbyPlugin.h:51
Basic object that provides the default overrides for a plugin.
Definition PluginBase.h:38
virtual bool postStart(const ContainerId &id, pid_t pid, const std::string &rootfsPath, const Json::Value &jsonData) override
Hook function called after the container is started and the init process is now running.
Definition PluginBase.h:63
virtual bool preDestruction(const ContainerId &id, const std::string &rootfsPath, const Json::Value &jsonData) override
Hook function called just before the rootfs is deleted, this is called even if there was an error sta...
Definition PluginBase.h:74
virtual bool preStart(const ContainerId &id, pid_t pid, const std::string &rootfsPath, const Json::Value &jsonData) override
Hook function called after the container is setup, but before the init process is executed.
Definition PluginBase.h:57
virtual bool postConstruction(const ContainerId &id, const std::shared_ptr< IDobbyStartState > &startupState, const std::string &rootfsPath, const Json::Value &jsonData) override
Hook function called after the rootfs has been created, but before the container is launched.
Definition PluginBase.h:51
virtual bool postStop(const ContainerId &id, const std::string &rootfsPath, const Json::Value &jsonData) override
Hook function called after the container has stopped.
Definition PluginBase.h:69