Add exited at to events and delete requests
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@ package shim
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
"time"
|
||||
|
||||
"github.com/crosbymichael/console"
|
||||
)
|
||||
@@ -18,6 +19,8 @@ type process interface {
|
||||
Exited(status int)
|
||||
// Status returns the exit status
|
||||
Status() int
|
||||
// ExitedAt is the time the process exited
|
||||
ExitedAt() time.Time
|
||||
// Delete deletes the process and its resourcess
|
||||
Delete(context.Context) error
|
||||
// Signal directly signals the process
|
||||
|
Reference in New Issue
Block a user