mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-23 09:14:27 +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:
@@ -89,3 +89,8 @@ func (p *Sandbox) StartContainer(contID string) (vc.VCContainer, error) {
|
||||
func (p *Sandbox) StatusContainer(contID string) (vc.ContainerStatus, error) {
|
||||
return vc.ContainerStatus{}, nil
|
||||
}
|
||||
|
||||
// Status implements the VCSandbox function of the same name.
|
||||
func (p *Sandbox) Status() vc.SandboxStatus {
|
||||
return vc.SandboxStatus{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user