strive-after
Results
2
comments of
strive-after
如果可以的话 希望有一部分operator的内容 应用案例也可以
https://blog.ihypo.net/15763910382218.html 可能会对你的理解有所帮助 NewSharedInformerFactoryWithOptions中会返回一个SharedInformerFactory其中有一个informers 是map[reflect.Type]cache.SharedIndexInformer 那么对应类型的informer(这段代码在staging/src/k8s.io/client-go/informers/factory.go), ```go //对应类型的对应sharedIndexInformer type sharedIndexInformer struct { indexer Indexer controller Controller //这里的controller 值得注意 /* type Controller interface { Run(stopCh