(pluginName string, connectionId uint64, scopeConfig any)
| 271 | } |
| 272 | |
| 273 | func (d *DevlakeClient) CreateScopeConfig(pluginName string, connectionId uint64, scopeConfig any) any { |
| 274 | return sendHttpRequest[any](d.testCtx, d.timeout, &testContext{ |
| 275 | client: d, |
| 276 | printPayload: true, |
| 277 | inlineJson: false, |
| 278 | }, http.MethodPost, fmt.Sprintf("%s/plugins/%s/connections/%d/scope-configs", |
| 279 | d.Endpoint, pluginName, connectionId), nil, scopeConfig) |
| 280 | } |
| 281 | |
| 282 | func (d *DevlakeClient) PatchScopeConfig(pluginName string, connectionId uint64, scopeConfigId uint64, scopeConfig any) any { |
| 283 | return sendHttpRequest[any](d.testCtx, d.timeout, &testContext{ |
no outgoing calls