api/types: rename disk usage fields

Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
Austin Vazquez
2025-11-06 15:56:40 -06:00
parent 217fd78905
commit 931c347b36
14 changed files with 76 additions and 76 deletions

View File

@@ -2066,13 +2066,13 @@ definitions:
description: |
represents system data usage for image resources.
properties:
ActiveImages:
ActiveCount:
description: |
Count of active images.
type: "integer"
format: "int64"
example: 1
TotalImages:
TotalCount:
description: |
Count of all images.
type: "integer"
@@ -2248,13 +2248,13 @@ definitions:
description: |
represents system data usage for volume resources.
properties:
ActiveVolumes:
ActiveCount:
description: |
Count of active volumes.
type: "integer"
format: "int64"
example: 1
TotalVolumes:
TotalCount:
description: |
Count of all volumes.
type: "integer"
@@ -2861,13 +2861,13 @@ definitions:
description: |
represents system data usage for build cache resources.
properties:
ActiveBuildCacheRecords:
ActiveCount:
description: |
Count of active build cache records.
type: "integer"
format: "int64"
example: 1
TotalBuildCacheRecords:
TotalCount:
description: |
Count of all build cache records.
type: "integer"
@@ -5584,13 +5584,13 @@ definitions:
description: |
represents system data usage information for container resources.
properties:
ActiveContainers:
ActiveCount:
description: |
Count of active containers.
type: "integer"
format: "int64"
example: 1
TotalContainers:
TotalCount:
description: |
Count of all containers.
type: "integer"

View File

@@ -2066,13 +2066,13 @@ definitions:
description: |
represents system data usage for image resources.
properties:
ActiveImages:
ActiveCount:
description: |
Count of active images.
type: "integer"
format: "int64"
example: 1
TotalImages:
TotalCount:
description: |
Count of all images.
type: "integer"
@@ -2248,13 +2248,13 @@ definitions:
description: |
represents system data usage for volume resources.
properties:
ActiveVolumes:
ActiveCount:
description: |
Count of active volumes.
type: "integer"
format: "int64"
example: 1
TotalVolumes:
TotalCount:
description: |
Count of all volumes.
type: "integer"
@@ -2861,13 +2861,13 @@ definitions:
description: |
represents system data usage for build cache resources.
properties:
ActiveBuildCacheRecords:
ActiveCount:
description: |
Count of active build cache records.
type: "integer"
format: "int64"
example: 1
TotalBuildCacheRecords:
TotalCount:
description: |
Count of all build cache records.
type: "integer"
@@ -5584,13 +5584,13 @@ definitions:
description: |
represents system data usage information for container resources.
properties:
ActiveContainers:
ActiveCount:
description: |
Count of active containers.
type: "integer"
format: "int64"
example: 1
TotalContainers:
TotalCount:
description: |
Count of all containers.
type: "integer"

View File

@@ -13,7 +13,7 @@ type DiskUsage struct {
// Count of active build cache records.
//
// Example: 1
ActiveBuildCacheRecords int64 `json:"ActiveBuildCacheRecords,omitempty"`
ActiveCount int64 `json:"ActiveCount,omitempty"`
// List of build cache records.
//
@@ -27,7 +27,7 @@ type DiskUsage struct {
// Count of all build cache records.
//
// Example: 4
TotalBuildCacheRecords int64 `json:"TotalBuildCacheRecords,omitempty"`
TotalCount int64 `json:"TotalCount,omitempty"`
// Disk space in use by build cache records.
//

View File

@@ -13,7 +13,7 @@ type DiskUsage struct {
// Count of active containers.
//
// Example: 1
ActiveContainers int64 `json:"ActiveContainers,omitempty"`
ActiveCount int64 `json:"ActiveCount,omitempty"`
// List of container summaries.
//
@@ -27,7 +27,7 @@ type DiskUsage struct {
// Count of all containers.
//
// Example: 4
TotalContainers int64 `json:"TotalContainers,omitempty"`
TotalCount int64 `json:"TotalCount,omitempty"`
// Disk space in use by containers.
//

View File

@@ -13,7 +13,7 @@ type DiskUsage struct {
// Count of active images.
//
// Example: 1
ActiveImages int64 `json:"ActiveImages,omitempty"`
ActiveCount int64 `json:"ActiveCount,omitempty"`
// List of image summaries.
//
@@ -27,7 +27,7 @@ type DiskUsage struct {
// Count of all images.
//
// Example: 4
TotalImages int64 `json:"TotalImages,omitempty"`
TotalCount int64 `json:"TotalCount,omitempty"`
// Disk space in use by images.
//

View File

@@ -13,7 +13,7 @@ type DiskUsage struct {
// Count of active volumes.
//
// Example: 1
ActiveVolumes int64 `json:"ActiveVolumes,omitempty"`
ActiveCount int64 `json:"ActiveCount,omitempty"`
// List of volumes.
//
@@ -24,13 +24,13 @@ type DiskUsage struct {
// Example: 12345678
Reclaimable int64 `json:"Reclaimable,omitempty"`
// Count of all volumes.
//
// Example: 4
TotalCount int64 `json:"TotalCount,omitempty"`
// Disk space in use by volumes.
//
// Example: 98765432
TotalSize int64 `json:"TotalSize,omitempty"`
// Count of all volumes.
//
// Example: 4
TotalVolumes int64 `json:"TotalVolumes,omitempty"`
}