consumeRuntime routes event.APIClient calls through the shared client.APIClient with a pinned identity.
| 14 | |
| 15 | // consumeRuntime routes event.APIClient calls through the shared client.APIClient with a pinned identity. |
| 16 | type consumeRuntime struct { |
| 17 | client *client.APIClient |
| 18 | accessIdentity core.Identity |
| 19 | } |
| 20 | |
| 21 | func (r *consumeRuntime) CallAPI(ctx context.Context, method, path string, body interface{}) (json.RawMessage, error) { |
| 22 | resp, err := r.client.DoAPI(ctx, client.RawApiRequest{ |
nothing calls this directly
no outgoing calls
no test coverage detected