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

#include <mock_registrar.hpp>

Inheritance diagram for mesos::internal::tests::MockRegistrar:
mesos::internal::master::Registrar

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
 

Constructor & Destructor Documentation

mesos::internal::tests::MockRegistrar::MockRegistrar ( const master::Flags &  flags,
mesos::state::State state,
const Option< std::string > &  authenticationRealm = None() 
)
mesos::internal::tests::MockRegistrar::~MockRegistrar ( )
override

Member Function Documentation

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)

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