(entries []configEntry)
| 1507 | } |
| 1508 | |
| 1509 | func configEntryRows(entries []configEntry) [][]string { |
| 1510 | rows := make([][]string, 0, len(entries)) |
| 1511 | for _, entry := range entries { |
| 1512 | rows = append(rows, []string{ |
| 1513 | entry.Path, |
| 1514 | formatConfigValue(entry.Value), |
| 1515 | strconv.FormatBool(entry.Redacted), |
| 1516 | }) |
| 1517 | } |
| 1518 | return rows |
| 1519 | } |
| 1520 | |
| 1521 | func renderConfigEntriesToon(name string, entries []configEntry) string { |
| 1522 | rows := make([][]string, 0, len(entries)) |
no test coverage detected