execution/oci: use Status type instead of string
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
parent
7dd69a8597
commit
abaa421141
8 changed files with 56 additions and 44 deletions
|
@ -3,6 +3,7 @@ package execution
|
|||
type Status string
|
||||
|
||||
const (
|
||||
Created Status = "created"
|
||||
Paused Status = "paused"
|
||||
Running Status = "running"
|
||||
Stopped Status = "stopped"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue