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

Method ServiceCountByTeam

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

Source from the content-addressed store, hash-verified

89}
90
91func (i *imlServiceService) ServiceCountByTeam(ctx context.Context, teamId ...string) (map[string]int64, error) {
92 w := map[string]interface{}{
93 "as_server": true,
94 "is_delete": false,
95 }
96 if len(teamId) > 0 {
97 w["team"] = teamId
98 }
99 return i.store.CountByGroup(ctx, "", w, "team")
100}
101
102func (i *imlServiceService) AppCountByTeam(ctx context.Context, teamId ...string) (map[string]int64, error) {
103 w := map[string]interface{}{

Callers

nothing calls this directly

Calls 1

CountByGroupMethod · 0.45

Tested by

no test coverage detected