execution/oci: use Status type instead of string

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-12-14 19:10:35 -08:00
parent 7dd69a8597
commit abaa421141
8 changed files with 56 additions and 44 deletions

View file

@ -3,6 +3,7 @@ package execution
type Status string
const (
Created Status = "created"
Paused Status = "paused"
Running Status = "running"
Stopped Status = "stopped"