func NewForConfigOrDie(c *rest.Config) *Clientset {
	var cs Clientset
	cs.tsuruV1 = tsuruv1.NewForConfigOrDie(c)
	cs.DiscoveryClient = discovery.NewDiscoveryClientForConfigOrDie(c)
	return &cs
}
NewForConfigOrDie creates a new Clientset for the given config and
panics if there is an error in the config.
package versioned
import (
	"fmt"
	tsuruv1 "github.com/tsuru/tsuru/provision/kubernetes/pkg/client/clientset/versioned/typed/tsuru/v1"
	discovery "k8s.io/client-go/discovery"
	rest "k8s.io/client-go/rest"
	flowcontrol "k8s.io/client-go/util/flowcontrol"
)
type Interface interface {
	Discovery() discovery.DiscoveryInterface
	TsuruV1() tsuruv1.TsuruV1Interface
}
type Clientset struct {
	*discovery.DiscoveryClient
	tsuruV1 *tsuruv1.TsuruV1Client
}
func (c *Clientset) TsuruV1() tsuruv1.TsuruV1Interface {
	return c.tsuruV1
}
func (c *Clientset) Discovery() discovery.DiscoveryInterface {
	if c == nil {
		return nil
	}
	return c.DiscoveryClient
}
func NewForConfig(c *rest.Config) (*Clientset, error) {
	configShallowCopy := *c
	if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 {
		if configShallowCopy.Burst <= 0 {
			return nil, fmt.Errorf("burst is required to be greater than 0 when RateLimiter is not set and QPS is set to greater than 0")
		}
		configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst)
	}
	var cs Clientset
	var err error
	cs.tsuruV1, err = tsuruv1.NewForConfig(&configShallowCopy)
	if err != nil {
		return nil, err
	}
	cs.DiscoveryClient, err = discovery.NewDiscoveryClientForConfig(&configShallowCopy)
	if err != nil {
		return nil, err
	}
	return &cs, nil
}