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

#include <mock_slave.hpp>

Inheritance diagram for mesos::internal::tests::MockQoSController:
mesos::slave::QoSController

Public Member Functions

 MockQoSController ()
 
virtual ~MockQoSController ()
 
 MOCK_METHOD1 (initialize, Try< Nothing >(const lambda::function< process::Future< ResourceUsage >()> &))
 
 MOCK_METHOD0 (corrections, process::Future< std::list< mesos::slave::QoSCorrection >>())
 
- Public Member Functions inherited from mesos::slave::QoSController
virtual ~QoSController ()
 
virtual Try< Nothinginitialize (const lambda::function< process::Future< ResourceUsage >()> &usage)=0
 
virtual process::Future
< std::list< QoSCorrection > > 
corrections ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from mesos::slave::QoSController
static Try< QoSController * > create (const Option< std::string > &type)
 

Constructor & Destructor Documentation

mesos::internal::tests::MockQoSController::MockQoSController ( )
virtual mesos::internal::tests::MockQoSController::~MockQoSController ( )
virtual

Member Function Documentation

mesos::internal::tests::MockQoSController::MOCK_METHOD0 ( corrections  ,
process::Future< std::list< mesos::slave::QoSCorrection >>  () 
)
mesos::internal::tests::MockQoSController::MOCK_METHOD1 ( initialize  ,
Try< Nothing const lambda::function< process::Future< ResourceUsage >()> & 
)

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