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

Struct dummyController

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

dummyController hides the fact that a SharedInformer is different from a dedicated one where a caller can `Run`. The run method is disconnected in this case, because higher level logic will decide when to start the SharedInformer and related controller. Because returning information back is always

Source from the content-addressed store, hash-verified

212// Because returning information back is always asynchronous, the legacy callers shouldn't
213// notice any change in behavior.
214type dummyController struct {
215 informer *sharedIndexInformer
216}
217
218func (v *dummyController) Run(stopCh <-chan struct{}) {
219}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected