- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getTableOutput (0.1 sec)
-
istioctl/pkg/writer/table/writer.go
func (cell Cell) String() string { if len(cell.Attributes) == 0 { return cell.Value } s := color.New(cell.Attributes...) s.EnableColor() return s.Sprintf("%s", cell.Value) } func (c *ColoredTableWriter) getTableOutput(allRows []Row) [][]Cell { output := [][]Cell{} if len(c.header.Cells) != 0 { output = append(output, c.header.Cells) } for _, row := range allRows { output = append(output, row.Cells) } return output
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 06 09:43:25 UTC 2024 - 2.7K bytes - Viewed (0)