MCPcopy Index your code
hub / github.com/helm/helm / runHook

Function runHook

pkg/cmd/plugin.go:48–55  ·  view source on GitHub ↗

runHook will execute a plugin hook.

(p plugin.Plugin, event string)

Source from the content-addressed store, hash-verified

46
47// runHook will execute a plugin hook.
48func runHook(p plugin.Plugin, event string) error {
49 pluginHook, ok := p.(plugin.PluginHook)
50 if ok {
51 return pluginHook.InvokeHook(event)
52 }
53
54 return nil
55}

Callers 3

uninstallPluginFunction · 0.85
updatePluginFunction · 0.85
runMethod · 0.85

Calls 1

InvokeHookMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…