Apache Mesos
|
#include <mock_slave.hpp>
Public Member Functions | |
MockResourceEstimator () | |
~MockResourceEstimator () override | |
MOCK_METHOD1 (initialize, Try< Nothing >(const lambda::function< process::Future< ResourceUsage >()> &)) | |
MOCK_METHOD0 (oversubscribable, process::Future< Resources >()) | |
Public Member Functions inherited from mesos::slave::ResourceEstimator | |
virtual | ~ResourceEstimator () |
virtual Try< Nothing > | initialize (const lambda::function< process::Future< ResourceUsage >()> &usage)=0 |
virtual process::Future< Resources > | oversubscribable ()=0 |
Additional Inherited Members | |
Static Public Member Functions inherited from mesos::slave::ResourceEstimator | |
static Try< ResourceEstimator * > | create (const Option< std::string > &type) |
mesos::internal::tests::MockResourceEstimator::MockResourceEstimator | ( | ) |
|
override |
mesos::internal::tests::MockResourceEstimator::MOCK_METHOD0 | ( | oversubscribable | , |
process::Future< Resources > | () | ||
) |
mesos::internal::tests::MockResourceEstimator::MOCK_METHOD1 | ( | initialize | , |
Try< Nothing > | const lambda::function< process::Future< ResourceUsage >()> & | ||
) |