(items []BundleInventoryRecord)
| 641 | } |
| 642 | |
| 643 | func bundleInventoryRows(items []BundleInventoryRecord) [][]string { |
| 644 | rows := make([][]string, 0, len(items)) |
| 645 | for _, item := range items { |
| 646 | rows = append(rows, []string{ |
| 647 | stringOrDash(item.ResourceKind), |
| 648 | stringOrDash(item.ResourceID), |
| 649 | stringOrDash(item.ResourceName), |
| 650 | }) |
| 651 | } |
| 652 | return rows |
| 653 | } |
| 654 | |
| 655 | func bundleDeclaredChannelRows(items []DeclaredNetworkChannelRecord) [][]string { |
| 656 | rows := make([][]string, 0, len(items)) |
no test coverage detected