(subs []*adminv1.Subscription)
| 487 | } |
| 488 | |
| 489 | func (p *Printer) PrintSubscriptions(subs []*adminv1.Subscription) { |
| 490 | if len(subs) == 0 { |
| 491 | return |
| 492 | } |
| 493 | p.PrintData(toSubscriptionsTable(subs)) |
| 494 | } |
| 495 | |
| 496 | func toSubscriptionsTable(subs []*adminv1.Subscription) []*subscription { |
| 497 | subscriptions := make([]*subscription, 0, len(subs)) |
no test coverage detected