Move runtime implementation types to pkg
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
9
runtime/runtime.go
Normal file
9
runtime/runtime.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package runtime
|
||||
|
||||
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)
|
||||
}
|
||||
Reference in New Issue
Block a user