Add annotations to task update request api

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
This commit is contained in:
Kathryn Baldauf
2020-10-22 15:35:09 -07:00
parent ba8377590d
commit 95ba6e9f75
11 changed files with 566 additions and 179 deletions

View File

@@ -70,7 +70,7 @@ type Task interface {
// Checkpoint checkpoints a container to an image with live system data
Checkpoint(context.Context, string, *types.Any) error
// Update sets the provided resources to a running task
Update(context.Context, *types.Any) error
Update(context.Context, *types.Any, map[string]string) error
// Process returns a process within the task for the provided id
Process(context.Context, string) (Process, error)
// Stats returns runtime specific metrics for a task