( ctx context.Context, id string, query SessionInspectQuery, )
| 2816 | } |
| 2817 | |
| 2818 | func (c *unixSocketClient) InspectSession( |
| 2819 | ctx context.Context, |
| 2820 | id string, |
| 2821 | query SessionInspectQuery, |
| 2822 | ) (SessionInspectRecord, error) { |
| 2823 | var response SessionInspectRecord |
| 2824 | path, err := c.sessionScopedPath(ctx, id, "/inspect") |
| 2825 | if err != nil { |
| 2826 | return SessionInspectRecord{}, err |
| 2827 | } |
| 2828 | if err := c.doJSON(ctx, http.MethodGet, path, sessionInspectValues(query), nil, &response); err != nil { |
| 2829 | return SessionInspectRecord{}, err |
| 2830 | } |
| 2831 | return response, nil |
| 2832 | } |
| 2833 | |
| 2834 | func (c *unixSocketClient) RefreshSessionSoul( |
| 2835 | ctx context.Context, |
nothing calls this directly
no test coverage detected