add support for unsigned manifests to SizedDigests() in Go SDK
[arvados.git] / sdk / go / arvados / container.go
index ac129526fdda23652e0b7f351c9a9b89c9c6f088..e5050cb79c944673343878d559b75fd3e97807ae 100644 (file)
@@ -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.