code: func NewFilteredDynamicInformer(client dynamic.Interface, gvr schema.GroupVersionResource, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions TweakListOptionsFunc) informers.GenericInformer {
  	return &dynamicInformer{
  		gvr: gvr,
  		informer: cache.NewSharedIndexInformer(
  			&cache.ListWatch{
  				ListFunc: func(options metav1.ListOptions) (runtime.Object, error) {
  					if tweakListOptions != nil {
  						tweakListOptions(&options)
  					}
  					return client.Resource(gvr).Namespace(namespace).List(options)
  				},
  				WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
  					if tweakListOptions != nil {
  						tweakListOptions(&options)
  					}
  					return client.Resource(gvr).Namespace(namespace).Watch(options)
  				},
  			},
  			&unstructured.Unstructured{},
  			resyncPeriod,
  			indexers,
  		),
  	}
  }
docs: // NewFilteredDynamicInformer constructs a new informer for a dynamic type.