20 #include <gmock/gmock.h> 53 const mesos::slave::ContainerConfig&,
54 const std::map<std::string, std::string>&,
66 const google::protobuf::Map<std::string, Value::Scalar>&));
90 const std::vector<Image>&));
virtual process::Future< Nothing > update(const ContainerID &containerId, const Resources &resourceRequests, const google::protobuf::Map< std::string, Value::Scalar > &resourceLimits={})=0
Definition: option.hpp:29
Definition: mock_containerizer.hpp:41
Definition: resources.hpp:83
virtual process::Future< LaunchResult > launch(const ContainerID &containerId, const mesos::slave::ContainerConfig &containerConfig, const std::map< std::string, std::string > &environment, const Option< std::string > &pidCheckpointPath)=0
MOCK_METHOD3(update, process::Future< Nothing >(const ContainerID &, const Resources &, const google::protobuf::Map< std::string, Value::Scalar > &))
virtual process::Future< Nothing > recover(const Option< state::SlaveState > &state)=0
Definition: containerizer.hpp:64
virtual process::Future< process::http::Connection > attach(const ContainerID &containerId)
Definition: containerizer.hpp:115
Definition: attributes.hpp:24
virtual process::Future< hashset< ContainerID > > containers()=0
virtual process::Future< ResourceStatistics > usage(const ContainerID &containerId)=0
MOCK_METHOD4(launch, process::Future< slave::Containerizer::LaunchResult >(const ContainerID &, const mesos::slave::ContainerConfig &, const std::map< std::string, std::string > &, const Option< std::string > &))
MOCK_METHOD0(containers, process::Future< hashset< ContainerID >>())
virtual process::Future< Option< mesos::slave::ContainerTermination > > wait(const ContainerID &containerId)=0
virtual process::Future< Nothing > pruneImages(const std::vector< Image > &excludedImages)=0
virtual process::Future< Option< mesos::slave::ContainerTermination > > destroy(const ContainerID &containerId)=0
MOCK_METHOD1(recover, process::Future< Nothing >(const Option< slave::state::SlaveState > &))