(ctx context.Context, signal uint32, all bool)
| 713 | } |
| 714 | |
| 715 | func (s *shimTask) Kill(ctx context.Context, signal uint32, all bool) error { |
| 716 | if _, err := s.task.Kill(ctx, &task.KillRequest{ |
| 717 | ID: s.ID(), |
| 718 | Signal: signal, |
| 719 | All: all, |
| 720 | }); err != nil { |
| 721 | return errgrpc.ToNative(err) |
| 722 | } |
| 723 | return nil |
| 724 | } |
| 725 | |
| 726 | func (s *shimTask) Exec(ctx context.Context, id string, opts runtime.ExecOpts) (runtime.ExecProcess, error) { |
| 727 | if err := identifiers.Validate(id); err != nil { |