api: add sandbox pause and resume API

By exporting the existing sandbox operations.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
Peng Tao
2018-04-17 17:22:28 +08:00
parent eb23771d5a
commit 5165de0d76
3 changed files with 18 additions and 4 deletions

View File

@@ -54,3 +54,13 @@ func (p *Sandbox) GetContainer(containerID string) vc.VCContainer {
func (p *Sandbox) Release() error {
return nil
}
// Pause implements the VCSandbox function of the same name.
func (p *Sandbox) Pause() error {
return nil
}
// Resume implements the VCSandbox function of the same name.
func (p *Sandbox) Resume() error {
return nil
}