Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ run
Method
run
tools/watch/informerwatcher.go:49–57 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
func
(e *eventProcessor) run() {
50
for
{
51
batch := e.takeBatch()
52
e.writeBatch(batch)
53
if
e.stopped() {
54
return
55
}
56
}
57
}
58
59
func
(e *eventProcessor) takeBatch() []watch.Event {
60
e.cond.L.Lock()
Callers
3
TestEventProcessorExit
Function · 0.45
TestEventProcessorOrdersEvents
Function · 0.45
NewIndexerInformerWatcher
Function · 0.45
Calls
3
takeBatch
Method · 0.95
writeBatch
Method · 0.95
stopped
Method · 0.95
Tested by
2
TestEventProcessorExit
Function · 0.36
TestEventProcessorOrdersEvents
Function · 0.36