Merge pull request #7470 from lengrongfu/feat/sandbox_api_status

Sandbox API: implement Controller.Status for SandboxAPI
This commit is contained in:
Maksym Pavlenko
2022-11-22 18:11:57 -08:00
committed by GitHub
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
}