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

Method matchLabels

gateway/apinto/project.go:159–161  ·  view source on GitHub ↗
(ctx context.Context, profession string, labels map[string]string)

Source from the content-addressed store, hash-verified

157 return items, nil
158}
159func (p *ProjectClient) matchLabels(ctx context.Context, profession string, labels map[string]string) ([]*entity.BasicInfo, error) {
160 return matchLabels[entity.BasicInfo](ctx, p.client, profession, labels)
161}
162
163func (p *ProjectClient) deleteByLabels(ctx context.Context, profession string, labels map[string]string) error {
164 list, err := p.client.MatchLabels(ctx, profession, labels)

Callers

nothing calls this directly

Calls 1

matchLabelsFunction · 0.85

Tested by

no test coverage detected