Move runtime and Mounts to container config
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
3551d4c0b9
commit
788e19d251
6 changed files with 56 additions and 72 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue