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 std::string &_role)
 
void addFramework (Framework *framework)
 
void removeFramework (Framework *framework)
 
Resources allocatedResources () const
 

Public Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

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