Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getMaxWidths (0.11 sec)

  1. istioctl/pkg/writer/table/writer.go

    	c.rows = append(c.rows, c.addRowFunc(obj))
    }
    
    func (c *ColoredTableWriter) Flush() {
    	output := c.getTableOutput(c.rows)
    	if len(output) == 0 {
    		return
    	}
    	sep := getMaxWidths(output)
    	for _, row := range output {
    		for i, col := range row {
    			_, _ = fmt.Fprint(c.writer, col.String())
    			if i == len(row)-1 {
    				_, _ = fmt.Fprint(c.writer, "\n")
    			} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Oct 08 04:41:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top