(opts cliproxyexecutor.Options)
| 1524 | } |
| 1525 | |
| 1526 | func schedulerOptions(opts cliproxyexecutor.Options) pluginapi.SchedulerOptions { |
| 1527 | return pluginapi.SchedulerOptions{ |
| 1528 | Headers: cloneHTTPHeader(opts.Headers), |
| 1529 | Metadata: cloneSchedulerAnyMap(opts.Metadata), |
| 1530 | } |
| 1531 | } |
| 1532 | |
| 1533 | func pickSchedulerAuthByID(candidates []*Auth, authID string) *Auth { |
| 1534 | authID = strings.TrimSpace(authID) |
no test coverage detected