Merge branch '12913-secondary-mounts' refs #12913
[arvados.git] / sdk / go / arvados / container.go
index 61c14ea0b6c1d445bb2a26fb83a57614e0b240f9..a541a8dca77fb03b9d6728fd8c9c13c5836414c8 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+
 package arvados
 
 // Container is an arvados#container resource.
@@ -19,13 +23,18 @@ type Container struct {
 
 // Mount is special behavior to attach to a filesystem path or device.
 type Mount struct {
-       Kind             string      `json:"kind"`
-       Writable         bool        `json:"writable"`
-       PortableDataHash string      `json:"portable_data_hash"`
-       UUID             string      `json:"uuid"`
-       DeviceType       string      `json:"device_type"`
-       Path             string      `json:"path"`
-       Content          interface{} `json:"content"`
+       Kind              string      `json:"kind"`
+       Writable          bool        `json:"writable"`
+       PortableDataHash  string      `json:"portable_data_hash"`
+       UUID              string      `json:"uuid"`
+       DeviceType        string      `json:"device_type"`
+       Path              string      `json:"path"`
+       Content           interface{} `json:"content"`
+       ExcludeFromOutput bool        `json:"exclude_from_output"`
+       Capacity          int64       `json:"capacity"`
+       Commit            string      `json:"commit"`          // only if kind=="git_tree"
+       RepositoryName    string      `json:"repository_name"` // only if kind=="git_tree"
+       GitURL            string      `json:"git_url"`         // only if kind=="git_tree"
 }
 
 // RuntimeConstraints specify a container's compute resources (RAM,