func (s tikvClusterNamespaceLister) List(selector labels.Selector) (ret []*v1alpha1.TikvCluster, err error) {
	err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
		ret = append(ret, m.(*v1alpha1.TikvCluster))
	})
	return ret, err
}
// List lists all TikvClusters in the indexer for a given namespace.
List lists all TikvClusters in the indexer for a given namespace.
// List lists all TikvClusters in the indexer for a given namespace .
func (s tikvClusterNamespaceLister) List(selector labels.Selector) (ret []*v1alpha1.TikvCluster, err error) {
	err = cache.ListAllByNamespace(s.indexer, s.namespace, selector, func(m interface{}) {
		ret = append(ret, m.(*v1alpha1.TikvCluster))
	})
	return ret, err
}
func ( s tikvClusterNamespaceLister ) List ( selector labels . Selector ) ( ret [ ] * v1alpha1 . TikvCluster , err error ) { err = cache . ListAllByNamespace ( s . indexer , s . namespace , selector , func ( m interface { } ) { ret = append ( ret , m . ( * v1alpha1 . TikvCluster ) ) } ) return ret , err }
List lists all TikvClusters in the indexer for a given namespace.
List lists all TikvClusters in the indexer for a given namespace .