func NewForConfig(c *rest.Config) (*NuclioV1beta1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &NuclioV1beta1Client{client}, nil
}
NewForConfig creates a new NuclioV1beta1Client for the given config.
package v1beta1
import (
	v1beta1 "github.com/nuclio/nuclio/pkg/platform/kube/apis/nuclio.io/v1beta1"
	"github.com/nuclio/nuclio/pkg/platform/kube/client/clientset/versioned/scheme"
	rest "k8s.io/client-go/rest"
)
type NuclioV1beta1Interface interface {
	RESTClient() rest.Interface
	NuclioAPIGatewaysGetter
	NuclioFunctionsGetter
	NuclioFunctionEventsGetter
	NuclioProjectsGetter
}
type NuclioV1beta1Client struct {
	restClient rest.Interface
}
func (c *NuclioV1beta1Client) NuclioAPIGateways(namespace string) NuclioAPIGatewayInterface {
	return newNuclioAPIGateways(c, namespace)
}
func (c *NuclioV1beta1Client) NuclioFunctions(namespace string) NuclioFunctionInterface {
	return newNuclioFunctions(c, namespace)
}
func (c *NuclioV1beta1Client) NuclioFunctionEvents(namespace string) NuclioFunctionEventInterface {
	return newNuclioFunctionEvents(c, namespace)
}
func (c *NuclioV1beta1Client) NuclioProjects(namespace string) NuclioProjectInterface {
	return newNuclioProjects(c, namespace)
}