Move libcontainer to linux pkg

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-01 12:00:11 -08:00
parent c24abdde1b
commit b823ce9149
4 changed files with 18 additions and 10 deletions

View file

@ -1,6 +1,15 @@
package runtime
import "github.com/opencontainers/specs"
import (
"errors"
"github.com/opencontainers/specs"
)
var (
ErrNotChildProcess = errors.New("containerd: not a child process for container")
ErrInvalidContainerType = errors.New("containerd: invalid container type for runtime")
)
// runtime handles containers, containers handle their own actions.
type Runtime interface {