mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-03 22:44:24 +01:00
api: add sandbox Status API
It returns the status of current sandbox. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -50,6 +50,7 @@ type VCSandbox interface {
|
||||
Resume() error
|
||||
Release() error
|
||||
Delete() error
|
||||
Status() SandboxStatus
|
||||
CreateContainer(contConfig ContainerConfig) (VCContainer, error)
|
||||
DeleteContainer(contID string) (VCContainer, error)
|
||||
StartContainer(containerID string) (VCContainer, error)
|
||||
|
||||
Reference in New Issue
Block a user