6641888667
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
15 lines
333 B
Go
15 lines
333 B
Go
package containerd
|
|
|
|
import "errors"
|
|
|
|
var ErrProcessSet = errors.New("container process is already set")
|
|
|
|
type Executor interface {
|
|
List() ([]*Container, error)
|
|
Load(id string) (*Container, error)
|
|
|
|
Create(CreateOpts) (*Container, error)
|
|
Start(string) error
|
|
Delete(string) error
|
|
Exec(string, *Process) (ProcessDelegate, error)
|
|
}
|