func NewForConfig(c *rest.Config) (*NetworkingV1alpha1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &NetworkingV1alpha1Client{client}, nil
}
NewForConfig creates a new NetworkingV1alpha1Client for the given config.
package v1alpha1
import (
	v1alpha1 "github.com/knative/serving/pkg/apis/networking/v1alpha1"
	"github.com/knative/serving/pkg/client/clientset/versioned/scheme"
	serializer "k8s.io/apimachinery/pkg/runtime/serializer"
	rest "k8s.io/client-go/rest"
)
type NetworkingV1alpha1Interface interface {
	RESTClient() rest.Interface
	ClusterIngressesGetter
}
type NetworkingV1alpha1Client struct {
	restClient rest.Interface
}
func (c *NetworkingV1alpha1Client) ClusterIngresses() ClusterIngressInterface {
	return newClusterIngresses(c)
}