Move runtime and Mounts to container config

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-10-28 15:51:31 -07:00
parent 3551d4c0b9
commit 788e19d251
6 changed files with 56 additions and 72 deletions

View file

@ -8,9 +8,7 @@ import (
specs "github.com/opencontainers/runtime-spec/specs-go"
)
var (
ErrNotExecProcess = errors.New("containerkit: process not an exec process")
)
var ErrNotExecProcess = errors.New("containerkit: process not an exec process")
type ProcessDelegate interface {
Pid() int
@ -26,7 +24,7 @@ type Process struct {
exec bool
s *specs.Process
driver ExecutionDriver
driver Runtime
c *Container
d ProcessDelegate
}