func (s *envoyFilterLister) List(selector labels.Selector) (ret []*v1alpha3.EnvoyFilter, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v1alpha3.EnvoyFilter))
	})
	return ret, err
}
List lists all EnvoyFilters in the indexer.
package v1alpha3
import (
	v1alpha3 "cellery.io/cellery-controller/pkg/apis/istio/networking/v1alpha3"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type EnvoyFilterLister interface {
	List(selector labels.Selector) (ret []*v1alpha3.EnvoyFilter, err error)
	EnvoyFilters(namespace string) EnvoyFilterNamespaceLister
	EnvoyFilterListerExpansion
}
type envoyFilterLister struct {
	indexer cache.Indexer
}
func NewEnvoyFilterLister(indexer cache.Indexer) EnvoyFilterLister {
	return &envoyFilterLister{indexer: indexer}
}