Merge branch '18349-fed-request-id'
[arvados.git] / sdk / go / arvados / container.go
index 384bebb5997ee86b1b1be2396498f1554ee32ecc..27afc1a3abbb31f380a20fdfb6110a5300168afb 100644 (file)
@@ -36,6 +36,7 @@ type Container struct {
        RuntimeUserUUID           string                 `json:"runtime_user_uuid"`
        RuntimeAuthScopes         []string               `json:"runtime_auth_scopes"`
        RuntimeToken              string                 `json:"runtime_token"`
+       AuthUUID                  string                 `json:"auth_uuid"`
 }
 
 // ContainerRequest is an arvados#container_request resource.
@@ -95,10 +96,13 @@ type Mount struct {
 // RuntimeConstraints specify a container's compute resources (RAM,
 // CPU) and network connectivity.
 type RuntimeConstraints struct {
-       API          bool  `json:"API"`
-       RAM          int64 `json:"ram"`
-       VCPUs        int   `json:"vcpus"`
-       KeepCacheRAM int64 `json:"keep_cache_ram"`
+       API                    bool   `json:"API"`
+       RAM                    int64  `json:"ram"`
+       VCPUs                  int    `json:"vcpus"`
+       KeepCacheRAM           int64  `json:"keep_cache_ram"`
+       CUDADriverVersion      string `json:"cuda_driver_version,omitempty"`
+       CUDAHardwareCapability string `json:"cuda_hardware_capability,omitempty"`
+       CUDADeviceCount        int    `json:"cuda_device_count,omitempty"`
 }
 
 // SchedulingParameters specify a container's scheduling parameters