mirror of
https://github.com/moby/moby.git
synced 2025-07-29 07:21:35 +03:00
Add /system/df API endpoint
This endpoint return data regarding the space used by docker on disk Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
@ -530,3 +530,12 @@ type Runtime struct {
|
||||
Path string `json:"path"`
|
||||
Args []string `json:"runtimeArgs,omitempty"`
|
||||
}
|
||||
|
||||
// DiskUsage contains response of Remote API:
|
||||
// GET "/system/df"
|
||||
type DiskUsage struct {
|
||||
LayersSize int64
|
||||
Images []*Image
|
||||
Containers []*Container
|
||||
Volumes []*Volume
|
||||
}
|
||||
|
Reference in New Issue
Block a user