MCPcopy
hub / github.com/apache/devlake / ListConnections

Method ListConnections

backend/test/helper/api.go:59–67  ·  view source on GitHub ↗

ListConnections FIXME

(pluginName string)

Source from the content-addressed store, hash-verified

57
58// ListConnections FIXME
59func (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
70func (d *DevlakeClient) DeleteConnection(pluginName string, connectionId uint64) services.BlueprintProjectPairs {

Callers 6

createConnectionFunction · 0.45
createConnectionFunction · 0.45
TestAzureFunction · 0.45
TestCreateConnectionFunction · 0.45
TestDeleteConnectionFunction · 0.45

Calls 1

sendHttpRequestFunction · 0.85

Tested by 6

createConnectionFunction · 0.36
createConnectionFunction · 0.36
TestAzureFunction · 0.36
TestCreateConnectionFunction · 0.36
TestDeleteConnectionFunction · 0.36