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

Function NewRemoteHook

pkg/devspace/hook/remote_hook.go:22–27  ·  view source on GitHub ↗
(hook RemoteHook)

Source from the content-addressed store, hash-verified

20}
21
22func NewRemoteHook(hook RemoteHook) Hook {
23 return &remoteHook{
24 Hook: hook,
25 WaitingStrategy: targetselector.NewUntilNewestRunningWaitingStrategy(time.Second * 2),
26 }
27}
28
29func NewRemoteHookWithWaitingStrategy(hook RemoteHook, waitingStrategy targetselector.WaitingStrategy) Hook {
30 return &remoteHook{

Callers 1

runHookFunction · 0.85

Tested by

no test coverage detected