type GenericInformer … type genericInformer … // Informer returns the SharedIndexInformer. func (f *genericInformer) Informer() cache.SharedIndexInformer { … } // Lister returns the GenericLister. func (f *genericInformer) Lister() cache.GenericLister { … } // ForResource gives generic access to a shared informer of the matching type // TODO extend this to unknown resources with a client pool func (f *sharedInformerFactory) ForResource(resource schema.GroupVersionResource) (GenericInformer, error) { … }