runWorker is a long-running function that will continually call the processNextWorkItem function in order to read and process a message on the workqueue.
(ctx context.Context)
| 191 | // processNextWorkItem function in order to read and process a message on the |
| 192 | // workqueue. |
| 193 | func (c *Controller) runWorker(ctx context.Context) { |
| 194 | for c.processNextWorkItem(ctx) { |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | // processNextWorkItem will read a single work item off the workqueue and |
| 199 | // attempt to process it, by calling the syncHandler. |
nothing calls this directly
no test coverage detected