Apache Mesos
|
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< Error > | validateProjectIds (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< QuotaInfo > | getProjectQuota (const std::string &path, prid_t projectId) |
Try< Nothing > | setProjectQuota (const std::string &path, prid_t projectId, Bytes softLimit, Bytes hardLimit) |
Try< Nothing > | setProjectQuota (const std::string &path, prid_t projectId, Bytes hardLimit) |
Try< Nothing > | clearProjectQuota (const std::string &path, prid_t projectId) |
Result< prid_t > | getProjectId (const std::string &directory) |
Try< Nothing > | setProjectId (const std::string &directory, prid_t projectId) |
Try< Nothing > | clearProjectId (const std::string &directory) |
|
strong |
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 | ) |
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 | ) |