containerd/runtime/runtime.go

10 lines
283 B
Go
Raw Normal View History

package runtime
2015-11-05 23:29:53 +00:00
import "github.com/opencontainers/specs"
2015-11-05 23:29:53 +00:00
// runtime handles containers, containers handle their own actions.
type Runtime interface {
2015-11-13 21:22:42 +00:00
Create(id, bundlePath string, stdio *Stdio) (Container, error)
StartProcess(Container, specs.Process, *Stdio) (Process, error)
2015-11-05 23:29:53 +00:00
}