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

Method AddEventHandler

tools/cache/shared_informer.go:95–95  ·  view source on GitHub ↗

AddEventHandler adds an event handler to the shared informer using the shared informer's resync period. Events to a single handler are delivered sequentially, but there is no coordination between different handlers.

(handler ResourceEventHandler)

Source from the content-addressed store, hash-verified

93 // period. Events to a single handler are delivered sequentially, but there is no coordination
94 // between different handlers.
95 AddEventHandler(handler ResourceEventHandler)
96 // AddEventHandlerWithResyncPeriod adds an event handler to the
97 // shared informer using the specified resync period. The resync
98 // operation consists of delivering to the handler a create

Callers 3

TestMutationDetectorFunction · 0.65
TestFakeClientFunction · 0.65

Implementers 1

sharedIndexInformertools/cache/shared_informer.go

Calls

no outgoing calls

Tested by 3

TestMutationDetectorFunction · 0.52
TestFakeClientFunction · 0.52