Apache Mesos
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mesos::internal::tests::cluster::Master Class Reference

#include <cluster.hpp>

Public Member Functions

 ~Master ()
 
process::Owned
< mesos::master::detector::MasterDetector
createDetector ()
 
MasterInfo getMasterInfo ()
 
void setAuthorizationCallbacks (Authorizer *authorizer)
 

Static Public Member Functions

static Try< process::Owned
< Master > > 
start (const master::Flags &flags=master::Flags(), const Option< zookeeper::URL > &zookeeperUrl=None(), const Option< mesos::allocator::Allocator * > &allocator=None(), const Option< Authorizer * > &authorizer=None(), const Option< std::shared_ptr< process::RateLimiter >> &slaveRemovalLimiter=None())
 

Public Attributes

process::PID< master::Master > pid
 
process::Owned< MockRegistrarregistrar
 

Constructor & Destructor Documentation

mesos::internal::tests::cluster::Master::~Master ( )

Member Function Documentation

process::Owned<mesos::master::detector::MasterDetector> mesos::internal::tests::cluster::Master::createDetector ( )
MasterInfo mesos::internal::tests::cluster::Master::getMasterInfo ( )
void mesos::internal::tests::cluster::Master::setAuthorizationCallbacks ( Authorizer authorizer)
static Try<process::Owned<Master> > mesos::internal::tests::cluster::Master::start ( const master::Flags &  flags = master::Flags(),
const Option< zookeeper::URL > &  zookeeperUrl = None(),
const Option< mesos::allocator::Allocator * > &  allocator = None(),
const Option< Authorizer * > &  authorizer = None(),
const Option< std::shared_ptr< process::RateLimiter >> &  slaveRemovalLimiter = None() 
)
static

Member Data Documentation

process::PID<master::Master> mesos::internal::tests::cluster::Master::pid
process::Owned<MockRegistrar> mesos::internal::tests::cluster::Master::registrar

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