Unverified Commit 346444be authored by Danielle Lancashire's avatar Danielle Lancashire
Browse files

api: Add HostVolumeInfo to response parsing

parent 869f1da3
Showing with 8 additions and 0 deletions
+8 -0
......@@ -436,6 +436,13 @@ type DriverInfo struct {
UpdateTime time.Time
}
// HostVolumeInfo is used to return metadata about a given HostVolume.
type HostVolumeInfo struct {
Source string
ReadOnly bool
Hidden bool
}
// Node is used to deserialize a node entry.
type Node struct {
ID string
......@@ -459,6 +466,7 @@ type Node struct {
StatusUpdatedAt int64
Events []*NodeEvent
Drivers map[string]*DriverInfo
HostVolumes map[string]*HostVolumeInfo
CreateIndex uint64
ModifyIndex uint64
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment