projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afcef9c
)
Add StartedAt and FinishedAt fields to arvados.Container.
author
Tom Clegg <tom@tomclegg.ca>
Fri, 1 May 2020 19:58:58 +0000
(15:58 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Fri, 1 May 2020 19:58:58 +0000
(15:58 -0400)
No issue #
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>
sdk/go/arvados/container.go
patch
|
blob
|
history
diff --git
a/sdk/go/arvados/container.go
b/sdk/go/arvados/container.go
index a7edddaa337137fe4c0dc87b3acb9db3fdaf7194..a7edec76dc3c2f77bae447d24585927469c89c77 100644
(file)
--- a/
sdk/go/arvados/container.go
+++ b/
sdk/go/arvados/container.go
@@
-28,6
+28,8
@@
type Container struct {
SchedulingParameters SchedulingParameters `json:"scheduling_parameters"`
ExitCode int `json:"exit_code"`
RuntimeStatus map[string]interface{} `json:"runtime_status"`
+ StartedAt *time.Time `json:"started_at"` // nil if not yet started
+ FinishedAt *time.Time `json:"finished_at"` // nil if not yet finished
}
// Container is an arvados#container resource.