MCPcopy
hub / github.com/pingcap/tidb / PrintTaskByTable

Function PrintTaskByTable

br/pkg/stream/stream_status.go:67–69  ·  view source on GitHub ↗

PrintTaskByTable make a TaskPrinter, which prints the task by the `Table` implement of the console.

(c glue.ConsoleOperations)

Source from the content-addressed store, hash-verified

65// PrintTaskByTable make a TaskPrinter,
66// which prints the task by the `Table` implement of the console.
67func PrintTaskByTable(c glue.ConsoleOperations) TaskPrinter {
68 return &printByTable{console: c}
69}
70
71// PrintTaskWithJSON make a TaskPrinter,
72// which prints tasks as json to the console directly.

Callers 1

makeStatusControllerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected