MCPcopy Index your code
hub / github.com/apache/devlake / SearchRemoteScopes

Method SearchRemoteScopes

backend/test/helper/api.go:344–358  ·  view source on GitHub ↗

SearchRemoteScopes makes calls to the "scope API" indirectly. "Search" is the remote endpoint to hit.

(query SearchRemoteScopesQuery)

Source from the content-addressed store, hash-verified

342
343// SearchRemoteScopes makes calls to the "scope API" indirectly. "Search" is the remote endpoint to hit.
344func (d *DevlakeClient) SearchRemoteScopes(query SearchRemoteScopesQuery) SearchRemoteScopesOutput {
345 return sendHttpRequest[SearchRemoteScopesOutput](d.testCtx, d.timeout, &testContext{
346 client: d,
347 printPayload: true,
348 inlineJson: false,
349 }, http.MethodGet, fmt.Sprintf("%s/plugins/%s/connections/%d/search-remote-scopes?search=%s&page=%d&pageSize=%d&%s",
350 d.Endpoint,
351 query.PluginName,
352 query.ConnectionId,
353 query.Search,
354 query.Page,
355 query.PageSize,
356 mapToQueryString(query.Params)),
357 nil, nil)
358}
359
360// TriggerBlueprint FIXME
361func (d *DevlakeClient) TriggerBlueprint(blueprintId uint64) models.Pipeline {

Callers 1

TestGitlabPluginFunction · 0.45

Calls 1

mapToQueryStringFunction · 0.85

Tested by 1

TestGitlabPluginFunction · 0.36