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

#include <cluster.hpp>

Public Member Functions

 ~Slave ()
 
void shutdown ()
 
void terminate ()
 
MockSlavemock ()
 
void start ()
 
void setAuthorizationCallbacks (Authorizer *authorizer)
 

Static Public Member Functions

static Try< process::Owned< Slave > > create (mesos::master::detector::MasterDetector *detector, const slave::Flags &flags=slave::Flags(), const Option< std::string > &id=None(), const Option< slave::Containerizer * > &containerizer=None(), const Option< slave::GarbageCollector * > &gc=None(), const Option< slave::TaskStatusUpdateManager * > &taskStatusUpdateManager=None(), const Option< mesos::slave::ResourceEstimator * > &resourceEstimator=None(), const Option< mesos::slave::QoSController * > &qosController=None(), const Option< mesos::SecretGenerator * > &secretGenerator=None(), const Option< Authorizer * > &authorizer=None(), const Option< PendingFutureTracker * > &futureTracker=None(), const Option< process::Owned< slave::CSIServer >> &csiServer=None(), bool mock=false)
 

Public Attributes

process::PID< slave::Slavepid
 

Constructor & Destructor Documentation

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

Member Function Documentation

static Try<process::Owned<Slave> > mesos::internal::tests::cluster::Slave::create ( mesos::master::detector::MasterDetector detector,
const slave::Flags flags = slave::Flags(),
const Option< std::string > &  id = None(),
const Option< slave::Containerizer * > &  containerizer = None(),
const Option< slave::GarbageCollector * > &  gc = None(),
const Option< slave::TaskStatusUpdateManager * > &  taskStatusUpdateManager = None(),
const Option< mesos::slave::ResourceEstimator * > &  resourceEstimator = None(),
const Option< mesos::slave::QoSController * > &  qosController = None(),
const Option< mesos::SecretGenerator * > &  secretGenerator = None(),
const Option< Authorizer * > &  authorizer = None(),
const Option< PendingFutureTracker * > &  futureTracker = None(),
const Option< process::Owned< slave::CSIServer >> &  csiServer = None(),
bool  mock = false 
)
static
MockSlave* mesos::internal::tests::cluster::Slave::mock ( )
void mesos::internal::tests::cluster::Slave::setAuthorizationCallbacks ( Authorizer authorizer)
void mesos::internal::tests::cluster::Slave::shutdown ( )
void mesos::internal::tests::cluster::Slave::start ( )
void mesos::internal::tests::cluster::Slave::terminate ( )

Member Data Documentation

process::PID<slave::Slave> mesos::internal::tests::cluster::Slave::pid

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