21126: Add AllowTrashWhenReadOnly flag.
[arvados.git] / sdk / go / arvados / config.go
index a3e54952da483c46a87416b200291bc65b66304b..5db0222e27f4e08242354f2b93a05aeb65f87757 100644 (file)
@@ -316,12 +316,13 @@ type StorageClassConfig struct {
 }
 
 type Volume struct {
-       AccessViaHosts   map[URL]VolumeAccess
-       ReadOnly         bool
-       Replication      int
-       StorageClasses   map[string]bool
-       Driver           string
-       DriverParameters json.RawMessage
+       AccessViaHosts         map[URL]VolumeAccess
+       ReadOnly               bool
+       AllowTrashWhenReadOnly bool
+       Replication            int
+       StorageClasses         map[string]bool
+       Driver                 string
+       DriverParameters       json.RawMessage
 }
 
 type S3VolumeDriverParameters struct {