Update client to pass go lint
There is one breaking change with the function naming of UidGid to UIDGID Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -52,12 +52,14 @@ func WithProcessKill(ctx context.Context, p Process) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// KillInfo contains information on how to process a Kill action
|
||||
type KillInfo struct {
|
||||
// All kills all processes inside the task
|
||||
// only valid on tasks, ignored on processes
|
||||
All bool
|
||||
}
|
||||
|
||||
// KillOpts allows options to be set for the killing of a process
|
||||
type KillOpts func(context.Context, Process, *KillInfo) error
|
||||
|
||||
// WithKillAll kills all processes for a task
|
||||
|
Reference in New Issue
Block a user