containerd/execution.go
Michael Crosby 23adfe42f9 Add loading of existing container
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-30 13:51:10 -07:00

15 lines
352 B
Go

package containerkit
import "errors"
var (
ErrProcessSet = errors.New("containerkit: container process is already set")
)
type ExecutionDriver interface {
Create(*Container) (ProcessDelegate, error)
Start(*Container) error
Delete(*Container) error
Exec(*Container, *Process) (ProcessDelegate, error)
Load(id string) (ProcessDelegate, error)
}