func NewForConfigOrDie(c *rest.Config) *SettingsV1alpha1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}
NewForConfigOrDie creates a new SettingsV1alpha1Client for the given config and
panics if there is an error in the config.
package v1alpha1
import (
	v1alpha1 "k8s.io/api/settings/v1alpha1"
	serializer "k8s.io/apimachinery/pkg/runtime/serializer"
	"k8s.io/client-go/kubernetes/scheme"
	rest "k8s.io/client-go/rest"
)
type SettingsV1alpha1Interface interface {
	RESTClient() rest.Interface
	PodPresetsGetter
}
type SettingsV1alpha1Client struct {
	restClient rest.Interface
}
func (c *SettingsV1alpha1Client) PodPresets(namespace string) PodPresetInterface {
	return newPodPresets(c, namespace)
}
func NewForConfig(c *rest.Config) (*SettingsV1alpha1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &SettingsV1alpha1Client{client}, nil
}