Apache Mesos
|
#include <mock_slave.hpp>
Public Member Functions | |
MockQoSController () | |
~MockQoSController () override | |
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< Nothing > | initialize (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) |
mesos::internal::tests::MockQoSController::MockQoSController | ( | ) |
|
override |
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 >()> & | ||
) |