(ctx context.Context, w, h uint32)
| 216 | } |
| 217 | |
| 218 | func (p *process) Resize(ctx context.Context, w, h uint32) error { |
| 219 | ctx, span := tracing.StartSpan(ctx, "process.Resize", |
| 220 | tracing.WithAttribute("process.id", p.ID()), |
| 221 | ) |
| 222 | defer span.End() |
| 223 | _, err := p.task.client.TaskService().ResizePty(ctx, &tasks.ResizePtyRequest{ |
| 224 | ContainerID: p.task.id, |
| 225 | Width: w, |
| 226 | Height: h, |
| 227 | ExecID: p.id, |
| 228 | }) |
| 229 | return errgrpc.ToNative(err) |
| 230 | } |
| 231 | |
| 232 | func (p *process) Delete(ctx context.Context, opts ...ProcessDeleteOpts) (*ExitStatus, error) { |
| 233 | ctx, span := tracing.StartSpan(ctx, "process.Delete", |
nothing calls this directly
no test coverage detected