MCPcopy Create free account
hub / github.com/cloudtty/cloudtty / Run

Method Run

pkg/workerpool/worker_pool.go:120–126  ·  view source on GitHub ↗
(stopCh <-chan struct{})

Source from the content-addressed store, hash-verified

118}
119
120func (w *WorkerPool) Run(stopCh <-chan struct{}) {
121 if !cache.WaitForCacheSync(stopCh, w.podInformer.HasSynced) {
122 klog.Errorf("cloudshell manager: wait for informer factory failed")
123 }
124
125 w.run(stopCh)
126}
127
128func (w *WorkerPool) run(stopCh <-chan struct{}) {
129 var waitGroup sync.WaitGroup

Callers 4

StartMethod · 0.45
TestReleaseVersionFunction · 0.45
mainFunction · 0.45
StartControllersFunction · 0.45

Calls 2

runMethod · 0.95
WaitForCacheSyncMethod · 0.65

Tested by 1

TestReleaseVersionFunction · 0.36