File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 11package specs
22
3+ // ContainerState represents the state of a container.
4+ type ContainerState string
5+
6+ const (
7+ // StateCreating indicates that the container is being created
8+ StateCreating ContainerState = "creating"
9+
10+ // StateCreated indicates that the runtime has finished the create operation
11+ StateCreated ContainerState = "created"
12+
13+ // StateRunning indicates that the container process has executed the
14+ // user-specified program but has not exited
15+ StateRunning ContainerState = "running"
16+
17+ // StateStopped indicates that the container process has exited
18+ StateStopped ContainerState = "stopped"
19+ )
20+
321// State holds information about the runtime state of the container.
422type State struct {
523 // Version is the version of the specification that is supported.
You can’t perform that action at this time.
0 commit comments