2016-12-02 15:37:16 -08:00
|
|
|
package execution
|
|
|
|
|
2016-12-05 15:38:32 -08:00
|
|
|
import "os"
|
2016-12-02 15:37:16 -08:00
|
|
|
|
2016-12-05 14:15:03 -08:00
|
|
|
type Process interface {
|
|
|
|
ID() string
|
|
|
|
Pid() int64
|
2016-12-05 15:38:32 -08:00
|
|
|
//Spec() *specs.Process
|
2016-12-05 14:15:03 -08:00
|
|
|
Wait() (uint32, error)
|
|
|
|
Signal(os.Signal) error
|
2016-12-14 19:10:35 -08:00
|
|
|
Status() Status
|
2016-12-02 15:37:16 -08:00
|
|
|
}
|