containerd/runtime.go

10 lines
264 B
Go
Raw Normal View History

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