26 #include "commandjob.h" 27 #include "gatewayconfig.h" 62 virtual std::shared_ptr<CommandJob>
createCommandJob(
const std::string &command) = 0;
72 virtual void shutdown(
unsigned int timeout) = 0;
105 virtual void resume() = 0;
113 virtual bool bindMount(
const std::string &pathOnHost,
114 const std::string &pathInContainer,
115 bool readonly =
true) = 0;
virtual bool startGateways(const GatewayConfiguration &configs)=0
Starts the Gateways by setting the gateway configurations and activating the configured gateway...
virtual bool bindMount(const std::string &pathOnHost, const std::string &pathInContainer, bool readonly=true)=0
Should only be called on containers in state 'READY'.
virtual std::shared_ptr< CommandJob > createCommandJob(const std::string &command)=0
Create a job that can run a command in a container.
virtual void suspend()=0
Suspend the container.
virtual void resume()=0
Resume a suspended container.
Developers guide to adding a config item:
virtual bool previouslyConfigured()=0
Indicates if gateways have been configured previously.
virtual void shutdown(unsigned int timeout)=0
Shot down the container with an explicit timeout.