mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
api/types: use regular slices for disk usage types
Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
//
|
||||
|
||||
@@ -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.
|
||||
//
|
||||
|
||||
@@ -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.
|
||||
//
|
||||
|
||||
@@ -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.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user