containerd/shim/process.go
Michael Crosby 07c81ccac4 Add events api to shim
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-01-26 11:31:17 -08:00

14 lines
327 B
Go

package shim
import runc "github.com/crosbymichael/go-runc"
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
}