File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
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+
36const (
47 // StateCreating indicates that the container is being created
5- StateCreating = "creating"
8+ StateCreating ContainerState = "creating"
69
710 // StateCreated indicates that the runtime has finished the create operation
8- StateCreated = "created"
11+ StateCreated ContainerState = "created"
912
1013 // StateRunning indicates that the container process has executed the
1114 // user-specified program but has not exited
12- StateRunning = "running"
15+ StateRunning ContainerState = "running"
1316
1417 // StateStopped indicates that the container process has exited
15- StateStopped = "stopped"
18+ StateStopped ContainerState = "stopped"
1619)
1720
1821// State holds information about the runtime state of the container.
You can’t perform that action at this time.
0 commit comments