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 {
|
2016-12-14 17:16:23 +00:00
|
|
|
Container() *Container
|
2016-12-05 22:15:03 +00:00
|
|
|
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-02 23:37:16 +00:00
|
|
|
}
|