showPlan must only be called while the lock is held.
(ctx, killCtx context.Context, stdoutWriter, stderrWriter io.WriteCloser, planfilePath string)
| 460 | |
| 461 | // showPlan must only be called while the lock is held. |
| 462 | func (e *executor) showPlan(ctx, killCtx context.Context, stdoutWriter, stderrWriter io.WriteCloser, planfilePath string) error { |
| 463 | ctx, span := e.server.startTrace(ctx, tracing.FuncName()) |
| 464 | defer span.End() |
| 465 | |
| 466 | args := []string{"show", "-no-color", planfilePath} |
| 467 | return e.execWriteOutput(ctx, killCtx, args, e.basicEnv(), stdoutWriter, stderrWriter) |
| 468 | } |
| 469 | |
| 470 | // graph must only be called while the lock is held. |
| 471 | func (e *executor) graph(ctx, killCtx context.Context) (string, error) { |
no test coverage detected