Apache Mesos
Classes | Namespaces | Enumerations | Functions
utils.hpp File Reference
#include <string>
#include <stout/bytes.hpp>
#include <stout/interval.hpp>
#include <stout/nothing.hpp>
#include <stout/try.hpp>
#include <xfs/xfs_types.h>

Go to the source code of this file.

Classes

struct  mesos::internal::xfs::QuotaInfo
 
class  mesos::internal::xfs::BasicBlocks
 

Namespaces

 mesos
 
 mesos::internal
 
 mesos::internal::xfs
 

Enumerations

enum  mesos::internal::xfs::QuotaPolicy { mesos::internal::xfs::QuotaPolicy::ENFORCING, mesos::internal::xfs::QuotaPolicy::ACCOUNTING }
 

Functions

bool mesos::internal::xfs::operator== (const QuotaInfo &left, const QuotaInfo &right)
 
Option< Errormesos::internal::xfs::validateProjectIds (const IntervalSet< prid_t > &projectRange)
 
bool mesos::internal::xfs::isPathXfs (const std::string &path)
 
Try< bool > mesos::internal::xfs::isQuotaEnabled (const std::string &path)
 
Result< QuotaInfo > mesos::internal::xfs::getProjectQuota (const std::string &path, prid_t projectId)
 
Try< Nothingmesos::internal::xfs::setProjectQuota (const std::string &path, prid_t projectId, Bytes limit)
 
Try< Nothingmesos::internal::xfs::clearProjectQuota (const std::string &path, prid_t projectId)
 
Result< prid_t > mesos::internal::xfs::getProjectId (const std::string &directory)
 
Try< Nothingmesos::internal::xfs::setProjectId (const std::string &directory, prid_t projectId)
 
Try< Nothingmesos::internal::xfs::clearProjectId (const std::string &directory)