|
@@ -438,6 +438,8 @@ type Volume struct {
|
|
|
Status map[string]interface{} `json:",omitempty"` // Status provides low-level status information about the volume
|
|
|
Labels map[string]string // Labels is metadata specific to the volume
|
|
|
Scope string // Scope describes the level at which the volume exists (e.g. `global` for cluster-wide or `local` for machine level)
|
|
|
+ Size int64 // Size holds how much disk space is used by the (local driver only). Sets to -1 if not provided.
|
|
|
+ RefCount int // RefCount holds the number of containers having this volume attached to them. Sets to -1 if not provided.
|
|
|
}
|
|
|
|
|
|
// VolumesListResponse contains the response for the remote API:
|