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::MasterDetectorcreateDetector ()
 
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
 
process::Owned< master::Master > master
 

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::Owned<master::Master> mesos::internal::tests::cluster::Master::master
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: