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