feat add sandbox api status func
Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io>
This commit is contained in:
@@ -99,6 +99,10 @@ type Status struct {
|
||||
Pid uint32
|
||||
// CreatedAt is the created timestamp.
|
||||
CreatedAt time.Time
|
||||
// ExitedAt is the stop timestamp
|
||||
ExitedAt time.Time
|
||||
// ExitStatus is the stop sandbox status
|
||||
ExitStatus uint32
|
||||
// State is the state of the sandbox.
|
||||
State State
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user