containerd/execution.go
Michael Crosby b3ab74fee3 Add rough container type and runc runtime
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-09-28 15:09:22 -07:00

14 lines
310 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)
}