MCPcopy Create free account
hub / github.com/APIParkLab/APIPark / AppCountByTeam

Method AppCountByTeam

service/service/iml.go:102–111  ·  view source on GitHub ↗
(ctx context.Context, teamId ...string)

Source from the content-addressed store, hash-verified

100}
101
102func (i *imlServiceService) AppCountByTeam(ctx context.Context, teamId ...string) (map[string]int64, error) {
103 w := map[string]interface{}{
104 "as_app": true,
105 "is_delete": false,
106 }
107 if len(teamId) > 0 {
108 w["team"] = teamId
109 }
110 return i.store.CountByGroup(ctx, "", w, "team")
111}
112
113func (i *imlServiceService) AppList(ctx context.Context, appIds ...string) ([]*Service, error) {
114 w := make(map[string]interface{})

Callers

nothing calls this directly

Calls 1

CountByGroupMethod · 0.45

Tested by

no test coverage detected