2017-01-24 23:55:32 +00:00
|
|
|
package shim
|
2017-01-12 18:29:37 +00:00
|
|
|
|
2017-01-25 21:27:48 +00:00
|
|
|
import runc "github.com/crosbymichael/go-runc"
|
2017-01-12 18:29:37 +00:00
|
|
|
|
2017-01-24 00:18:10 +00:00
|
|
|
type process interface {
|
|
|
|
// Pid returns the pid for the process
|
|
|
|
Pid() int
|
|
|
|
// Resize resizes the process console
|
|
|
|
Resize(ws runc.WinSize) error
|
|
|
|
// Exited sets the exit status for the process
|
|
|
|
Exited(status int)
|
|
|
|
// Status returns the exit status
|
|
|
|
Status() int
|
2017-01-12 18:29:37 +00:00
|
|
|
}
|