Hook is an interface to execute a specific hook type
| 46 | |
| 47 | // Hook is an interface to execute a specific hook type |
| 48 | type Hook interface { |
| 49 | Execute(ctx devspacecontext.Context, hook *latest.HookConfig, extraEnv map[string]string) error |
| 50 | } |
| 51 | |
| 52 | // LogExecuteHooks executes plugin hooks and config hooks and prints errors to the log |
| 53 | func LogExecuteHooks(ctx devspacecontext.Context, extraEnv map[string]interface{}, events ...string) { |
no outgoing calls
no test coverage detected