code: func (l *dynamicNamespaceLister) List(selector labels.Selector) (ret []*unstructured.Unstructured, err error) {
  	err = cache.ListAllByNamespace(l.indexer, l.namespace, selector, func(m interface{}) {
  		ret = append(ret, m.(*unstructured.Unstructured))
  	})
  	return ret, err
  }
docs: // List lists all resources in the indexer for a given namespace.