api/types: use regular slices for disk usage types

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
Austin Vazquez
2025-11-05 14:39:20 -06:00
parent 52217f1592
commit 6881ae72c7
15 changed files with 131 additions and 135 deletions

View File

@@ -2096,7 +2096,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: Summary
@@ -2279,7 +2278,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: Volume
@@ -2893,7 +2891,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: CacheRecord
@@ -5617,7 +5614,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: Summary

View File

@@ -2096,7 +2096,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: Summary
@@ -2279,7 +2278,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: Volume
@@ -2893,7 +2891,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: CacheRecord
@@ -5617,7 +5614,6 @@ definitions:
type: "array"
x-omitempty: true
items:
x-nullable: true
x-go-type:
type: Summary

View File

@@ -17,7 +17,7 @@ type DiskUsage struct {
// List of build cache records.
//
Items []*CacheRecord `json:"Items,omitempty"`
Items []CacheRecord `json:"Items,omitempty"`
// Disk space that can be reclaimed by removing inactive build cache records.
//

View File

@@ -17,7 +17,7 @@ type DiskUsage struct {
// List of container summaries.
//
Items []*Summary `json:"Items,omitempty"`
Items []Summary `json:"Items,omitempty"`
// Disk space that can be reclaimed by removing inactive containers.
//

View File

@@ -17,7 +17,7 @@ type DiskUsage struct {
// List of image summaries.
//
Items []*Summary `json:"Items,omitempty"`
Items []Summary `json:"Items,omitempty"`
// Disk space that can be reclaimed by removing unused images.
//

View File

@@ -17,7 +17,7 @@ type DiskUsage struct {
// List of volumes.
//
Items []*Volume `json:"Items,omitempty"`
Items []Volume `json:"Items,omitempty"`
// Disk space that can be reclaimed by removing inactive volumes.
//