503b068f59
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
13 lines
323 B
Go
13 lines
323 B
Go
package containerd
|
|
|
|
import "errors"
|
|
|
|
var ErrProcessSet = errors.New("container process is already set")
|
|
|
|
type Runtime interface {
|
|
Create(*Container) (ProcessDelegate, error)
|
|
Start(*Container) error
|
|
Delete(*Container) error
|
|
Exec(*Container, *Process) (ProcessDelegate, error)
|
|
Load(id string) (ProcessDelegate, error)
|
|
}
|