pub struct DiskUsage {
pub images_size: i64,
pub containers_size: i64,
pub volumes_size: i64,
pub build_cache_size: i64,
pub data_root_path: String,
pub data_root_total: i64,
pub data_root_free: i64,
pub images: Vec<ImageDiskEntry>,
}Expand description
Storage consumption reported by a backend runtime.
Fields§
§images_size: i64Total size of all images in bytes (may include shared layers).
containers_size: i64Total size of all workloads/containers in bytes.
volumes_size: i64Total size of all volumes in bytes.
build_cache_size: i64Total build-cache size in bytes.
data_root_path: StringRuntime data-root path (best effort; empty for remote daemons).
data_root_total: i64Total filesystem capacity of the data root in bytes (0 if unavailable).
data_root_free: i64Free filesystem space of the data root in bytes (0 if unavailable).
images: Vec<ImageDiskEntry>Per-image disk usage breakdown.
Trait Implementations§
impl Eq for DiskUsage
impl StructuralPartialEq for DiskUsage
Auto Trait Implementations§
impl Freeze for DiskUsage
impl RefUnwindSafe for DiskUsage
impl Send for DiskUsage
impl Sync for DiskUsage
impl Unpin for DiskUsage
impl UnsafeUnpin for DiskUsage
impl UnwindSafe for DiskUsage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more