| 15 | var informerInitOnce sync.Map |
| 16 | |
| 17 | type Resource interface { |
| 18 | GetName() string |
| 19 | GetNamespace() string |
| 20 | } |
| 21 | |
| 22 | func ResourceEventHandler[T Resource](handler *BaseHandler, additionalEvents ...map[string]func()) cache.ResourceEventHandlerFuncs { |
| 23 | handleEvent := func(obj any) { |
no outgoing calls
no test coverage detected