containerd/runtime.go
2015-11-13 13:25:03 -08:00

9 lines
286 B
Go

package containerd
import "github.com/opencontainers/specs"
// runtime handles containers, containers handle their own actions.
type Runtime interface {
Create(id, bundlePath string, stdio *Stdio) (Container, error)
StartProcess(Container, specs.Process, *Stdio) (Process, error)
}