Apache Mesos
Classes | Functions
cgroups::devices Namespace Reference

Classes

struct  Entry
 

Functions

std::ostream & operator<< (std::ostream &stream, const Entry::Selector::Type &type)
 
std::ostream & operator<< (std::ostream &stream, const Entry::Selector &selector)
 
std::ostream & operator<< (std::ostream &stream, const Entry::Access &access)
 
std::ostream & operator<< (std::ostream &stream, const Entry &entry)
 
bool operator== (const Entry::Selector &left, const Entry::Selector &right)
 
bool operator== (const Entry::Access &left, const Entry::Access &right)
 
bool operator== (const Entry &left, const Entry &right)
 
Try< std::vector< Entry > > list (const std::string &hierarchy, const std::string &cgroup)
 
Try< Nothingallow (const std::string &hierarchy, const std::string &cgroup, const Entry &entry)
 
Try< Nothingdeny (const std::string &hierarchy, const std::string &cgroup, const Entry &entry)
 

Function Documentation

Try<Nothing> cgroups::devices::allow ( const std::string &  hierarchy,
const std::string &  cgroup,
const Entry entry 
)
Try<Nothing> cgroups::devices::deny ( const std::string &  hierarchy,
const std::string &  cgroup,
const Entry entry 
)
Try<std::vector<Entry> > cgroups::devices::list ( const std::string &  hierarchy,
const std::string &  cgroup 
)
std::ostream& cgroups::devices::operator<< ( std::ostream &  stream,
const Entry::Selector::Type type 
)
std::ostream& cgroups::devices::operator<< ( std::ostream &  stream,
const Entry::Selector selector 
)
std::ostream& cgroups::devices::operator<< ( std::ostream &  stream,
const Entry::Access access 
)
std::ostream& cgroups::devices::operator<< ( std::ostream &  stream,
const Entry entry 
)
bool cgroups::devices::operator== ( const Entry::Selector left,
const Entry::Selector right 
)
bool cgroups::devices::operator== ( const Entry::Access left,
const Entry::Access right 
)
bool cgroups::devices::operator== ( const Entry left,
const Entry right 
)