rustfs_config/constants/
quota.rs1pub const QUOTA_CONFIG_FILE: &str = "quota.json";
16pub const QUOTA_TYPE_HARD: &str = "HARD";
17
18pub const QUOTA_EXCEEDED_ERROR_CODE: &str = "XRustfsQuotaExceeded";
19pub const QUOTA_INVALID_CONFIG_ERROR_CODE: &str = "InvalidArgument";
20pub const QUOTA_NOT_FOUND_ERROR_CODE: &str = "NoSuchBucket";
21pub const QUOTA_INTERNAL_ERROR_CODE: &str = "InternalError";
22
23pub const QUOTA_API_PATH: &str = "/rustfs/admin/v3/quota/{bucket}";
24
25pub const QUOTA_INVALID_TYPE_ERROR_MSG: &str = "Only HARD quota type is supported";
26pub const QUOTA_METADATA_SYSTEM_ERROR_MSG: &str = "Bucket metadata system not initialized";