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

Method ListProjects

backend/test/helper/api.go:205–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203}
204
205func (d *DevlakeClient) ListProjects() apiProject.PaginatedProjects {
206 return sendHttpRequest[apiProject.PaginatedProjects](d.testCtx, d.timeout, &testContext{
207 client: d,
208 printPayload: true,
209 inlineJson: false,
210 }, http.MethodGet, fmt.Sprintf("%s/projects", d.Endpoint), nil, nil)
211}
212
213func (d *DevlakeClient) DeleteProject(projectName string) {
214 sendHttpRequest[any](d.testCtx, d.timeout, &testContext{

Calls 1

sendHttpRequestFunction · 0.85