MCPcopy Index your code
hub / github.com/coder/coder / Notify

Method Notify

cli/clitest/signal.go:45–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

43}
44
45func (f *FakeSignalNotifier) Notify() {
46 f.Lock()
47 defer f.Unlock()
48 if f.cancel == nil {
49 f.t.Error("notified before started")
50 return
51 }
52 f.cancel()
53}
54
55func (f *FakeSignalNotifier) AssertStopped() {
56 f.Lock()

Callers 12

TestSSHFunction · 0.95
startMethod · 0.45
notifyIfNewerMethod · 0.45
mainFunction · 0.45
portForwardMethod · 0.45
listenWindowSizeFunction · 0.45
notifyConditionFunction · 0.45
DumpHandlerFunction · 0.45
logSignalNotifyContextFunction · 0.45
PromptFunction · 0.45
ProvisionerJobFunction · 0.45
installSignalHandlerFunction · 0.45

Calls 4

LockMethod · 0.45
UnlockMethod · 0.45
ErrorMethod · 0.45
cancelMethod · 0.45

Tested by 1

TestSSHFunction · 0.76