(ctx context.Context, req pluginapi.AuthModelRequest)
| 343 | } |
| 344 | |
| 345 | func (a *rpcPluginAdapter) ModelsForAuth(ctx context.Context, req pluginapi.AuthModelRequest) (pluginapi.ModelResponse, error) { |
| 346 | callbackID, closeCallback := a.openHostCallbackContext(ctx) |
| 347 | defer closeCallback() |
| 348 | return callPlugin[pluginapi.ModelResponse](ctx, a.client, pluginabi.MethodModelForAuth, rpcAuthModelRequest{ |
| 349 | AuthModelRequest: req, |
| 350 | HostCallbackID: callbackID, |
| 351 | }) |
| 352 | } |
| 353 | |
| 354 | func (a *rpcPluginAdapter) Pick(ctx context.Context, req pluginapi.SchedulerPickRequest) (pluginapi.SchedulerPickResponse, error) { |
| 355 | return callPlugin[pluginapi.SchedulerPickResponse](ctx, a.client, pluginabi.MethodSchedulerPick, req) |
nothing calls this directly
no test coverage detected