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

Function toServicesTable

cli/pkg/printer/resources.go:329–337  ·  view source on GitHub ↗
(sv []*adminv1.Service)

Source from the content-addressed store, hash-verified

327}
328
329func toServicesTable(sv []*adminv1.Service) []*service {
330 services := make([]*service, 0, len(sv))
331
332 for _, s := range sv {
333 services = append(services, toServiceRow(s))
334 }
335
336 return services
337}
338
339func toServiceRow(s *adminv1.Service) *service {
340 attrBytes, err := json.Marshal(s.Attributes)

Callers 1

PrintServicesMethod · 0.85

Calls 1

toServiceRowFunction · 0.85

Tested by

no test coverage detected