func New(c rest.Interface) *CoordinationV1beta1Client {
	return &CoordinationV1beta1Client{c}
}
New creates a new CoordinationV1beta1Client for the given RESTClient.
package v1beta1
import (
	v1beta1 "k8s.io/api/coordination/v1beta1"
	"k8s.io/client-go/kubernetes/scheme"
	rest "k8s.io/client-go/rest"
)
type CoordinationV1beta1Interface interface {
	RESTClient() rest.Interface
	LeasesGetter
}
type CoordinationV1beta1Client struct {
	restClient rest.Interface
}
func (c *CoordinationV1beta1Client) Leases(namespace string) LeaseInterface {
	return newLeases(c, namespace)
}
func NewForConfig(c *rest.Config) (*CoordinationV1beta1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &CoordinationV1beta1Client{client}, nil
}
func NewForConfigOrDie(c *rest.Config) *CoordinationV1beta1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}