Add state rpc to shim

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby
2017-01-26 15:09:59 -08:00
parent ead53658cc
commit f431bf4ad4
7 changed files with 856 additions and 189 deletions

View File

@@ -1,6 +1,10 @@
package shim
import "github.com/crosbymichael/console"
import (
"context"
"github.com/crosbymichael/console"
)
type process interface {
// Pid returns the pid for the process
@@ -11,4 +15,5 @@ type process interface {
Exited(status int)
// Status returns the exit status
Status() int
Delete(context.Context) error
}