mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-24 01:24:26 +01:00
api: add sandbox CreateContainer API
And make CreateContainer in api.go a wrapper of it. Signed-off-by: Peng Tao <bergwolf@gmail.com>
This commit is contained in:
@@ -69,3 +69,8 @@ func (p *Sandbox) Resume() error {
|
||||
func (p *Sandbox) Delete() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateContainer implements the VCSandbox function of the same name.
|
||||
func (p *Sandbox) CreateContainer(conf vc.ContainerConfig) (vc.VCContainer, error) {
|
||||
return &Container{}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user