X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/22f9af1104fa45e95ef3cd8b5a770fc0b9ed0fd3..50e724b9f45eb25825486e17839e4d2867343caf:/sdk/go/arvados/container.go diff --git a/sdk/go/arvados/container.go b/sdk/go/arvados/container.go index de709980fd..2467e807a1 100644 --- a/sdk/go/arvados/container.go +++ b/sdk/go/arvados/container.go @@ -19,6 +19,7 @@ type Container struct { Cwd string `json:"cwd"` Environment map[string]string `json:"environment"` LockedByUUID string `json:"locked_by_uuid"` + LockCount int `json:"lock_count"` Mounts map[string]Mount `json:"mounts"` Output string `json:"output"` OutputPath string `json:"output_path"` @@ -37,6 +38,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 +80,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 +108,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 +122,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.