15 lines
310 B
Go
15 lines
310 B
Go
|
package containerkit
|
||
|
|
||
|
import "errors"
|
||
|
|
||
|
var (
|
||
|
ErrProcessSet = errors.New("containerkit: container process is already set")
|
||
|
)
|
||
|
|
||
|
type ExecutionDriver interface {
|
||
|
Create(*Container) (ProcessDelegate, error)
|
||
|
Start(*Container) error
|
||
|
Delete(*Container) error
|
||
|
Exec(*Container, *Process) (ProcessDelegate, error)
|
||
|
}
|