bucketwarden-server 0.1.0

BucketWarden storage server runtime.
Documentation
use super::*;

#[derive(Clone, Debug, Serialize)]
pub struct RuntimeHealth {
    pub status: &'static str,
    pub bucket_count: usize,
    pub object_version_count: usize,
    pub multipart_upload_count: usize,
    pub audit_event_count: usize,
    pub last_replication_sequence: Option<u64>,
}

#[derive(Clone, Debug, Default, Eq, PartialEq, Serialize)]
pub struct TenantRuntimeMetrics {
    pub tenant_id: String,
    pub bucket_count: usize,
    pub object_version_count: usize,
    pub credential_count: usize,
    pub policy_count: usize,
}