OnDelete calls the nested handler only if the filter succeeds
(obj interface{})
| 245 | |
| 246 | // OnDelete calls the nested handler only if the filter succeeds |
| 247 | func (r FilteringResourceEventHandler) OnDelete(obj interface{}) { |
| 248 | if !r.FilterFunc(obj) { |
| 249 | return |
| 250 | } |
| 251 | r.Handler.OnDelete(obj) |
| 252 | } |
| 253 | |
| 254 | // DeletionHandlingMetaNamespaceKeyFunc checks for |
| 255 | // DeletedFinalStateUnknown objects before calling |