func NewRouteLister(indexer cache.Indexer) RouteLister {
	return &routeLister{indexer: indexer}
}
NewRouteLister returns a new RouteLister.
package v1alpha1
import (
	v1alpha1 "cellery.io/cellery-controller/pkg/apis/knative/serving/v1alpha1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type RouteLister interface {
	List(selector labels.Selector) (ret []*v1alpha1.Route, err error)
	Routes(namespace string) RouteNamespaceLister
	RouteListerExpansion
}
type routeLister struct {
	indexer cache.Indexer
}