(pluginName string, connectionId uint64, scopeId string, listBlueprints bool)
| 254 | } |
| 255 | |
| 256 | func (d *DevlakeClient) GetScope(pluginName string, connectionId uint64, scopeId string, listBlueprints bool) ScopeResponse { |
| 257 | scopeRaw := sendHttpRequest[map[string]any](d.testCtx, d.timeout, &testContext{ |
| 258 | client: d, |
| 259 | printPayload: true, |
| 260 | inlineJson: false, |
| 261 | }, http.MethodGet, fmt.Sprintf("%s/plugins/%s/connections/%d/scopes/%s?blueprints=%v", d.Endpoint, pluginName, connectionId, scopeId, listBlueprints), nil, nil) |
| 262 | return getScopeResponse(scopeRaw) |
| 263 | } |
| 264 | |
| 265 | func (d *DevlakeClient) DeleteScope(pluginName string, connectionId uint64, scopeId string, deleteDataOnly bool) services.BlueprintProjectPairs { |
| 266 | return sendHttpRequest[services.BlueprintProjectPairs](d.testCtx, d.timeout, &testContext{ |
nothing calls this directly
no test coverage detected