13497: Rename SystemNodes to NodeProfiles in config.
[arvados.git] / sdk / go / arvados / container.go
index a541a8dca77fb03b9d6728fd8c9c13c5836414c8..daafc4995448524f7fe3794b9facd13e01480823 100644 (file)
@@ -4,9 +4,12 @@
 
 package arvados
 
+import "time"
+
 // Container is an arvados#container resource.
 type Container struct {
        UUID                 string               `json:"uuid"`
+       CreatedAt            time.Time            `json:"created_at"`
        Command              []string             `json:"command"`
        ContainerImage       string               `json:"container_image"`
        Cwd                  string               `json:"cwd"`
@@ -41,9 +44,9 @@ type Mount struct {
 // CPU) and network connectivity.
 type RuntimeConstraints struct {
        API          *bool
-       RAM          int `json:"ram"`
-       VCPUs        int `json:"vcpus"`
-       KeepCacheRAM int `json:"keep_cache_ram"`
+       RAM          int64 `json:"ram"`
+       VCPUs        int   `json:"vcpus"`
+       KeepCacheRAM int64 `json:"keep_cache_ram"`
 }
 
 // SchedulingParameters specify a container's scheduling parameters