X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fd178c88e1f61ca4e809073ee5baafa26986eb59..f94ac6e8ad9aec3c781cd71b72fcc5e2c1cedd8d:/sdk/go/arvados/container.go diff --git a/sdk/go/arvados/container.go b/sdk/go/arvados/container.go index de709980fd..7b31726aa0 100644 --- a/sdk/go/arvados/container.go +++ b/sdk/go/arvados/container.go @@ -37,6 +37,9 @@ type Container struct { RuntimeAuthScopes []string `json:"runtime_auth_scopes"` RuntimeToken string `json:"runtime_token"` AuthUUID string `json:"auth_uuid"` + Log string `json:"log"` + Cost float64 `json:"cost"` + SubrequestsCost float64 `json:"subrequests_cost"` } // ContainerRequest is an arvados#container_request resource. @@ -76,6 +79,7 @@ type ContainerRequest struct { ContainerCount int `json:"container_count"` OutputStorageClasses []string `json:"output_storage_classes"` OutputProperties map[string]interface{} `json:"output_properties"` + CumulativeCost float64 `json:"cumulative_cost"` } // Mount is special behavior to attach to a filesystem path or device. @@ -103,11 +107,12 @@ type CUDARuntimeConstraints 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"` - CUDA CUDARuntimeConstraints `json:"cuda"` + API bool `json:"API"` + RAM int64 `json:"ram"` + VCPUs int `json:"vcpus"` + KeepCacheRAM int64 `json:"keep_cache_ram"` + KeepCacheDisk int64 `json:"keep_cache_disk"` + CUDA CUDARuntimeConstraints `json:"cuda"` } // SchedulingParameters specify a container's scheduling parameters @@ -116,6 +121,7 @@ type SchedulingParameters struct { Partitions []string `json:"partitions"` Preemptible bool `json:"preemptible"` MaxRunTime int `json:"max_run_time"` + Supervisor bool `json:"supervisor"` } // ContainerList is an arvados#containerList resource.