containerd/execution/process.go
Kenfe-Mickael Laventure c857213b4c move work on execution service
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
2016-12-05 14:15:03 -08:00

18 lines
256 B
Go

package execution
import (
"os"
"github.com/opencontainers/runtime-spec/specs-go"
)
type Process interface {
ID() string
Pid() int64
Spec() *specs.Process
Start() error
Status() (Status, error)
Wait() (uint32, error)
Signal(os.Signal) error
}