(extraEnv map[string]interface{}, events ...string)
| 157 | } |
| 158 | |
| 159 | func LogExecutePluginHookWithContext(extraEnv map[string]interface{}, events ...string) { |
| 160 | err := ExecutePluginHookWithContext(extraEnv, events...) |
| 161 | if err != nil { |
| 162 | logErrorf("%v", err) |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | func ExecutePluginHookWithContext(extraEnv map[string]interface{}, events ...string) error { |
| 167 | if len(plugins) == 0 { |
no test coverage detected