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

Function toBillingIssuesTable

cli/pkg/printer/resources.go:688–694  ·  view source on GitHub ↗
(errs []*adminv1.BillingIssue)

Source from the content-addressed store, hash-verified

686}
687
688func toBillingIssuesTable(errs []*adminv1.BillingIssue) []*billingIssue {
689 res := make([]*billingIssue, 0, len(errs))
690 for _, e := range errs {
691 res = append(res, toBillingIssueRow(e))
692 }
693 return res
694}
695
696func toBillingIssueRow(e *adminv1.BillingIssue) *billingIssue {
697 meta, err := json.Marshal(e.Metadata)

Callers 1

PrintBillingIssuesMethod · 0.85

Calls 1

toBillingIssueRowFunction · 0.85

Tested by

no test coverage detected