MCPcopy Create free account
hub / github.com/compozy/agh / GetTaskRun

Method GetTaskRun

internal/cli/client.go:4872–4879  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

4870}
4871
4872func (c *unixSocketClient) GetTaskRun(ctx context.Context, id string) (TaskRunDetailRecord, error) {
4873 var response contract.TaskRunDetailResponse
4874 path := "/api/task-runs/" + url.PathEscape(strings.TrimSpace(id))
4875 if err := c.doJSON(ctx, http.MethodGet, path, nil, nil, &response); err != nil {
4876 return TaskRunDetailRecord{}, err
4877 }
4878 return response.Run, nil
4879}
4880
4881func (c *unixSocketClient) ClaimTaskRun(
4882 ctx context.Context,

Callers 1

Calls 1

doJSONMethod · 0.95

Tested by 1