func (c *FakeArangoDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error {
	_, err := c.Fake.
		Invokes(testing.NewDeleteAction(arangodeploymentsResource, c.ns, name), &deploymentv1.ArangoDeployment{})
	return err
}
Delete takes name of the arangoDeployment and deletes it. Returns an error if one occurs.
package fake
import (
	"context"
	deploymentv1 "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1"
	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 FakeArangoDeployments struct {
	Fake *FakeDatabaseV1
	ns   string
}
var arangodeploymentsResource = schema.GroupVersionResource{Group: "database.arangodb.com", Version: "v1", Resource: "arangodeployments"}
var arangodeploymentsKind = schema.GroupVersionKind{Group: "database.arangodb.com", Version: "v1", Kind: "ArangoDeployment"}
func (c *FakeArangoDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *deploymentv1.ArangoDeployment, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(arangodeploymentsResource, c.ns, name), &deploymentv1.ArangoDeployment{})
	if obj == nil {
		return nil, err
	}
	return obj.(*deploymentv1.ArangoDeployment), err
}
func (c *FakeArangoDeployments) List(ctx context.Context, opts v1.ListOptions) (result *deploymentv1.ArangoDeploymentList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(arangodeploymentsResource, arangodeploymentsKind, c.ns, opts), &deploymentv1.ArangoDeploymentList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &deploymentv1.ArangoDeploymentList{ListMeta: obj.(*deploymentv1.ArangoDeploymentList).ListMeta}
	for _, item := range obj.(*deploymentv1.ArangoDeploymentList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeArangoDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(arangodeploymentsResource, c.ns, opts))
}
func (c *FakeArangoDeployments) Create(ctx context.Context, arangoDeployment *deploymentv1.ArangoDeployment, opts v1.CreateOptions) (result *deploymentv1.ArangoDeployment, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(arangodeploymentsResource, c.ns, arangoDeployment), &deploymentv1.ArangoDeployment{})
	if obj == nil {
		return nil, err
	}
	return obj.(*deploymentv1.ArangoDeployment), err
}
func (c *FakeArangoDeployments) Update(ctx context.Context, arangoDeployment *deploymentv1.ArangoDeployment, opts v1.UpdateOptions) (result *deploymentv1.ArangoDeployment, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateAction(arangodeploymentsResource, c.ns, arangoDeployment), &deploymentv1.ArangoDeployment{})
	if obj == nil {
		return nil, err
	}
	return obj.(*deploymentv1.ArangoDeployment), err
}
func (c *FakeArangoDeployments) UpdateStatus(ctx context.Context, arangoDeployment *deploymentv1.ArangoDeployment, opts v1.UpdateOptions) (*deploymentv1.ArangoDeployment, error) {
	obj, err := c.Fake.
		Invokes(testing.NewUpdateSubresourceAction(arangodeploymentsResource, "status", c.ns, arangoDeployment), &deploymentv1.ArangoDeployment{})
	if obj == nil {
		return nil, err
	}
	return obj.(*deploymentv1.ArangoDeployment), err
}