func (c *FakeArangoDeploymentReplications) Create(ctx context.Context, arangoDeploymentReplication *replicationv1.ArangoDeploymentReplication, opts v1.CreateOptions) (result *replicationv1.ArangoDeploymentReplication, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewCreateAction(arangodeploymentreplicationsResource, c.ns, arangoDeploymentReplication), &replicationv1.ArangoDeploymentReplication{})
	if obj == nil {
		return nil, err
	}
	return obj.(*replicationv1.ArangoDeploymentReplication), err
}
Create takes the representation of a arangoDeploymentReplication and creates it.  Returns the server's representation of the arangoDeploymentReplication, and an error, if there is any.
package fake
import (
	"context"
	replicationv1 "github.com/arangodb/kube-arangodb/pkg/apis/replication/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 FakeArangoDeploymentReplications struct {
	Fake *FakeReplicationV1
	ns   string
}
var arangodeploymentreplicationsResource = schema.GroupVersionResource{Group: "replication.database.arangodb.com", Version: "v1", Resource: "arangodeploymentreplications"}
var arangodeploymentreplicationsKind = schema.GroupVersionKind{Group: "replication.database.arangodb.com", Version: "v1", Kind: "ArangoDeploymentReplication"}
func (c *FakeArangoDeploymentReplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *replicationv1.ArangoDeploymentReplication, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewGetAction(arangodeploymentreplicationsResource, c.ns, name), &replicationv1.ArangoDeploymentReplication{})
	if obj == nil {
		return nil, err
	}
	return obj.(*replicationv1.ArangoDeploymentReplication), err
}
func (c *FakeArangoDeploymentReplications) List(ctx context.Context, opts v1.ListOptions) (result *replicationv1.ArangoDeploymentReplicationList, err error) {
	obj, err := c.Fake.
		Invokes(testing.NewListAction(arangodeploymentreplicationsResource, arangodeploymentreplicationsKind, c.ns, opts), &replicationv1.ArangoDeploymentReplicationList{})
	if obj == nil {
		return nil, err
	}
	label, _, _ := testing.ExtractFromListOptions(opts)
	if label == nil {
		label = labels.Everything()
	}
	list := &replicationv1.ArangoDeploymentReplicationList{ListMeta: obj.(*replicationv1.ArangoDeploymentReplicationList).ListMeta}
	for _, item := range obj.(*replicationv1.ArangoDeploymentReplicationList).Items {
		if label.Matches(labels.Set(item.Labels)) {
			list.Items = append(list.Items, item)
		}
	}
	return list, err
}
func (c *FakeArangoDeploymentReplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) {
	return c.Fake.
		InvokesWatch(testing.NewWatchAction(arangodeploymentreplicationsResource, c.ns, opts))
}