func NewForConfigOrDie(c *rest.Config) *StorageV1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}
NewForConfigOrDie creates a new StorageV1Client for the given config and
panics if there is an error in the config.
package v1
import (
	v1 "k8s.io/api/storage/v1"
	serializer "k8s.io/apimachinery/pkg/runtime/serializer"
	"k8s.io/client-go/kubernetes/scheme"
	rest "k8s.io/client-go/rest"
)
type StorageV1Interface interface {
	RESTClient() rest.Interface
	StorageClassesGetter
}
type StorageV1Client struct {
	restClient rest.Interface
}
func (c *StorageV1Client) StorageClasses() StorageClassInterface {
	return newStorageClasses(c)
}
func NewForConfig(c *rest.Config) (*StorageV1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &StorageV1Client{client}, nil
}