ListConnections FIXME
(pluginName string)
| 57 | |
| 58 | // ListConnections FIXME |
| 59 | func (d *DevlakeClient) ListConnections(pluginName string) []*Connection { |
| 60 | d.testCtx.Helper() |
| 61 | all := sendHttpRequest[[]*Connection](d.testCtx, d.timeout, &testContext{ |
| 62 | client: d, |
| 63 | printPayload: true, |
| 64 | inlineJson: false, |
| 65 | }, http.MethodGet, fmt.Sprintf("%s/plugins/%s/connections", d.Endpoint, pluginName), nil, nil) |
| 66 | return all |
| 67 | } |
| 68 | |
| 69 | // DeleteConnection FIXME |
| 70 | func (d *DevlakeClient) DeleteConnection(pluginName string, connectionId uint64) services.BlueprintProjectPairs { |