func NewForConfigOrDie(c *rest.Config) *AzureKeyVaultV1alpha1Client {
	client, err := NewForConfig(c)
	if err != nil {
		panic(err)
	}
	return client
}
NewForConfigOrDie creates a new AzureKeyVaultV1alpha1Client for the given config and
panics if there is an error in the config.
package v1alpha1
import (
	v1alpha1 "github.com/SparebankenVest/azure-key-vault-to-kubernetes/pkg/k8s/apis/azurekeyvault/v1alpha1"
	"github.com/SparebankenVest/azure-key-vault-to-kubernetes/pkg/k8s/client/clientset/versioned/scheme"
	rest "k8s.io/client-go/rest"
)
type AzureKeyVaultV1alpha1Interface interface {
	RESTClient() rest.Interface
	AzureKeyVaultSecretsGetter
}
type AzureKeyVaultV1alpha1Client struct {
	restClient rest.Interface
}
func (c *AzureKeyVaultV1alpha1Client) AzureKeyVaultSecrets(namespace string) AzureKeyVaultSecretInterface {
	return newAzureKeyVaultSecrets(c, namespace)
}
func NewForConfig(c *rest.Config) (*AzureKeyVaultV1alpha1Client, error) {
	config := *c
	if err := setConfigDefaults(&config); err != nil {
		return nil, err
	}
	client, err := rest.RESTClientFor(&config)
	if err != nil {
		return nil, err
	}
	return &AzureKeyVaultV1alpha1Client{client}, nil
}