2015-11-05 23:29:53 +00:00
|
|
|
package containerd
|
|
|
|
|
2015-11-10 22:57:10 +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 {
|
|
|
|
Create(id, bundlePath string) (Container, error)
|
2015-11-10 22:57:10 +00:00
|
|
|
StartProcess(Container, specs.Process) (Process, error)
|
2015-11-05 23:29:53 +00:00
|
|
|
}
|