Implement task update
This allows tasks to have their resources updated as they are running. Fixes #1067 Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -35,6 +35,8 @@ type Task interface {
|
||||
Checkpoint(context.Context, string, map[string]string) error
|
||||
// DeleteProcess deletes a specific exec process via the pid
|
||||
DeleteProcess(context.Context, uint32) (*Exit, error)
|
||||
// Update sets the provided resources to a running task
|
||||
Update(context.Context, []byte) error
|
||||
}
|
||||
|
||||
type ExecOpts struct {
|
||||
|
||||
Reference in New Issue
Block a user