Uh oh!
There was an error while loading. Please reload this page.
Add 'status' to state.go - #485
Conversation
Forgot to do this in previous PR. Signed-off-by: Doug Davis <dug@us.ibm.com>
wking
commented
Jun 2, 2016
via email
Cross-linking #462. |
mrunalp
commented
Jun 3, 2016
Wondering if having this be an enum might be better. |
duglin
commented
Jun 3, 2016
can implementations still extend it? |
mrunalp
commented
Jun 3, 2016
@duglin I guess nothing is stopping implementations as long as they support at the least the ones that we have in the spec. That said, I don't see why we wouldn't add any reasonable statuses to the spec. |
duglin
commented
Jun 3, 2016
immediately runc will extend it with things like 'paused'. |
wking
commented
Jun 3, 2016
On Thu, Jun 02, 2016 at 06:51:36PM -0700, Doug Davis wrote:
runC has pause/resume, and in that context “paused” makes sense. But a. Tell runC (and other runtimes) to put its augmented status (a) is unfortunately noisy, but workable in the face of lifecycle |
mrunalp
commented
Jun 3, 2016
If a runtime can add states, then it can also add state transitions to support those states. If one is using runc per the standard, then they wouldn't get into a paused state, so they could stick with what is in the spec. I think this wouldn't be a big issue in practice. |
wking
commented
Jun 3, 2016
On Fri, Jun 03, 2016 at 08:09:00AM -0700, Mrunal Patel wrote:
This assumes that the caller is always using OCI-oriented tools or |
mrunalp
commented
Jun 3, 2016
We never did conclude whether to go with string or enum before merging... |
crosbymichael
commented
Jun 3, 2016
I'd say string for now because we only define 3 in the spec and allow for runtime defined states |
Forgot to do this in previous PR.
Signed-off-by: Doug Davis dug@us.ibm.com