Search or ask Docker

BuildCacheDiskUsage

BuildCacheDiskUsage schema in Docker Engine API 1.57.

View Markdown

Schema

Type: object

represents system data usage for build cache resources.
ActiveCount

Type: integer

Count of active build cache records.
All schema constraints and annotations
{
  "description": "Count of active build cache records.\n",
  "example": 1,
  "format": "int64",
  "type": "integer"
}
Items

Type: array

List of build cache records.
Array item
All schema constraints and annotations
{
  "x-go-type": {
    "type": "CacheRecord"
  }
}
All schema constraints and annotations
{
  "description": "List of build cache records.\n",
  "items": {
    "x-go-type": {
      "type": "CacheRecord"
    }
  },
  "type": "array",
  "x-omitempty": true
}
Reclaimable

Type: integer

Disk space that can be reclaimed by removing inactive build cache records.
All schema constraints and annotations
{
  "description": "Disk space that can be reclaimed by removing inactive build cache records.\n",
  "example": 12345678,
  "format": "int64",
  "type": "integer"
}
TotalCount

Type: integer

Count of all build cache records.
All schema constraints and annotations
{
  "description": "Count of all build cache records.\n",
  "example": 4,
  "format": "int64",
  "type": "integer"
}
TotalSize

Type: integer

Disk space in use by build cache records.
All schema constraints and annotations
{
  "description": "Disk space in use by build cache records.\n",
  "example": 98765432,
  "format": "int64",
  "type": "integer"
}
All schema constraints and annotations
{
  "description": "represents system data usage for build cache resources.\n",
  "properties": {
    "ActiveCount": {
      "description": "Count of active build cache records.\n",
      "example": 1,
      "format": "int64",
      "type": "integer"
    },
    "Items": {
      "description": "List of build cache records.\n",
      "items": {
        "x-go-type": {
          "type": "CacheRecord"
        }
      },
      "type": "array",
      "x-omitempty": true
    },
    "Reclaimable": {
      "description": "Disk space that can be reclaimed by removing inactive build cache records.\n",
      "example": 12345678,
      "format": "int64",
      "type": "integer"
    },
    "TotalCount": {
      "description": "Count of all build cache records.\n",
      "example": 4,
      "format": "int64",
      "type": "integer"
    },
    "TotalSize": {
      "description": "Disk space in use by build cache records.\n",
      "example": 98765432,
      "format": "int64",
      "type": "integer"
    }
  },
  "type": "object",
  "x-go-name": "DiskUsage",
  "x-go-package": "github.com/moby/moby/api/types/build"
}