(items []BundleAgentRecord)
| 627 | } |
| 628 | |
| 629 | func bundleAgentRows(items []BundleAgentRecord) [][]string { |
| 630 | rows := make([][]string, 0, len(items)) |
| 631 | for _, item := range items { |
| 632 | rows = append(rows, []string{ |
| 633 | stringOrDash(item.Name), |
| 634 | stringOrDash(item.Provider), |
| 635 | stringOrDash(item.Model), |
| 636 | formatBool(item.HasSoul), |
| 637 | formatBool(item.HasHeartbeat), |
| 638 | }) |
| 639 | } |
| 640 | return rows |
| 641 | } |
| 642 | |
| 643 | func bundleInventoryRows(items []BundleInventoryRecord) [][]string { |
| 644 | rows := make([][]string, 0, len(items)) |
no test coverage detected