Apache Mesos
Public Member Functions | List of all members
mesos::internal::tests::MockIsolator Class Reference

#include <isolator.hpp>

Inheritance diagram for mesos::internal::tests::MockIsolator:
mesos::slave::Isolator

Public Member Functions

 MockIsolator ()
 
 MOCK_METHOD2 (recover, process::Future< Nothing >(const std::list< mesos::slave::ContainerState > &, const hashset< ContainerID > &))
 
 MOCK_METHOD2 (prepare, process::Future< Option< mesos::slave::ContainerLaunchInfo >>(const ContainerID &, const mesos::slave::ContainerConfig &))
 
 MOCK_METHOD2 (isolate, process::Future< Nothing >(const ContainerID &, pid_t))
 
 MOCK_METHOD1 (watch, process::Future< mesos::slave::ContainerLimitation >(const ContainerID &))
 
 MOCK_METHOD2 (update, process::Future< Nothing >(const ContainerID &, const Resources &))
 
 MOCK_METHOD1 (usage, process::Future< ResourceStatistics >(const ContainerID &))
 
 MOCK_METHOD1 (cleanup, process::Future< Nothing >(const ContainerID &))
 
- Public Member Functions inherited from mesos::slave::Isolator
virtual ~Isolator ()
 
virtual bool supportsNesting ()
 
virtual bool supportsStandalone ()
 
virtual process::Future< Nothingrecover (const std::list< ContainerState > &states, const hashset< ContainerID > &orphans)
 
virtual process::Future
< Option< ContainerLaunchInfo > > 
prepare (const ContainerID &containerId, const ContainerConfig &containerConfig)
 
virtual process::Future< Nothingisolate (const ContainerID &containerId, pid_t pid)
 
virtual process::Future
< ContainerLimitation > 
watch (const ContainerID &containerId)
 
virtual process::Future< Nothingupdate (const ContainerID &containerId, const Resources &resources)
 
virtual process::Future
< ResourceStatistics > 
usage (const ContainerID &containerId)
 
virtual process::Future
< ContainerStatus > 
status (const ContainerID &containerId)
 
virtual process::Future< Nothingcleanup (const ContainerID &containerId)
 

Constructor & Destructor Documentation

mesos::internal::tests::MockIsolator::MockIsolator ( )
inline

Member Function Documentation

mesos::internal::tests::MockIsolator::MOCK_METHOD1 ( watch  ,
process::Future< mesos::slave::ContainerLimitation >  const ContainerID & 
)
mesos::internal::tests::MockIsolator::MOCK_METHOD1 ( usage  ,
process::Future< ResourceStatistics >  const ContainerID & 
)
mesos::internal::tests::MockIsolator::MOCK_METHOD1 ( cleanup  ,
process::Future< Nothing const ContainerID & 
)
mesos::internal::tests::MockIsolator::MOCK_METHOD2 ( recover  ,
process::Future< Nothing const std::list< mesos::slave::ContainerState > &, const hashset< ContainerID > & 
)
mesos::internal::tests::MockIsolator::MOCK_METHOD2 ( prepare  ,
process::Future< Option< mesos::slave::ContainerLaunchInfo >>  const ContainerID &, const mesos::slave::ContainerConfig & 
)
mesos::internal::tests::MockIsolator::MOCK_METHOD2 ( isolate  ,
process::Future< Nothing const ContainerID &, pid_t 
)
mesos::internal::tests::MockIsolator::MOCK_METHOD2 ( update  ,
process::Future< Nothing const ContainerID &, const Resources & 
)

The documentation for this class was generated from the following file: