MCPcopy Create free account
hub / github.com/compozy/agh / bundleInventoryRows

Function bundleInventoryRows

internal/cli/bundle.go:643–653  ·  view source on GitHub ↗
(items []BundleInventoryRecord)

Source from the content-addressed store, hash-verified

641}
642
643func 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
655func bundleDeclaredChannelRows(items []DeclaredNetworkChannelRecord) [][]string {
656 rows := make([][]string, 0, len(items))

Callers 2

bundleActivationBundleFunction · 0.85
bundleInventoryTableFunction · 0.85

Calls 2

appendFunction · 0.85
stringOrDashFunction · 0.85

Tested by

no test coverage detected