NewPluginExec creates a new PluginExec action
(cfg *ActionsOpts, manager *plugins.Manager)
| 125 | |
| 126 | // NewPluginExec creates a new PluginExec action |
| 127 | func NewPluginExec(cfg *ActionsOpts, manager *plugins.Manager) *PluginExec { |
| 128 | return &PluginExec{cfg: cfg, manager: manager} |
| 129 | } |
| 130 | |
| 131 | // Run executes the PluginExec action |
| 132 | func (action *PluginExec) Run(ctx context.Context, pluginName string, commandName string, config plugins.PluginExecConfig) (*PluginExecResult, error) { |
no outgoing calls
no test coverage detected