func (mr *MockCustomResourceDefinitionWriterMockRecorder) UpsertCustomResourceDefinition(ctx, obj interface{}, transitionFuncs ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx, obj}, transitionFuncs...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpsertCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionWriter)(nil).UpsertCustomResourceDefinition), varargs...)
}
UpsertCustomResourceDefinition indicates an expected call of UpsertCustomResourceDefinition
package mock_v1
import (
	context "context"
	reflect "reflect"
	gomock "github.com/golang/mock/gomock"
	v1 "github.com/solo-io/skv2/pkg/multicluster/internal/k8s/apiextensions.k8s.io/v1"
	v10 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
	client "sigs.k8s.io/controller-runtime/pkg/client"
)
type MockMulticlusterClientset struct {
	ctrl     *gomock.Controller
	recorder *MockMulticlusterClientsetMockRecorder
}
type MockMulticlusterClientsetMockRecorder struct {
	mock *MockMulticlusterClientset
}
func NewMockMulticlusterClientset(ctrl *gomock.Controller) *MockMulticlusterClientset {
	mock := &MockMulticlusterClientset{ctrl: ctrl}
	mock.recorder = &MockMulticlusterClientsetMockRecorder{mock}
	return mock
}
func (m *MockMulticlusterClientset) EXPECT() *MockMulticlusterClientsetMockRecorder {
	return m.recorder
}
func (m *MockMulticlusterClientset) Cluster(cluster string) (v1.Clientset, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "Cluster", cluster)
	ret0, _ := ret[0].(v1.Clientset)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockMulticlusterClientsetMockRecorder) Cluster(cluster interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Cluster", reflect.TypeOf((*MockMulticlusterClientset)(nil).Cluster), cluster)
}
type MockClientset struct {
	ctrl     *gomock.Controller
	recorder *MockClientsetMockRecorder
}
type MockClientsetMockRecorder struct {
	mock *MockClientset
}
func NewMockClientset(ctrl *gomock.Controller) *MockClientset {
	mock := &MockClientset{ctrl: ctrl}
	mock.recorder = &MockClientsetMockRecorder{mock}
	return mock
}
func (m *MockClientset) EXPECT() *MockClientsetMockRecorder {
	return m.recorder
}
func (m *MockClientset) CustomResourceDefinitions() v1.CustomResourceDefinitionClient {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "CustomResourceDefinitions")
	ret0, _ := ret[0].(v1.CustomResourceDefinitionClient)
	return ret0
}
func (mr *MockClientsetMockRecorder) CustomResourceDefinitions() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CustomResourceDefinitions", reflect.TypeOf((*MockClientset)(nil).CustomResourceDefinitions))
}
type MockCustomResourceDefinitionReader struct {
	ctrl     *gomock.Controller
	recorder *MockCustomResourceDefinitionReaderMockRecorder
}
type MockCustomResourceDefinitionReaderMockRecorder struct {
	mock *MockCustomResourceDefinitionReader
}
func NewMockCustomResourceDefinitionReader(ctrl *gomock.Controller) *MockCustomResourceDefinitionReader {
	mock := &MockCustomResourceDefinitionReader{ctrl: ctrl}
	mock.recorder = &MockCustomResourceDefinitionReaderMockRecorder{mock}
	return mock
}
func (m *MockCustomResourceDefinitionReader) EXPECT() *MockCustomResourceDefinitionReaderMockRecorder {
	return m.recorder
}
func (m *MockCustomResourceDefinitionReader) GetCustomResourceDefinition(ctx context.Context, name string) (*v10.CustomResourceDefinition, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "GetCustomResourceDefinition", ctx, name)
	ret0, _ := ret[0].(*v10.CustomResourceDefinition)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockCustomResourceDefinitionReaderMockRecorder) GetCustomResourceDefinition(ctx, name interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionReader)(nil).GetCustomResourceDefinition), ctx, name)
}
func (m *MockCustomResourceDefinitionReader) ListCustomResourceDefinition(ctx context.Context, opts ...client.ListOption) (*v10.CustomResourceDefinitionList, error) {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "ListCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(*v10.CustomResourceDefinitionList)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
func (mr *MockCustomResourceDefinitionReaderMockRecorder) ListCustomResourceDefinition(ctx interface{}, opts ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionReader)(nil).ListCustomResourceDefinition), varargs...)
}
type MockCustomResourceDefinitionWriter struct {
	ctrl     *gomock.Controller
	recorder *MockCustomResourceDefinitionWriterMockRecorder
}
type MockCustomResourceDefinitionWriterMockRecorder struct {
	mock *MockCustomResourceDefinitionWriter
}
func NewMockCustomResourceDefinitionWriter(ctrl *gomock.Controller) *MockCustomResourceDefinitionWriter {
	mock := &MockCustomResourceDefinitionWriter{ctrl: ctrl}
	mock.recorder = &MockCustomResourceDefinitionWriterMockRecorder{mock}
	return mock
}
func (m *MockCustomResourceDefinitionWriter) EXPECT() *MockCustomResourceDefinitionWriterMockRecorder {
	return m.recorder
}
func (m *MockCustomResourceDefinitionWriter) CreateCustomResourceDefinition(ctx context.Context, obj *v10.CustomResourceDefinition, opts ...client.CreateOption) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx, obj}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "CreateCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockCustomResourceDefinitionWriterMockRecorder) CreateCustomResourceDefinition(ctx, obj interface{}, opts ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx, obj}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionWriter)(nil).CreateCustomResourceDefinition), varargs...)
}
func (m *MockCustomResourceDefinitionWriter) DeleteCustomResourceDefinition(ctx context.Context, name string, opts ...client.DeleteOption) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx, name}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "DeleteCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockCustomResourceDefinitionWriterMockRecorder) DeleteCustomResourceDefinition(ctx, name interface{}, opts ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx, name}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionWriter)(nil).DeleteCustomResourceDefinition), varargs...)
}
func (m *MockCustomResourceDefinitionWriter) UpdateCustomResourceDefinition(ctx context.Context, obj *v10.CustomResourceDefinition, opts ...client.UpdateOption) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx, obj}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "UpdateCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockCustomResourceDefinitionWriterMockRecorder) UpdateCustomResourceDefinition(ctx, obj interface{}, opts ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx, obj}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionWriter)(nil).UpdateCustomResourceDefinition), varargs...)
}
func (m *MockCustomResourceDefinitionWriter) PatchCustomResourceDefinition(ctx context.Context, obj *v10.CustomResourceDefinition, patch client.Patch, opts ...client.PatchOption) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx, obj, patch}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "PatchCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockCustomResourceDefinitionWriterMockRecorder) PatchCustomResourceDefinition(ctx, obj, patch interface{}, opts ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx, obj, patch}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PatchCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionWriter)(nil).PatchCustomResourceDefinition), varargs...)
}
func (m *MockCustomResourceDefinitionWriter) DeleteAllOfCustomResourceDefinition(ctx context.Context, opts ...client.DeleteAllOfOption) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx}
	for _, a := range opts {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "DeleteAllOfCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}
func (mr *MockCustomResourceDefinitionWriterMockRecorder) DeleteAllOfCustomResourceDefinition(ctx interface{}, opts ...interface{}) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	varargs := append([]interface{}{ctx}, opts...)
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAllOfCustomResourceDefinition", reflect.TypeOf((*MockCustomResourceDefinitionWriter)(nil).DeleteAllOfCustomResourceDefinition), varargs...)
}
func (m *MockCustomResourceDefinitionWriter) UpsertCustomResourceDefinition(ctx context.Context, obj *v10.CustomResourceDefinition, transitionFuncs ...v1.CustomResourceDefinitionTransitionFunction) error {
	m.ctrl.T.Helper()
	varargs := []interface{}{ctx, obj}
	for _, a := range transitionFuncs {
		varargs = append(varargs, a)
	}
	ret := m.ctrl.Call(m, "UpsertCustomResourceDefinition", varargs...)
	ret0, _ := ret[0].(error)
	return ret0
}