MCPcopy Index your code
hub / github.com/devspace-sh/devspace / EventsForSingle

Function EventsForSingle

pkg/devspace/hook/hook.go:39–45  ·  view source on GitHub ↗
(base, name string)

Source from the content-addressed store, hash-verified

37}
38
39func EventsForSingle(base, name string) Events {
40 if name == "" {
41 return []string{base + ":*"}
42 }
43
44 return []string{base + ":*", base + ":" + name}
45}
46
47// Hook is an interface to execute a specific hook type
48type Hook interface {

Callers 12

deployOneMethod · 0.92
PurgeMethod · 0.92
doneReverseForwardingFunction · 0.92
StartForwardingFunction · 0.92
stopPortForwardingFunction · 0.92
StartMethod · 0.92
startWithWaitMethod · 0.92
syncDoneFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected