feat add sandbox api status func

Signed-off-by: rongfu.leng <rongfu.leng@daocloud.io>
This commit is contained in:
rongfu.leng
2022-09-30 00:32:50 +08:00
committed by rongfu.leng
parent d4b3b54540
commit 0f54c47401
4 changed files with 66 additions and 5 deletions

View File

@@ -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
}