func (c *FakeAzureKeyVaultSecrets) Create(ctx context.Context, azureKeyVaultSecret *v2alpha1.AzureKeyVaultSecret, opts v1.CreateOptions) (result *v2alpha1.AzureKeyVaultSecret, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(azurekeyvaultsecretsResource, c.ns, azureKeyVaultSecret), &v2alpha1.AzureKeyVaultSecret{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v2alpha1.AzureKeyVaultSecret), err
}
Create takes the representation of a azureKeyVaultSecret and creates it.  Returns the server's representation of the azureKeyVaultSecret, and an error, if there is any.
package fake
import (
	"context"
	v2alpha1 "github.com/SparebankenVest/azure-key-vault-to-kubernetes/pkg/k8s/apis/azurekeyvault/v2alpha1"
	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	labels "k8s.io/apimachinery/pkg/labels"
	schema "k8s.io/apimachinery/pkg/runtime/schema"
	types "k8s.io/apimachinery/pkg/types"
	watch "k8s.io/apimachinery/pkg/watch"
	testing "k8s.io/client-go/testing"
)
type FakeAzureKeyVaultSecrets struct {
	Fake *FakeAzureKeyVaultV2alpha1
	ns   string
}
var azurekeyvaultsecretsResource = schema.GroupVersionResource{Group: "spv.no", Version: "v2alpha1", Resource: "azurekeyvaultsecrets"}
var azurekeyvaultsecretsKind = schema.GroupVersionKind{Group: "spv.no", Version: "v2alpha1", Kind: "AzureKeyVaultSecret"}
func (c *FakeAzureKeyVaultSecrets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v2alpha1.AzureKeyVaultSecret, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(azurekeyvaultsecretsResource, c.ns, name), &v2alpha1.AzureKeyVaultSecret{})
	if obj == nil {
		return nil, err
	}
	return obj.(*v2alpha1.AzureKeyVaultSecret), err
}
func (c *FakeAzureKeyVaultSecrets) List(ctx context.Context, opts v1.ListOptions) (result *v2alpha1.AzureKeyVaultSecretList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(azurekeyvaultsecretsResource, azurekeyvaultsecretsKind, c.ns, opts), &v2alpha1.AzureKeyVaultSecretList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &v2alpha1.AzureKeyVaultSecretList{ListMeta: obj.(*v2alpha1.AzureKeyVaultSecretList).ListMeta}
	for _, item := range obj.(*v2alpha1.AzureKeyVaultSecretList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeAzureKeyVaultSecrets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(azurekeyvaultsecretsResource, c.ns, opts))
}