summary.go 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. package image
  2. // This file was generated by the swagger tool.
  3. // Editing this file might prove futile when you re-run the swagger generate command
  4. // Summary summary
  5. // swagger:model Summary
  6. type Summary struct {
  7. // Number of containers using this image. Includes both stopped and running
  8. // containers.
  9. //
  10. // This size is not calculated by default, and depends on which API endpoint
  11. // is used. `-1` indicates that the value has not been set / calculated.
  12. //
  13. // Required: true
  14. Containers int64 `json:"Containers"`
  15. // Date and time at which the image was created as a Unix timestamp
  16. // (number of seconds sinds EPOCH).
  17. //
  18. // Required: true
  19. Created int64 `json:"Created"`
  20. // ID is the content-addressable ID of an image.
  21. //
  22. // This identifier is a content-addressable digest calculated from the
  23. // image's configuration (which includes the digests of layers used by
  24. // the image).
  25. //
  26. // Note that this digest differs from the `RepoDigests` below, which
  27. // holds digests of image manifests that reference the image.
  28. //
  29. // Required: true
  30. ID string `json:"Id"`
  31. // User-defined key/value metadata.
  32. // Required: true
  33. Labels map[string]string `json:"Labels"`
  34. // ID of the parent image.
  35. //
  36. // Depending on how the image was created, this field may be empty and
  37. // is only set for images that were built/created locally. This field
  38. // is empty if the image was pulled from an image registry.
  39. //
  40. // Required: true
  41. ParentID string `json:"ParentId"`
  42. // List of content-addressable digests of locally available image manifests
  43. // that the image is referenced from. Multiple manifests can refer to the
  44. // same image.
  45. //
  46. // These digests are usually only available if the image was either pulled
  47. // from a registry, or if the image was pushed to a registry, which is when
  48. // the manifest is generated and its digest calculated.
  49. //
  50. // Required: true
  51. RepoDigests []string `json:"RepoDigests"`
  52. // List of image names/tags in the local image cache that reference this
  53. // image.
  54. //
  55. // Multiple image tags can refer to the same image, and this list may be
  56. // empty if no tags reference the image, in which case the image is
  57. // "untagged", in which case it can still be referenced by its ID.
  58. //
  59. // Required: true
  60. RepoTags []string `json:"RepoTags"`
  61. // Total size of image layers that are shared between this image and other
  62. // images.
  63. //
  64. // This size is not calculated by default. `-1` indicates that the value
  65. // has not been set / calculated.
  66. //
  67. // Required: true
  68. SharedSize int64 `json:"SharedSize"`
  69. // Total size of the image including all layers it is composed of.
  70. //
  71. // Required: true
  72. Size int64 `json:"Size"`
  73. // Total size of the image including all layers it is composed of.
  74. //
  75. // Deprecated: this field is omitted in API v1.44, but kept for backward compatibility. Use Size instead.
  76. VirtualSize int64 `json:"VirtualSize,omitempty"`
  77. }