c857213b4c
Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
18 lines
256 B
Go
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
|
|
}
|