(ctx context.Context, service ...string)
| 98 | } |
| 99 | |
| 100 | func (i *imlAPIService) CountMapByService(ctx context.Context, service ...string) (map[string]int64, error) { |
| 101 | w := map[string]interface{}{} |
| 102 | if len(service) > 0 { |
| 103 | w["service"] = service |
| 104 | } |
| 105 | return i.store.CountByGroup(ctx, "", w, "service") |
| 106 | } |
| 107 | |
| 108 | func (i *imlAPIService) ListInfoForService(ctx context.Context, serviceId string) ([]*Info, error) { |
| 109 | apis, err := i.store.List(ctx, map[string]interface{}{ |
nothing calls this directly
no test coverage detected