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