X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f00c2849c5cdbe179d61bcaa1374d355844c2fae..e892c7ee96f28bef7d5b2a9314eb9549ee56634d:/sdk/go/arvados/container.go?ds=inline diff --git a/sdk/go/arvados/container.go b/sdk/go/arvados/container.go index ac129526fd..e5050cb79c 100644 --- a/sdk/go/arvados/container.go +++ b/sdk/go/arvados/container.go @@ -18,20 +18,22 @@ 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"` + 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"` } // RuntimeConstraints specify a container's compute resources (RAM, // CPU) and network connectivity. type RuntimeConstraints struct { - API *bool - RAM int `json:"ram"` - VCPUs int `json:"vcpus"` + API *bool + RAM int `json:"ram"` + VCPUs int `json:"vcpus"` + Partition []string `json:"partition"` } // ContainerList is an arvados#containerList resource.