type InformerFactory … type informerFactory … func (i *informerFactory) ForResource(resource schema.GroupVersionResource) (informers.GenericInformer, error) { … } func (i *informerFactory) Start(stopCh <-chan struct{ … } // NewInformerFactory creates a new InformerFactory which works with both typed // resources and metadata-only resources func NewInformerFactory(typedInformerFactory informers.SharedInformerFactory, metadataInformerFactory metadatainformer.SharedInformerFactory) InformerFactory { … }