17 #ifndef __COMPOSING_CONTAINERIZER_HPP__ 18 #define __COMPOSING_CONTAINERIZER_HPP__ 40 class ComposingContainerizerProcess;
47 const std::vector<Containerizer*>& containerizers);
50 const std::vector<Containerizer*>& containerizers);
58 const ContainerID& containerId,
59 const mesos::slave::ContainerConfig& containerConfig,
60 const std::map<std::string, std::string>&
environment,
64 const ContainerID& containerId)
override;
67 const ContainerID& containerId,
69 const google::protobuf::Map<
70 std::string, Value::Scalar>& resourceLimits = {})
override;
73 const ContainerID& containerId)
override;
76 const ContainerID& containerId)
override;
79 const ContainerID& containerId)
override;
82 const ContainerID& containerId)
override;
85 const ContainerID& containerId,
93 const std::vector<Image>& excludedImages)
override;
96 ComposingContainerizerProcess*
process;
103 #endif // __COMPOSING_CONTAINERIZER_HPP__
Definition: composing.hpp:43
Definition: option.hpp:29
process::Future< Nothing > pruneImages(const std::vector< Image > &excludedImages) override
process::Future< Nothing > update(const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={}) override
process::Future< hashset< ContainerID > > containers() override
ComposingContainerizer(const std::vector< Containerizer * > &containerizers)
Definition: resources.hpp:83
process::Future< ContainerStatus > status(const ContainerID &containerId) override
Environment * environment
Definition: containerizer.hpp:64
process::Future< Option< mesos::slave::ContainerTermination > > destroy(const ContainerID &containerId) override
static Try< ComposingContainerizer * > create(const std::vector< Containerizer * > &containerizers)
process::Future< bool > kill(const ContainerID &containerId, int signal) override
process::Future< ResourceStatistics > usage(const ContainerID &containerId) override
Definition: attributes.hpp:24
~ComposingContainerizer() override
Definition: executor.hpp:48
process::Future< Option< mesos::slave::ContainerTermination > > wait(const ContainerID &containerId) override
process::Future< process::http::Connection > attach(const ContainerID &containerId) override
process::Future< Nothing > recover(const Option< state::SlaveState > &state) override
process::Future< Containerizer::LaunchResult > launch(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig, const std::map< std::string, std::string > &environment, const Option< std::string > &pidCheckpointPath) override