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

Method OnAdd

tools/cache/controller.go:178–178  ·  view source on GitHub ↗
(obj interface{})

Source from the content-addressed store, hash-verified

176// notice the deletion until the subsequent re-list.
177type ResourceEventHandler interface {
178 OnAdd(obj interface{})
179 OnUpdate(oldObj, newObj interface{})
180 OnDelete(obj interface{})
181}

Callers 4

OnAddMethod · 0.65
OnUpdateMethod · 0.65
newInformerFunction · 0.65
runMethod · 0.65

Implementers 3

testListenertools/cache/shared_informer_test.go
ResourceEventHandlerFuncstools/cache/controller.go
FilteringResourceEventHandlertools/cache/controller.go

Calls

no outgoing calls

Tested by

no test coverage detected