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

Function SetStopFunction

pkg/devspace/kill/kill.go:17–22  ·  view source on GitHub ↗
(stopFn func(message string))

Source from the content-addressed store, hash-verified

15}
16
17func SetStopFunction(stopFn func(message string)) {
18 stopDevSpaceMutex.Lock()
19 defer stopDevSpaceMutex.Unlock()
20
21 stopDevSpace = stopFn
22}

Callers 2

runPipelineFunction · 0.92
BuildRootFunction · 0.92

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected