Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 237cc4f commit 3e7de59Copy full SHA for 3e7de59
specs-go/state.go
@@ -1,5 +1,20 @@
1
package specs
2
3
+const (
4
+ // StateCreating indicates that the container is being created
5
+ StateCreating = "creating"
6
+
7
+ // StateCreated indicates that the runtime has finished the create operation
8
+ StateCreated = "created"
9
10
+ // StateRunning indicates that the container process has executed the
11
+ // user-specified program but has not exited
12
+ StateRunning = "running"
13
14
+ // StateStopped indicates that the container process has exited
15
+ StateStopped = "stopped"
16
+)
17
18
// State holds information about the runtime state of the container.
19
type State struct {
20
// Version is the version of the specification that is supported.
0 commit comments