MCPcopy
hub / github.com/kubernetes/client-go / OnDelete

Method OnDelete

tools/cache/controller.go:247–252  ·  view source on GitHub ↗

OnDelete calls the nested handler only if the filter succeeds

(obj interface{})

Source from the content-addressed store, hash-verified

245
246// OnDelete calls the nested handler only if the filter succeeds
247func (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

Callers

nothing calls this directly

Calls 1

OnDeleteMethod · 0.65

Tested by

no test coverage detected