( ctx context.Context, operationID string, )
| 1683 | } |
| 1684 | |
| 1685 | func (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 | |
| 1697 | func (c *unixSocketClient) DownloadSupportBundle( |
| 1698 | ctx context.Context, |
nothing calls this directly
no test coverage detected