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