зеркало из https://github.com/docker/engine-api.git
Merge pull request #143 from cpuguy83/add_volume_status
Add `Status` field to Volume type
This commit is contained in:
Коммит
0ec73ff029
|
@ -368,9 +368,10 @@ type MountPoint struct {
|
|||
|
||||
// Volume represents the configuration of a volume for the remote API
|
||||
type Volume struct {
|
||||
Name string // Name is the name of the volume
|
||||
Driver string // Driver is the Driver name used to create the volume
|
||||
Mountpoint string // Mountpoint is the location on disk of the volume
|
||||
Name string // Name is the name of the volume
|
||||
Driver string // Driver is the Driver name used to create the volume
|
||||
Mountpoint string // Mountpoint is the location on disk of the volume
|
||||
Status map[string]interface{} `json:",omitempty"` // Status provides low-level status information about the volume
|
||||
}
|
||||
|
||||
// VolumesListResponse contains the response for the remote API:
|
||||
|
|
Загрузка…
Ссылка в новой задаче