Skip to main content

Module system

Module system 

Source
Expand description

System disk-usage and prune API DTOs.

Wire-format types shared between the daemon’s zlayer system df / zlayer system prune endpoints and SDK clients. The daemon (zlayer-api) returns these shapes and the client (zlayer-client) decodes them. Moved out of zlayer-api so SDK crates can depend on them without pulling in the full server stack.

Structs§

DiskUsageCategory
Disk usage for one ZLayer storage category (mirrors docker system df).
SystemDiskUsage
Aggregate disk-usage report for zlayer system df.
SystemPruneReport
Summary of what zlayer system prune removed, per category + totals.