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

Method PatchScopeConfig

backend/test/helper/api.go:282–289  ·  view source on GitHub ↗
(pluginName string, connectionId uint64, scopeConfigId uint64, scopeConfig any)

Source from the content-addressed store, hash-verified

280}
281
282func (d *DevlakeClient) PatchScopeConfig(pluginName string, connectionId uint64, scopeConfigId uint64, scopeConfig any) any {
283 return sendHttpRequest[any](d.testCtx, d.timeout, &testContext{
284 client: d,
285 printPayload: true,
286 inlineJson: false,
287 }, http.MethodPatch, fmt.Sprintf("%s/plugins/%s/connections/%d/scope-configs/%d",
288 d.Endpoint, pluginName, connectionId, scopeConfigId), nil, scopeConfig)
289}
290
291func (d *DevlakeClient) ListScopeConfigs(pluginName string, connectionId uint64) []any {
292 return sendHttpRequest[[]any](d.testCtx, d.timeout, &testContext{

Callers 1

TestUpdateScopeConfigFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestUpdateScopeConfigFunction · 0.36