Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::master::Role Struct Reference

#include <master.hpp>

Public Member Functions

 Role ()=delete
 
 Role (const Master *_master, const std::string &_role)
 
void addFramework (Framework *framework)
 
void removeFramework (Framework *framework)
 

Public Attributes

const Mastermaster
 
const std::string role
 
hashmap< FrameworkID, Framework * > frameworks
 

Constructor & Destructor Documentation

mesos::internal::master::Role::Role ( )
delete
mesos::internal::master::Role::Role ( const Master _master,
const std::string &  _role 
)
inline

Member Function Documentation

void mesos::internal::master::Role::addFramework ( Framework framework)
inline
void mesos::internal::master::Role::removeFramework ( Framework framework)
inline

Member Data Documentation

hashmap<FrameworkID, Framework*> mesos::internal::master::Role::frameworks
const Master* mesos::internal::master::Role::master
const std::string mesos::internal::master::Role::role

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