Apache Mesos
Classes | Enumerations | Functions
mesos::internal::xfs Namespace Reference

Classes

class  BasicBlocks
 
struct  QuotaInfo
 

Enumerations

enum  QuotaPolicy { QuotaPolicy::ACCOUNTING, QuotaPolicy::ENFORCING_ACTIVE, QuotaPolicy::ENFORCING_PASSIVE }
 

Functions

bool operator== (const QuotaInfo &left, const QuotaInfo &right)
 
Option< ErrorvalidateProjectIds (const IntervalSet< prid_t > &projectRange)
 
bool isPathXfs (const std::string &path)
 
Try< bool > isQuotaEnabled (const std::string &path)
 
Try< std::string > getDeviceForPath (const std::string &path)
 
Result< QuotaInfogetProjectQuota (const std::string &path, prid_t projectId)
 
Try< NothingsetProjectQuota (const std::string &path, prid_t projectId, Bytes softLimit, Bytes hardLimit)
 
Try< NothingsetProjectQuota (const std::string &path, prid_t projectId, Bytes hardLimit)
 
Try< NothingclearProjectQuota (const std::string &path, prid_t projectId)
 
Result< prid_t > getProjectId (const std::string &directory)
 
Try< NothingsetProjectId (const std::string &directory, prid_t projectId)
 
Try< NothingclearProjectId (const std::string &directory)
 

Enumeration Type Documentation

Enumerator
ACCOUNTING 
ENFORCING_ACTIVE 
ENFORCING_PASSIVE 

Function Documentation

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