Merge pull request #7470 from lengrongfu/feat/sandbox_api_status
Sandbox API: implement Controller.Status for SandboxAPI
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