MCPcopy Create free account
hub / github.com/apache/kvrocks-controller / printLine

Function printLine

cmd/client/command/helper.go:35–38  ·  view source on GitHub ↗
(format string, a ...interface{})

Source from the content-addressed store, hash-verified

33)
34
35func printLine(format string, a ...interface{}) {
36 boldColor := color.New(color.Bold)
37 _, _ = fmt.Fprintln(os.Stdout, boldColor.Sprintf(format, a...))
38}
39
40func printCluster(cluster *store.Cluster) {
41 writer := tablewriter.NewWriter(os.Stdout)

Callers 15

listRaftPeersFunction · 0.85
addRaftPeerFunction · 0.85
removeRaftPeerFunction · 0.85
failoverShardFunction · 0.85
printClusterFunction · 0.85
deleteNamespaceFunction · 0.85
deleteClusterFunction · 0.85
deleteShardFunction · 0.85
deleteNodeFunction · 0.85
importClusterFunction · 0.85
migrateSlotFunction · 0.85
createNamespaceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected