func newRoutes(c *ServingV1alpha1Client, namespace string) *routes {
	return &routes{
		client: c.RESTClient(),
		ns:     namespace,
	}
}
newRoutes returns a Routes
package v1alpha1
import (
	v1alpha1 "github.com/knative/serving/pkg/apis/serving/v1alpha1"
	scheme "github.com/knative/serving/pkg/client/clientset/versioned/scheme"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	rest "k8s.io/client-go/rest"
)
type RoutesGetter interface {
	Routes(namespace string) RouteInterface
}
type RouteInterface interface {
	Create(*v1alpha1.Route) (*v1alpha1.Route, error)
	Update(*v1alpha1.Route) (*v1alpha1.Route, error)
	UpdateStatus(*v1alpha1.Route) (*v1alpha1.Route, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*v1alpha1.Route, error)
	List(opts v1.ListOptions) (*v1alpha1.RouteList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Route, err error)
	RouteExpansion
}
type routes struct {
	client rest.Interface
	ns     string
}