The PluginExecutor implements the Executor interface and invokes the registered plugin for the executed command. The plugin takes care of sending the HTTP request or performing other operations.
| 14 | // The plugin takes care of sending the HTTP request or performing other |
| 15 | // operations. |
| 16 | type PluginExecutor struct { |
| 17 | authenticators []auth.Authenticator |
| 18 | } |
| 19 | |
| 20 | func (e PluginExecutor) authenticatorContext(ctx ExecutionContext, logger log.Logger) auth.AuthenticatorContext { |
| 21 | authRequest := *auth.NewAuthenticatorRequest(ctx.BaseUri.String(), map[string]string{}) |
nothing calls this directly
no outgoing calls
no test coverage detected