add some basic stubs for ro volume support

This commit is contained in:
Brad Rydzewski
2020-01-15 11:44:23 -08:00
parent 6ba65c68ac
commit 0bd2dff3dd
3 changed files with 11 additions and 4 deletions

View File

@@ -101,10 +101,11 @@ type (
// VolumeHostPath mounts a file or directory from the
// host node's filesystem into your container.
VolumeHostPath struct {
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
ID string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
ReadOnly bool `json:"read_only,omitempty"`
}
// VolumeDevice describes a mapping of a raw block