func NewForConfigOrDie(c *rest.Config) *CdiV1beta1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}
NewForConfigOrDie creates a new CdiV1beta1Client for the given config and
panics if there is an error in the config.
package v1beta1
import (
	rest "k8s.io/client-go/rest"
	"kubevirt.io/client-go/generated/containerized-data-importer/clientset/versioned/scheme"
	v1beta1 "kubevirt.io/containerized-data-importer/pkg/apis/core/v1beta1"
)
type CdiV1beta1Interface interface {
	RESTClient() rest.Interface
	CDIsGetter
	CDIConfigsGetter
	DataVolumesGetter
	ObjectTransfersGetter
	StorageProfilesGetter
}
type CdiV1beta1Client struct {
	restClient rest.Interface
}
func (c *CdiV1beta1Client) CDIs() CDIInterface {
	return newCDIs(c)
}
func (c *CdiV1beta1Client) CDIConfigs() CDIConfigInterface {
	return newCDIConfigs(c)
}
func (c *CdiV1beta1Client) DataVolumes(namespace string) DataVolumeInterface {
	return newDataVolumes(c, namespace)
}
func (c *CdiV1beta1Client) ObjectTransfers() ObjectTransferInterface {
	return newObjectTransfers(c)
}
func (c *CdiV1beta1Client) StorageProfiles() StorageProfileInterface {
	return newStorageProfiles(c)
}
func NewForConfig(c *rest.Config) (*CdiV1beta1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &CdiV1beta1Client{client}, nil
}