Apache Mesos
|
#include <mock_registrar.hpp>
Public Member Functions | |
MockRegistrar (const master::Flags &flags, mesos::state::State *state, const Option< std::string > &authenticationRealm=None()) | |
~MockRegistrar () override | |
MOCK_METHOD1 (apply, process::Future< bool >(process::Owned< master::RegistryOperation > operation)) | |
process::Future< bool > | unmocked_apply (process::Owned< master::RegistryOperation > operation) |
Public Member Functions inherited from mesos::internal::master::Registrar | |
Registrar (const Flags &flags, mesos::state::State *state, const Option< std::string > &authenticationRealm=None()) | |
virtual | ~Registrar () |
process::Future< Registry > | recover (const MasterInfo &info) |
virtual process::Future< bool > | apply (process::Owned< RegistryOperation > operation) |
process::PID< RegistrarProcess > | pid () const |
mesos::internal::tests::MockRegistrar::MockRegistrar | ( | const master::Flags & | flags, |
mesos::state::State * | state, | ||
const Option< std::string > & | authenticationRealm = None() |
||
) |
|
override |
mesos::internal::tests::MockRegistrar::MOCK_METHOD1 | ( | apply | , |
process::Future< bool > | process::Owned< master::RegistryOperation > operation | ||
) |
process::Future<bool> mesos::internal::tests::MockRegistrar::unmocked_apply | ( | process::Owned< master::RegistryOperation > | operation | ) |