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

Method GetSupportBundle

internal/cli/client.go:1685–1695  ·  view source on GitHub ↗
(
	ctx context.Context,
	operationID string,
)

Source from the content-addressed store, hash-verified

1683}
1684
1685func (c *unixSocketClient) GetSupportBundle(
1686 ctx context.Context,
1687 operationID string,
1688) (SupportBundleOperationRecord, error) {
1689 path := supportBundleOperationPath(operationID)
1690 var response contract.SupportBundleOperationResponse
1691 if err := c.doJSON(ctx, http.MethodGet, path, nil, nil, &response); err != nil {
1692 return SupportBundleOperationRecord{}, err
1693 }
1694 return response.Operation, nil
1695}
1696
1697func (c *unixSocketClient) DownloadSupportBundle(
1698 ctx context.Context,

Callers

nothing calls this directly

Calls 2

doJSONMethod · 0.95

Tested by

no test coverage detected