MCPcopy Create free account
hub / github.com/rilldata/rill / PrintSubscriptions

Method PrintSubscriptions

cli/pkg/printer/resources.go:489–494  ·  view source on GitHub ↗
(subs []*adminv1.Subscription)

Source from the content-addressed store, hash-verified

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

Callers 5

SetInternalPlanCmdFunction · 0.80
CancelCmdFunction · 0.80
EditCmdFunction · 0.80
RenewCmdFunction · 0.80
ListCmdFunction · 0.80

Calls 2

PrintDataMethod · 0.95
toSubscriptionsTableFunction · 0.85

Tested by

no test coverage detected