(items []BundleChannelRecord)
| 538 | } |
| 539 | |
| 540 | func bundleChannelsTable(items []BundleChannelRecord) string { |
| 541 | rows := make([][]string, 0, len(items)) |
| 542 | for _, item := range items { |
| 543 | rows = append(rows, []string{ |
| 544 | stringOrDash(item.Name), |
| 545 | formatBool(item.Primary), |
| 546 | stringOrDash(item.Description), |
| 547 | }) |
| 548 | } |
| 549 | return renderHumanTable( |
| 550 | "Channels", |
| 551 | []string{bundleNameValue, "Primary", bundleDescriptionValue}, |
| 552 | rows, |
| 553 | ) |
| 554 | } |
| 555 | |
| 556 | func bundleAgentsTable(items []BundleAgentRecord) string { |
| 557 | return renderHumanTable( |
no test coverage detected