// Code generated by moq; DO NOT EDIT.
// github.com/matryer/moq

package fakes

import (
	"context"
	"sync"
	"time"

	"github.com/rancher/norman/controller"
	"github.com/rancher/norman/objectclient"
	v3 "github.com/rancher/rancher/pkg/apis/management.cattle.io/v3"
	v31 "github.com/rancher/rancher/pkg/generated/norman/management.cattle.io/v3"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/apimachinery/pkg/watch"
	"k8s.io/client-go/tools/cache"
)

var (
	lockCatalogTemplateVersionListerMockGet  sync.RWMutex
	lockCatalogTemplateVersionListerMockList sync.RWMutex
)

// Ensure, that CatalogTemplateVersionListerMock does implement v31.CatalogTemplateVersionLister.
// If this is not the case, regenerate this file with moq.
var _ v31.CatalogTemplateVersionLister = &CatalogTemplateVersionListerMock{}

// CatalogTemplateVersionListerMock is a mock implementation of v31.CatalogTemplateVersionLister.
//
//     func TestSomethingThatUsesCatalogTemplateVersionLister(t *testing.T) {
//
//         // make and configure a mocked v31.CatalogTemplateVersionLister
//         mockedCatalogTemplateVersionLister := &CatalogTemplateVersionListerMock{
//             GetFunc: func(namespace string, name string) (*v3.CatalogTemplateVersion, error) {
// 	               panic("mock out the Get method")
//             },
//             ListFunc: func(namespace string, selector labels.Selector) ([]*v3.CatalogTemplateVersion, error) {
// 	               panic("mock out the List method")
//             },
//         }
//
//         // use mockedCatalogTemplateVersionLister in code that requires v31.CatalogTemplateVersionLister
//         // and then make assertions.
//
//     }
type CatalogTemplateVersionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.CatalogTemplateVersion, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.CatalogTemplateVersion, error)

	// calls tracks calls to the methods.
	calls struct {
		// Get holds details about calls to the Get method.
		Get []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Name is the name argument value.
			Name string
		}
		// List holds details about calls to the List method.
		List []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Selector is the selector argument value.
			Selector labels.Selector
		}
	}
}

// Get calls GetFunc.
func (mock *CatalogTemplateVersionListerMock) Get(namespace string, name string) (*v3.CatalogTemplateVersion, error) {
	if mock.GetFunc == nil {
		panic("CatalogTemplateVersionListerMock.GetFunc: method is nil but CatalogTemplateVersionLister.Get was just called")
	}
	callInfo := struct {
		Namespace string
		Name      string
	}{
		Namespace: namespace,
		Name:      name,
	}
	lockCatalogTemplateVersionListerMockGet.Lock()
	mock.calls.Get = append(mock.calls.Get, callInfo)
	lockCatalogTemplateVersionListerMockGet.Unlock()
	return mock.GetFunc(namespace, name)
}

// GetCalls gets all the calls that were made to Get.
// Check the length with:
//     len(mockedCatalogTemplateVersionLister.GetCalls())
func (mock *CatalogTemplateVersionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
} {
	var calls []struct {
		Namespace string
		Name      string
	}
	lockCatalogTemplateVersionListerMockGet.RLock()
	calls = mock.calls.Get
	lockCatalogTemplateVersionListerMockGet.RUnlock()
	return calls
}

// List calls ListFunc.
func (mock *CatalogTemplateVersionListerMock) List(namespace string, selector labels.Selector) ([]*v3.CatalogTemplateVersion, error) {
	if mock.ListFunc == nil {
		panic("CatalogTemplateVersionListerMock.ListFunc: method is nil but CatalogTemplateVersionLister.List was just called")
	}
	callInfo := struct {
		Namespace string
		Selector  labels.Selector
	}{
		Namespace: namespace,
		Selector:  selector,
	}
	lockCatalogTemplateVersionListerMockList.Lock()
	mock.calls.List = append(mock.calls.List, callInfo)
	lockCatalogTemplateVersionListerMockList.Unlock()
	return mock.ListFunc(namespace, selector)
}

// ListCalls gets all the calls that were made to List.
// Check the length with:
//     len(mockedCatalogTemplateVersionLister.ListCalls())
func (mock *CatalogTemplateVersionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
} {
	var calls []struct {
		Namespace string
		Selector  labels.Selector
	}
	lockCatalogTemplateVersionListerMockList.RLock()
	calls = mock.calls.List
	lockCatalogTemplateVersionListerMockList.RUnlock()
	return calls
}

var (
	lockCatalogTemplateVersionControllerMockAddClusterScopedFeatureHandler sync.RWMutex
	lockCatalogTemplateVersionControllerMockAddClusterScopedHandler        sync.RWMutex
	lockCatalogTemplateVersionControllerMockAddFeatureHandler              sync.RWMutex
	lockCatalogTemplateVersionControllerMockAddHandler                     sync.RWMutex
	lockCatalogTemplateVersionControllerMockEnqueue                        sync.RWMutex
	lockCatalogTemplateVersionControllerMockEnqueueAfter                   sync.RWMutex
	lockCatalogTemplateVersionControllerMockGeneric                        sync.RWMutex
	lockCatalogTemplateVersionControllerMockInformer                       sync.RWMutex
	lockCatalogTemplateVersionControllerMockLister                         sync.RWMutex
)

// Ensure, that CatalogTemplateVersionControllerMock does implement v31.CatalogTemplateVersionController.
// If this is not the case, regenerate this file with moq.
var _ v31.CatalogTemplateVersionController = &CatalogTemplateVersionControllerMock{}

// CatalogTemplateVersionControllerMock is a mock implementation of v31.CatalogTemplateVersionController.
//
//     func TestSomethingThatUsesCatalogTemplateVersionController(t *testing.T) {
//
//         // make and configure a mocked v31.CatalogTemplateVersionController
//         mockedCatalogTemplateVersionController := &CatalogTemplateVersionControllerMock{
//             AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedFeatureHandler method")
//             },
//             AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedHandler method")
//             },
//             AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddFeatureHandler method")
//             },
//             AddHandlerFunc: func(ctx context.Context, name string, handler v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddHandler method")
//             },
//             EnqueueFunc: func(namespace string, name string)  {
// 	               panic("mock out the Enqueue method")
//             },
//             EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
// 	               panic("mock out the EnqueueAfter method")
//             },
//             GenericFunc: func() controller.GenericController {
// 	               panic("mock out the Generic method")
//             },
//             InformerFunc: func() cache.SharedIndexInformer {
// 	               panic("mock out the Informer method")
//             },
//             ListerFunc: func() v31.CatalogTemplateVersionLister {
// 	               panic("mock out the Lister method")
//             },
//         }
//
//         // use mockedCatalogTemplateVersionController in code that requires v31.CatalogTemplateVersionController
//         // and then make assertions.
//
//     }
type CatalogTemplateVersionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v31.CatalogTemplateVersionHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v31.CatalogTemplateVersionHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v31.CatalogTemplateVersionHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v31.CatalogTemplateVersionLister

	// calls tracks calls to the methods.
	calls struct {
		// AddClusterScopedFeatureHandler holds details about calls to the AddClusterScopedFeatureHandler method.
		AddClusterScopedFeatureHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Enabled is the enabled argument value.
			Enabled func() bool
			// Name is the name argument value.
			Name string
			// ClusterName is the clusterName argument value.
			ClusterName string
			// Handler is the handler argument value.
			Handler v31.CatalogTemplateVersionHandlerFunc
		}
		// AddClusterScopedHandler holds details about calls to the AddClusterScopedHandler method.
		AddClusterScopedHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Name is the name argument value.
			Name string
			// ClusterName is the clusterName argument value.
			ClusterName string
			// Handler is the handler argument value.
			Handler v31.CatalogTemplateVersionHandlerFunc
		}
		// AddFeatureHandler holds details about calls to the AddFeatureHandler method.
		AddFeatureHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Enabled is the enabled argument value.
			Enabled func() bool
			// Name is the name argument value.
			Name string
			// Sync is the sync argument value.
			Sync v31.CatalogTemplateVersionHandlerFunc
		}
		// AddHandler holds details about calls to the AddHandler method.
		AddHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Name is the name argument value.
			Name string
			// Handler is the handler argument value.
			Handler v31.CatalogTemplateVersionHandlerFunc
		}
		// Enqueue holds details about calls to the Enqueue method.
		Enqueue []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Name is the name argument value.
			Name string
		}
		// EnqueueAfter holds details about calls to the EnqueueAfter method.
		EnqueueAfter []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Name is the name argument value.
			Name string
			// After is the after argument value.
			After time.Duration
		}
		// Generic holds details about calls to the Generic method.
		Generic []struct {
		}
		// Informer holds details about calls to the Informer method.
		Informer []struct {
		}
		// Lister holds details about calls to the Lister method.
		Lister []struct {
		}
	}
}

// AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddClusterScopedFeatureHandlerFunc == nil {
		panic("CatalogTemplateVersionControllerMock.AddClusterScopedFeatureHandlerFunc: method is nil but CatalogTemplateVersionController.AddClusterScopedFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Handler     v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Handler:     handler,
	}
	lockCatalogTemplateVersionControllerMockAddClusterScopedFeatureHandler.Lock()
	mock.calls.AddClusterScopedFeatureHandler = append(mock.calls.AddClusterScopedFeatureHandler, callInfo)
	lockCatalogTemplateVersionControllerMockAddClusterScopedFeatureHandler.Unlock()
	mock.AddClusterScopedFeatureHandlerFunc(ctx, enabled, name, clusterName, handler)
}

// AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.AddClusterScopedFeatureHandlerCalls())
func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Handler     v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionControllerMockAddClusterScopedFeatureHandler.RLock()
	calls = mock.calls.AddClusterScopedFeatureHandler
	lockCatalogTemplateVersionControllerMockAddClusterScopedFeatureHandler.RUnlock()
	return calls
}

// AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddClusterScopedHandlerFunc == nil {
		panic("CatalogTemplateVersionControllerMock.AddClusterScopedHandlerFunc: method is nil but CatalogTemplateVersionController.AddClusterScopedHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Handler     v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:         ctx,
		Name:        name,
		ClusterName: clusterName,
		Handler:     handler,
	}
	lockCatalogTemplateVersionControllerMockAddClusterScopedHandler.Lock()
	mock.calls.AddClusterScopedHandler = append(mock.calls.AddClusterScopedHandler, callInfo)
	lockCatalogTemplateVersionControllerMockAddClusterScopedHandler.Unlock()
	mock.AddClusterScopedHandlerFunc(ctx, name, clusterName, handler)
}

// AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.AddClusterScopedHandlerCalls())
func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Handler     v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionControllerMockAddClusterScopedHandler.RLock()
	calls = mock.calls.AddClusterScopedHandler
	lockCatalogTemplateVersionControllerMockAddClusterScopedHandler.RUnlock()
	return calls
}

// AddFeatureHandler calls AddFeatureHandlerFunc.
func (mock *CatalogTemplateVersionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddFeatureHandlerFunc == nil {
		panic("CatalogTemplateVersionControllerMock.AddFeatureHandlerFunc: method is nil but CatalogTemplateVersionController.AddFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Enabled func() bool
		Name    string
		Sync    v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:     ctx,
		Enabled: enabled,
		Name:    name,
		Sync:    syncMoqParam,
	}
	lockCatalogTemplateVersionControllerMockAddFeatureHandler.Lock()
	mock.calls.AddFeatureHandler = append(mock.calls.AddFeatureHandler, callInfo)
	lockCatalogTemplateVersionControllerMockAddFeatureHandler.Unlock()
	mock.AddFeatureHandlerFunc(ctx, enabled, name, syncMoqParam)
}

// AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.AddFeatureHandlerCalls())
func (mock *CatalogTemplateVersionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx     context.Context
		Enabled func() bool
		Name    string
		Sync    v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionControllerMockAddFeatureHandler.RLock()
	calls = mock.calls.AddFeatureHandler
	lockCatalogTemplateVersionControllerMockAddFeatureHandler.RUnlock()
	return calls
}

// AddHandler calls AddHandlerFunc.
func (mock *CatalogTemplateVersionControllerMock) AddHandler(ctx context.Context, name string, handler v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddHandlerFunc == nil {
		panic("CatalogTemplateVersionControllerMock.AddHandlerFunc: method is nil but CatalogTemplateVersionController.AddHandler was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Name    string
		Handler v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:     ctx,
		Name:    name,
		Handler: handler,
	}
	lockCatalogTemplateVersionControllerMockAddHandler.Lock()
	mock.calls.AddHandler = append(mock.calls.AddHandler, callInfo)
	lockCatalogTemplateVersionControllerMockAddHandler.Unlock()
	mock.AddHandlerFunc(ctx, name, handler)
}

// AddHandlerCalls gets all the calls that were made to AddHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.AddHandlerCalls())
func (mock *CatalogTemplateVersionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx     context.Context
		Name    string
		Handler v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionControllerMockAddHandler.RLock()
	calls = mock.calls.AddHandler
	lockCatalogTemplateVersionControllerMockAddHandler.RUnlock()
	return calls
}

// Enqueue calls EnqueueFunc.
func (mock *CatalogTemplateVersionControllerMock) Enqueue(namespace string, name string) {
	if mock.EnqueueFunc == nil {
		panic("CatalogTemplateVersionControllerMock.EnqueueFunc: method is nil but CatalogTemplateVersionController.Enqueue was just called")
	}
	callInfo := struct {
		Namespace string
		Name      string
	}{
		Namespace: namespace,
		Name:      name,
	}
	lockCatalogTemplateVersionControllerMockEnqueue.Lock()
	mock.calls.Enqueue = append(mock.calls.Enqueue, callInfo)
	lockCatalogTemplateVersionControllerMockEnqueue.Unlock()
	mock.EnqueueFunc(namespace, name)
}

// EnqueueCalls gets all the calls that were made to Enqueue.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.EnqueueCalls())
func (mock *CatalogTemplateVersionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
} {
	var calls []struct {
		Namespace string
		Name      string
	}
	lockCatalogTemplateVersionControllerMockEnqueue.RLock()
	calls = mock.calls.Enqueue
	lockCatalogTemplateVersionControllerMockEnqueue.RUnlock()
	return calls
}

// EnqueueAfter calls EnqueueAfterFunc.
func (mock *CatalogTemplateVersionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration) {
	if mock.EnqueueAfterFunc == nil {
		panic("CatalogTemplateVersionControllerMock.EnqueueAfterFunc: method is nil but CatalogTemplateVersionController.EnqueueAfter was just called")
	}
	callInfo := struct {
		Namespace string
		Name      string
		After     time.Duration
	}{
		Namespace: namespace,
		Name:      name,
		After:     after,
	}
	lockCatalogTemplateVersionControllerMockEnqueueAfter.Lock()
	mock.calls.EnqueueAfter = append(mock.calls.EnqueueAfter, callInfo)
	lockCatalogTemplateVersionControllerMockEnqueueAfter.Unlock()
	mock.EnqueueAfterFunc(namespace, name, after)
}

// EnqueueAfterCalls gets all the calls that were made to EnqueueAfter.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.EnqueueAfterCalls())
func (mock *CatalogTemplateVersionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
} {
	var calls []struct {
		Namespace string
		Name      string
		After     time.Duration
	}
	lockCatalogTemplateVersionControllerMockEnqueueAfter.RLock()
	calls = mock.calls.EnqueueAfter
	lockCatalogTemplateVersionControllerMockEnqueueAfter.RUnlock()
	return calls
}

// Generic calls GenericFunc.
func (mock *CatalogTemplateVersionControllerMock) Generic() controller.GenericController {
	if mock.GenericFunc == nil {
		panic("CatalogTemplateVersionControllerMock.GenericFunc: method is nil but CatalogTemplateVersionController.Generic was just called")
	}
	callInfo := struct {
	}{}
	lockCatalogTemplateVersionControllerMockGeneric.Lock()
	mock.calls.Generic = append(mock.calls.Generic, callInfo)
	lockCatalogTemplateVersionControllerMockGeneric.Unlock()
	return mock.GenericFunc()
}

// GenericCalls gets all the calls that were made to Generic.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.GenericCalls())
func (mock *CatalogTemplateVersionControllerMock) GenericCalls() []struct {
} {
	var calls []struct {
	}
	lockCatalogTemplateVersionControllerMockGeneric.RLock()
	calls = mock.calls.Generic
	lockCatalogTemplateVersionControllerMockGeneric.RUnlock()
	return calls
}

// Informer calls InformerFunc.
func (mock *CatalogTemplateVersionControllerMock) Informer() cache.SharedIndexInformer {
	if mock.InformerFunc == nil {
		panic("CatalogTemplateVersionControllerMock.InformerFunc: method is nil but CatalogTemplateVersionController.Informer was just called")
	}
	callInfo := struct {
	}{}
	lockCatalogTemplateVersionControllerMockInformer.Lock()
	mock.calls.Informer = append(mock.calls.Informer, callInfo)
	lockCatalogTemplateVersionControllerMockInformer.Unlock()
	return mock.InformerFunc()
}

// InformerCalls gets all the calls that were made to Informer.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.InformerCalls())
func (mock *CatalogTemplateVersionControllerMock) InformerCalls() []struct {
} {
	var calls []struct {
	}
	lockCatalogTemplateVersionControllerMockInformer.RLock()
	calls = mock.calls.Informer
	lockCatalogTemplateVersionControllerMockInformer.RUnlock()
	return calls
}

// Lister calls ListerFunc.
func (mock *CatalogTemplateVersionControllerMock) Lister() v31.CatalogTemplateVersionLister {
	if mock.ListerFunc == nil {
		panic("CatalogTemplateVersionControllerMock.ListerFunc: method is nil but CatalogTemplateVersionController.Lister was just called")
	}
	callInfo := struct {
	}{}
	lockCatalogTemplateVersionControllerMockLister.Lock()
	mock.calls.Lister = append(mock.calls.Lister, callInfo)
	lockCatalogTemplateVersionControllerMockLister.Unlock()
	return mock.ListerFunc()
}

// ListerCalls gets all the calls that were made to Lister.
// Check the length with:
//     len(mockedCatalogTemplateVersionController.ListerCalls())
func (mock *CatalogTemplateVersionControllerMock) ListerCalls() []struct {
} {
	var calls []struct {
	}
	lockCatalogTemplateVersionControllerMockLister.RLock()
	calls = mock.calls.Lister
	lockCatalogTemplateVersionControllerMockLister.RUnlock()
	return calls
}

var (
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureHandler   sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureLifecycle sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedHandler          sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedLifecycle        sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddFeatureHandler                sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddFeatureLifecycle              sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddHandler                       sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockAddLifecycle                     sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockController                       sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockCreate                           sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockDelete                           sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockDeleteCollection                 sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockDeleteNamespaced                 sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockGet                              sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockGetNamespaced                    sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockList                             sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockListNamespaced                   sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockObjectClient                     sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockUpdate                           sync.RWMutex
	lockCatalogTemplateVersionInterfaceMockWatch                            sync.RWMutex
)

// Ensure, that CatalogTemplateVersionInterfaceMock does implement v31.CatalogTemplateVersionInterface.
// If this is not the case, regenerate this file with moq.
var _ v31.CatalogTemplateVersionInterface = &CatalogTemplateVersionInterfaceMock{}

// CatalogTemplateVersionInterfaceMock is a mock implementation of v31.CatalogTemplateVersionInterface.
//
//     func TestSomethingThatUsesCatalogTemplateVersionInterface(t *testing.T) {
//
//         // make and configure a mocked v31.CatalogTemplateVersionInterface
//         mockedCatalogTemplateVersionInterface := &CatalogTemplateVersionInterfaceMock{
//             AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedFeatureHandler method")
//             },
//             AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v31.CatalogTemplateVersionLifecycle)  {
// 	               panic("mock out the AddClusterScopedFeatureLifecycle method")
//             },
//             AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedHandler method")
//             },
//             AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v31.CatalogTemplateVersionLifecycle)  {
// 	               panic("mock out the AddClusterScopedLifecycle method")
//             },
//             AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddFeatureHandler method")
//             },
//             AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v31.CatalogTemplateVersionLifecycle)  {
// 	               panic("mock out the AddFeatureLifecycle method")
//             },
//             AddHandlerFunc: func(ctx context.Context, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)  {
// 	               panic("mock out the AddHandler method")
//             },
//             AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v31.CatalogTemplateVersionLifecycle)  {
// 	               panic("mock out the AddLifecycle method")
//             },
//             ControllerFunc: func() v31.CatalogTemplateVersionController {
// 	               panic("mock out the Controller method")
//             },
//             CreateFunc: func(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error) {
// 	               panic("mock out the Create method")
//             },
//             DeleteFunc: func(name string, options *metav1.DeleteOptions) error {
// 	               panic("mock out the Delete method")
//             },
//             DeleteCollectionFunc: func(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error {
// 	               panic("mock out the DeleteCollection method")
//             },
//             DeleteNamespacedFunc: func(namespace string, name string, options *metav1.DeleteOptions) error {
// 	               panic("mock out the DeleteNamespaced method")
//             },
//             GetFunc: func(name string, opts metav1.GetOptions) (*v3.CatalogTemplateVersion, error) {
// 	               panic("mock out the Get method")
//             },
//             GetNamespacedFunc: func(namespace string, name string, opts metav1.GetOptions) (*v3.CatalogTemplateVersion, error) {
// 	               panic("mock out the GetNamespaced method")
//             },
//             ListFunc: func(opts metav1.ListOptions) (*v3.CatalogTemplateVersionList, error) {
// 	               panic("mock out the List method")
//             },
//             ListNamespacedFunc: func(namespace string, opts metav1.ListOptions) (*v3.CatalogTemplateVersionList, error) {
// 	               panic("mock out the ListNamespaced method")
//             },
//             ObjectClientFunc: func() *objectclient.ObjectClient {
// 	               panic("mock out the ObjectClient method")
//             },
//             UpdateFunc: func(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error) {
// 	               panic("mock out the Update method")
//             },
//             WatchFunc: func(opts metav1.ListOptions) (watch.Interface, error) {
// 	               panic("mock out the Watch method")
//             },
//         }
//
//         // use mockedCatalogTemplateVersionInterface in code that requires v31.CatalogTemplateVersionInterface
//         // and then make assertions.
//
//     }
type CatalogTemplateVersionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v31.CatalogTemplateVersionLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v31.CatalogTemplateVersionLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v31.CatalogTemplateVersionLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v31.CatalogTemplateVersionLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v31.CatalogTemplateVersionController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *metav1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *metav1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts metav1.GetOptions) (*v3.CatalogTemplateVersion, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts metav1.GetOptions) (*v3.CatalogTemplateVersion, error)

	// ListFunc mocks the List method.
	ListFunc func(opts metav1.ListOptions) (*v3.CatalogTemplateVersionList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts metav1.ListOptions) (*v3.CatalogTemplateVersionList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts metav1.ListOptions) (watch.Interface, error)

	// calls tracks calls to the methods.
	calls struct {
		// AddClusterScopedFeatureHandler holds details about calls to the AddClusterScopedFeatureHandler method.
		AddClusterScopedFeatureHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Enabled is the enabled argument value.
			Enabled func() bool
			// Name is the name argument value.
			Name string
			// ClusterName is the clusterName argument value.
			ClusterName string
			// Sync is the sync argument value.
			Sync v31.CatalogTemplateVersionHandlerFunc
		}
		// AddClusterScopedFeatureLifecycle holds details about calls to the AddClusterScopedFeatureLifecycle method.
		AddClusterScopedFeatureLifecycle []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Enabled is the enabled argument value.
			Enabled func() bool
			// Name is the name argument value.
			Name string
			// ClusterName is the clusterName argument value.
			ClusterName string
			// Lifecycle is the lifecycle argument value.
			Lifecycle v31.CatalogTemplateVersionLifecycle
		}
		// AddClusterScopedHandler holds details about calls to the AddClusterScopedHandler method.
		AddClusterScopedHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Name is the name argument value.
			Name string
			// ClusterName is the clusterName argument value.
			ClusterName string
			// Sync is the sync argument value.
			Sync v31.CatalogTemplateVersionHandlerFunc
		}
		// AddClusterScopedLifecycle holds details about calls to the AddClusterScopedLifecycle method.
		AddClusterScopedLifecycle []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Name is the name argument value.
			Name string
			// ClusterName is the clusterName argument value.
			ClusterName string
			// Lifecycle is the lifecycle argument value.
			Lifecycle v31.CatalogTemplateVersionLifecycle
		}
		// AddFeatureHandler holds details about calls to the AddFeatureHandler method.
		AddFeatureHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Enabled is the enabled argument value.
			Enabled func() bool
			// Name is the name argument value.
			Name string
			// Sync is the sync argument value.
			Sync v31.CatalogTemplateVersionHandlerFunc
		}
		// AddFeatureLifecycle holds details about calls to the AddFeatureLifecycle method.
		AddFeatureLifecycle []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Enabled is the enabled argument value.
			Enabled func() bool
			// Name is the name argument value.
			Name string
			// Lifecycle is the lifecycle argument value.
			Lifecycle v31.CatalogTemplateVersionLifecycle
		}
		// AddHandler holds details about calls to the AddHandler method.
		AddHandler []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Name is the name argument value.
			Name string
			// Sync is the sync argument value.
			Sync v31.CatalogTemplateVersionHandlerFunc
		}
		// AddLifecycle holds details about calls to the AddLifecycle method.
		AddLifecycle []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Name is the name argument value.
			Name string
			// Lifecycle is the lifecycle argument value.
			Lifecycle v31.CatalogTemplateVersionLifecycle
		}
		// Controller holds details about calls to the Controller method.
		Controller []struct {
		}
		// Create holds details about calls to the Create method.
		Create []struct {
			// In1 is the in1 argument value.
			In1 *v3.CatalogTemplateVersion
		}
		// Delete holds details about calls to the Delete method.
		Delete []struct {
			// Name is the name argument value.
			Name string
			// Options is the options argument value.
			Options *metav1.DeleteOptions
		}
		// DeleteCollection holds details about calls to the DeleteCollection method.
		DeleteCollection []struct {
			// DeleteOpts is the deleteOpts argument value.
			DeleteOpts *metav1.DeleteOptions
			// ListOpts is the listOpts argument value.
			ListOpts metav1.ListOptions
		}
		// DeleteNamespaced holds details about calls to the DeleteNamespaced method.
		DeleteNamespaced []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Name is the name argument value.
			Name string
			// Options is the options argument value.
			Options *metav1.DeleteOptions
		}
		// Get holds details about calls to the Get method.
		Get []struct {
			// Name is the name argument value.
			Name string
			// Opts is the opts argument value.
			Opts metav1.GetOptions
		}
		// GetNamespaced holds details about calls to the GetNamespaced method.
		GetNamespaced []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Name is the name argument value.
			Name string
			// Opts is the opts argument value.
			Opts metav1.GetOptions
		}
		// List holds details about calls to the List method.
		List []struct {
			// Opts is the opts argument value.
			Opts metav1.ListOptions
		}
		// ListNamespaced holds details about calls to the ListNamespaced method.
		ListNamespaced []struct {
			// Namespace is the namespace argument value.
			Namespace string
			// Opts is the opts argument value.
			Opts metav1.ListOptions
		}
		// ObjectClient holds details about calls to the ObjectClient method.
		ObjectClient []struct {
		}
		// Update holds details about calls to the Update method.
		Update []struct {
			// In1 is the in1 argument value.
			In1 *v3.CatalogTemplateVersion
		}
		// Watch holds details about calls to the Watch method.
		Watch []struct {
			// Opts is the opts argument value.
			Opts metav1.ListOptions
		}
	}
}

// AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddClusterScopedFeatureHandlerFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddClusterScopedFeatureHandlerFunc: method is nil but CatalogTemplateVersionInterface.AddClusterScopedFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Sync        v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Sync:        syncMoqParam,
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureHandler.Lock()
	mock.calls.AddClusterScopedFeatureHandler = append(mock.calls.AddClusterScopedFeatureHandler, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureHandler.Unlock()
	mock.AddClusterScopedFeatureHandlerFunc(ctx, enabled, name, clusterName, syncMoqParam)
}

// AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddClusterScopedFeatureHandlerCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Sync        v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureHandler.RLock()
	calls = mock.calls.AddClusterScopedFeatureHandler
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureHandler.RUnlock()
	return calls
}

// AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v31.CatalogTemplateVersionLifecycle) {
	if mock.AddClusterScopedFeatureLifecycleFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddClusterScopedFeatureLifecycleFunc: method is nil but CatalogTemplateVersionInterface.AddClusterScopedFeatureLifecycle was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Lifecycle   v31.CatalogTemplateVersionLifecycle
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Lifecycle:   lifecycle,
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureLifecycle.Lock()
	mock.calls.AddClusterScopedFeatureLifecycle = append(mock.calls.AddClusterScopedFeatureLifecycle, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureLifecycle.Unlock()
	mock.AddClusterScopedFeatureLifecycleFunc(ctx, enabled, name, clusterName, lifecycle)
}

// AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddClusterScopedFeatureLifecycleCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v31.CatalogTemplateVersionLifecycle
} {
	var calls []struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Lifecycle   v31.CatalogTemplateVersionLifecycle
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureLifecycle.RLock()
	calls = mock.calls.AddClusterScopedFeatureLifecycle
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedFeatureLifecycle.RUnlock()
	return calls
}

// AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddClusterScopedHandlerFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddClusterScopedHandlerFunc: method is nil but CatalogTemplateVersionInterface.AddClusterScopedHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Sync        v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:         ctx,
		Name:        name,
		ClusterName: clusterName,
		Sync:        syncMoqParam,
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedHandler.Lock()
	mock.calls.AddClusterScopedHandler = append(mock.calls.AddClusterScopedHandler, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedHandler.Unlock()
	mock.AddClusterScopedHandlerFunc(ctx, name, clusterName, syncMoqParam)
}

// AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddClusterScopedHandlerCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Sync        v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedHandler.RLock()
	calls = mock.calls.AddClusterScopedHandler
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedHandler.RUnlock()
	return calls
}

// AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v31.CatalogTemplateVersionLifecycle) {
	if mock.AddClusterScopedLifecycleFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddClusterScopedLifecycleFunc: method is nil but CatalogTemplateVersionInterface.AddClusterScopedLifecycle was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Lifecycle   v31.CatalogTemplateVersionLifecycle
	}{
		Ctx:         ctx,
		Name:        name,
		ClusterName: clusterName,
		Lifecycle:   lifecycle,
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedLifecycle.Lock()
	mock.calls.AddClusterScopedLifecycle = append(mock.calls.AddClusterScopedLifecycle, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedLifecycle.Unlock()
	mock.AddClusterScopedLifecycleFunc(ctx, name, clusterName, lifecycle)
}

// AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddClusterScopedLifecycleCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v31.CatalogTemplateVersionLifecycle
} {
	var calls []struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Lifecycle   v31.CatalogTemplateVersionLifecycle
	}
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedLifecycle.RLock()
	calls = mock.calls.AddClusterScopedLifecycle
	lockCatalogTemplateVersionInterfaceMockAddClusterScopedLifecycle.RUnlock()
	return calls
}

// AddFeatureHandler calls AddFeatureHandlerFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddFeatureHandlerFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddFeatureHandlerFunc: method is nil but CatalogTemplateVersionInterface.AddFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Enabled func() bool
		Name    string
		Sync    v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:     ctx,
		Enabled: enabled,
		Name:    name,
		Sync:    syncMoqParam,
	}
	lockCatalogTemplateVersionInterfaceMockAddFeatureHandler.Lock()
	mock.calls.AddFeatureHandler = append(mock.calls.AddFeatureHandler, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddFeatureHandler.Unlock()
	mock.AddFeatureHandlerFunc(ctx, enabled, name, syncMoqParam)
}

// AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddFeatureHandlerCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx     context.Context
		Enabled func() bool
		Name    string
		Sync    v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionInterfaceMockAddFeatureHandler.RLock()
	calls = mock.calls.AddFeatureHandler
	lockCatalogTemplateVersionInterfaceMockAddFeatureHandler.RUnlock()
	return calls
}

// AddFeatureLifecycle calls AddFeatureLifecycleFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v31.CatalogTemplateVersionLifecycle) {
	if mock.AddFeatureLifecycleFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddFeatureLifecycleFunc: method is nil but CatalogTemplateVersionInterface.AddFeatureLifecycle was just called")
	}
	callInfo := struct {
		Ctx       context.Context
		Enabled   func() bool
		Name      string
		Lifecycle v31.CatalogTemplateVersionLifecycle
	}{
		Ctx:       ctx,
		Enabled:   enabled,
		Name:      name,
		Lifecycle: lifecycle,
	}
	lockCatalogTemplateVersionInterfaceMockAddFeatureLifecycle.Lock()
	mock.calls.AddFeatureLifecycle = append(mock.calls.AddFeatureLifecycle, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddFeatureLifecycle.Unlock()
	mock.AddFeatureLifecycleFunc(ctx, enabled, name, lifecycle)
}

// AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddFeatureLifecycleCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v31.CatalogTemplateVersionLifecycle
} {
	var calls []struct {
		Ctx       context.Context
		Enabled   func() bool
		Name      string
		Lifecycle v31.CatalogTemplateVersionLifecycle
	}
	lockCatalogTemplateVersionInterfaceMockAddFeatureLifecycle.RLock()
	calls = mock.calls.AddFeatureLifecycle
	lockCatalogTemplateVersionInterfaceMockAddFeatureLifecycle.RUnlock()
	return calls
}

// AddHandler calls AddHandlerFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddHandler(ctx context.Context, name string, syncMoqParam v31.CatalogTemplateVersionHandlerFunc) {
	if mock.AddHandlerFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddHandlerFunc: method is nil but CatalogTemplateVersionInterface.AddHandler was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		Name string
		Sync v31.CatalogTemplateVersionHandlerFunc
	}{
		Ctx:  ctx,
		Name: name,
		Sync: syncMoqParam,
	}
	lockCatalogTemplateVersionInterfaceMockAddHandler.Lock()
	mock.calls.AddHandler = append(mock.calls.AddHandler, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddHandler.Unlock()
	mock.AddHandlerFunc(ctx, name, syncMoqParam)
}

// AddHandlerCalls gets all the calls that were made to AddHandler.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddHandlerCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v31.CatalogTemplateVersionHandlerFunc
} {
	var calls []struct {
		Ctx  context.Context
		Name string
		Sync v31.CatalogTemplateVersionHandlerFunc
	}
	lockCatalogTemplateVersionInterfaceMockAddHandler.RLock()
	calls = mock.calls.AddHandler
	lockCatalogTemplateVersionInterfaceMockAddHandler.RUnlock()
	return calls
}

// AddLifecycle calls AddLifecycleFunc.
func (mock *CatalogTemplateVersionInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v31.CatalogTemplateVersionLifecycle) {
	if mock.AddLifecycleFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.AddLifecycleFunc: method is nil but CatalogTemplateVersionInterface.AddLifecycle was just called")
	}
	callInfo := struct {
		Ctx       context.Context
		Name      string
		Lifecycle v31.CatalogTemplateVersionLifecycle
	}{
		Ctx:       ctx,
		Name:      name,
		Lifecycle: lifecycle,
	}
	lockCatalogTemplateVersionInterfaceMockAddLifecycle.Lock()
	mock.calls.AddLifecycle = append(mock.calls.AddLifecycle, callInfo)
	lockCatalogTemplateVersionInterfaceMockAddLifecycle.Unlock()
	mock.AddLifecycleFunc(ctx, name, lifecycle)
}

// AddLifecycleCalls gets all the calls that were made to AddLifecycle.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.AddLifecycleCalls())
func (mock *CatalogTemplateVersionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v31.CatalogTemplateVersionLifecycle
} {
	var calls []struct {
		Ctx       context.Context
		Name      string
		Lifecycle v31.CatalogTemplateVersionLifecycle
	}
	lockCatalogTemplateVersionInterfaceMockAddLifecycle.RLock()
	calls = mock.calls.AddLifecycle
	lockCatalogTemplateVersionInterfaceMockAddLifecycle.RUnlock()
	return calls
}

// Controller calls ControllerFunc.
func (mock *CatalogTemplateVersionInterfaceMock) Controller() v31.CatalogTemplateVersionController {
	if mock.ControllerFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.ControllerFunc: method is nil but CatalogTemplateVersionInterface.Controller was just called")
	}
	callInfo := struct {
	}{}
	lockCatalogTemplateVersionInterfaceMockController.Lock()
	mock.calls.Controller = append(mock.calls.Controller, callInfo)
	lockCatalogTemplateVersionInterfaceMockController.Unlock()
	return mock.ControllerFunc()
}

// ControllerCalls gets all the calls that were made to Controller.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.ControllerCalls())
func (mock *CatalogTemplateVersionInterfaceMock) ControllerCalls() []struct {
} {
	var calls []struct {
	}
	lockCatalogTemplateVersionInterfaceMockController.RLock()
	calls = mock.calls.Controller
	lockCatalogTemplateVersionInterfaceMockController.RUnlock()
	return calls
}

// Create calls CreateFunc.
func (mock *CatalogTemplateVersionInterfaceMock) Create(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error) {
	if mock.CreateFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.CreateFunc: method is nil but CatalogTemplateVersionInterface.Create was just called")
	}
	callInfo := struct {
		In1 *v3.CatalogTemplateVersion
	}{
		In1: in1,
	}
	lockCatalogTemplateVersionInterfaceMockCreate.Lock()
	mock.calls.Create = append(mock.calls.Create, callInfo)
	lockCatalogTemplateVersionInterfaceMockCreate.Unlock()
	return mock.CreateFunc(in1)
}

// CreateCalls gets all the calls that were made to Create.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.CreateCalls())
func (mock *CatalogTemplateVersionInterfaceMock) CreateCalls() []struct {
	In1 *v3.CatalogTemplateVersion
} {
	var calls []struct {
		In1 *v3.CatalogTemplateVersion
	}
	lockCatalogTemplateVersionInterfaceMockCreate.RLock()
	calls = mock.calls.Create
	lockCatalogTemplateVersionInterfaceMockCreate.RUnlock()
	return calls
}

// Delete calls DeleteFunc.
func (mock *CatalogTemplateVersionInterfaceMock) Delete(name string, options *metav1.DeleteOptions) error {
	if mock.DeleteFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.DeleteFunc: method is nil but CatalogTemplateVersionInterface.Delete was just called")
	}
	callInfo := struct {
		Name    string
		Options *metav1.DeleteOptions
	}{
		Name:    name,
		Options: options,
	}
	lockCatalogTemplateVersionInterfaceMockDelete.Lock()
	mock.calls.Delete = append(mock.calls.Delete, callInfo)
	lockCatalogTemplateVersionInterfaceMockDelete.Unlock()
	return mock.DeleteFunc(name, options)
}

// DeleteCalls gets all the calls that were made to Delete.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.DeleteCalls())
func (mock *CatalogTemplateVersionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *metav1.DeleteOptions
} {
	var calls []struct {
		Name    string
		Options *metav1.DeleteOptions
	}
	lockCatalogTemplateVersionInterfaceMockDelete.RLock()
	calls = mock.calls.Delete
	lockCatalogTemplateVersionInterfaceMockDelete.RUnlock()
	return calls
}

// DeleteCollection calls DeleteCollectionFunc.
func (mock *CatalogTemplateVersionInterfaceMock) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error {
	if mock.DeleteCollectionFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.DeleteCollectionFunc: method is nil but CatalogTemplateVersionInterface.DeleteCollection was just called")
	}
	callInfo := struct {
		DeleteOpts *metav1.DeleteOptions
		ListOpts   metav1.ListOptions
	}{
		DeleteOpts: deleteOpts,
		ListOpts:   listOpts,
	}
	lockCatalogTemplateVersionInterfaceMockDeleteCollection.Lock()
	mock.calls.DeleteCollection = append(mock.calls.DeleteCollection, callInfo)
	lockCatalogTemplateVersionInterfaceMockDeleteCollection.Unlock()
	return mock.DeleteCollectionFunc(deleteOpts, listOpts)
}

// DeleteCollectionCalls gets all the calls that were made to DeleteCollection.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.DeleteCollectionCalls())
func (mock *CatalogTemplateVersionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *metav1.DeleteOptions
	ListOpts   metav1.ListOptions
} {
	var calls []struct {
		DeleteOpts *metav1.DeleteOptions
		ListOpts   metav1.ListOptions
	}
	lockCatalogTemplateVersionInterfaceMockDeleteCollection.RLock()
	calls = mock.calls.DeleteCollection
	lockCatalogTemplateVersionInterfaceMockDeleteCollection.RUnlock()
	return calls
}

// DeleteNamespaced calls DeleteNamespacedFunc.
func (mock *CatalogTemplateVersionInterfaceMock) DeleteNamespaced(namespace string, name string, options *metav1.DeleteOptions) error {
	if mock.DeleteNamespacedFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.DeleteNamespacedFunc: method is nil but CatalogTemplateVersionInterface.DeleteNamespaced was just called")
	}
	callInfo := struct {
		Namespace string
		Name      string
		Options   *metav1.DeleteOptions
	}{
		Namespace: namespace,
		Name:      name,
		Options:   options,
	}
	lockCatalogTemplateVersionInterfaceMockDeleteNamespaced.Lock()
	mock.calls.DeleteNamespaced = append(mock.calls.DeleteNamespaced, callInfo)
	lockCatalogTemplateVersionInterfaceMockDeleteNamespaced.Unlock()
	return mock.DeleteNamespacedFunc(namespace, name, options)
}

// DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.DeleteNamespacedCalls())
func (mock *CatalogTemplateVersionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *metav1.DeleteOptions
} {
	var calls []struct {
		Namespace string
		Name      string
		Options   *metav1.DeleteOptions
	}
	lockCatalogTemplateVersionInterfaceMockDeleteNamespaced.RLock()
	calls = mock.calls.DeleteNamespaced
	lockCatalogTemplateVersionInterfaceMockDeleteNamespaced.RUnlock()
	return calls
}

// Get calls GetFunc.
func (mock *CatalogTemplateVersionInterfaceMock) Get(name string, opts metav1.GetOptions) (*v3.CatalogTemplateVersion, error) {
	if mock.GetFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.GetFunc: method is nil but CatalogTemplateVersionInterface.Get was just called")
	}
	callInfo := struct {
		Name string
		Opts metav1.GetOptions
	}{
		Name: name,
		Opts: opts,
	}
	lockCatalogTemplateVersionInterfaceMockGet.Lock()
	mock.calls.Get = append(mock.calls.Get, callInfo)
	lockCatalogTemplateVersionInterfaceMockGet.Unlock()
	return mock.GetFunc(name, opts)
}

// GetCalls gets all the calls that were made to Get.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.GetCalls())
func (mock *CatalogTemplateVersionInterfaceMock) GetCalls() []struct {
	Name string
	Opts metav1.GetOptions
} {
	var calls []struct {
		Name string
		Opts metav1.GetOptions
	}
	lockCatalogTemplateVersionInterfaceMockGet.RLock()
	calls = mock.calls.Get
	lockCatalogTemplateVersionInterfaceMockGet.RUnlock()
	return calls
}

// GetNamespaced calls GetNamespacedFunc.
func (mock *CatalogTemplateVersionInterfaceMock) GetNamespaced(namespace string, name string, opts metav1.GetOptions) (*v3.CatalogTemplateVersion, error) {
	if mock.GetNamespacedFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.GetNamespacedFunc: method is nil but CatalogTemplateVersionInterface.GetNamespaced was just called")
	}
	callInfo := struct {
		Namespace string
		Name      string
		Opts      metav1.GetOptions
	}{
		Namespace: namespace,
		Name:      name,
		Opts:      opts,
	}
	lockCatalogTemplateVersionInterfaceMockGetNamespaced.Lock()
	mock.calls.GetNamespaced = append(mock.calls.GetNamespaced, callInfo)
	lockCatalogTemplateVersionInterfaceMockGetNamespaced.Unlock()
	return mock.GetNamespacedFunc(namespace, name, opts)
}

// GetNamespacedCalls gets all the calls that were made to GetNamespaced.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.GetNamespacedCalls())
func (mock *CatalogTemplateVersionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      metav1.GetOptions
} {
	var calls []struct {
		Namespace string
		Name      string
		Opts      metav1.GetOptions
	}
	lockCatalogTemplateVersionInterfaceMockGetNamespaced.RLock()
	calls = mock.calls.GetNamespaced
	lockCatalogTemplateVersionInterfaceMockGetNamespaced.RUnlock()
	return calls
}

// List calls ListFunc.
func (mock *CatalogTemplateVersionInterfaceMock) List(opts metav1.ListOptions) (*v3.CatalogTemplateVersionList, error) {
	if mock.ListFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.ListFunc: method is nil but CatalogTemplateVersionInterface.List was just called")
	}
	callInfo := struct {
		Opts metav1.ListOptions
	}{
		Opts: opts,
	}
	lockCatalogTemplateVersionInterfaceMockList.Lock()
	mock.calls.List = append(mock.calls.List, callInfo)
	lockCatalogTemplateVersionInterfaceMockList.Unlock()
	return mock.ListFunc(opts)
}

// ListCalls gets all the calls that were made to List.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.ListCalls())
func (mock *CatalogTemplateVersionInterfaceMock) ListCalls() []struct {
	Opts metav1.ListOptions
} {
	var calls []struct {
		Opts metav1.ListOptions
	}
	lockCatalogTemplateVersionInterfaceMockList.RLock()
	calls = mock.calls.List
	lockCatalogTemplateVersionInterfaceMockList.RUnlock()
	return calls
}

// ListNamespaced calls ListNamespacedFunc.
func (mock *CatalogTemplateVersionInterfaceMock) ListNamespaced(namespace string, opts metav1.ListOptions) (*v3.CatalogTemplateVersionList, error) {
	if mock.ListNamespacedFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.ListNamespacedFunc: method is nil but CatalogTemplateVersionInterface.ListNamespaced was just called")
	}
	callInfo := struct {
		Namespace string
		Opts      metav1.ListOptions
	}{
		Namespace: namespace,
		Opts:      opts,
	}
	lockCatalogTemplateVersionInterfaceMockListNamespaced.Lock()
	mock.calls.ListNamespaced = append(mock.calls.ListNamespaced, callInfo)
	lockCatalogTemplateVersionInterfaceMockListNamespaced.Unlock()
	return mock.ListNamespacedFunc(namespace, opts)
}

// ListNamespacedCalls gets all the calls that were made to ListNamespaced.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.ListNamespacedCalls())
func (mock *CatalogTemplateVersionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      metav1.ListOptions
} {
	var calls []struct {
		Namespace string
		Opts      metav1.ListOptions
	}
	lockCatalogTemplateVersionInterfaceMockListNamespaced.RLock()
	calls = mock.calls.ListNamespaced
	lockCatalogTemplateVersionInterfaceMockListNamespaced.RUnlock()
	return calls
}

// ObjectClient calls ObjectClientFunc.
func (mock *CatalogTemplateVersionInterfaceMock) ObjectClient() *objectclient.ObjectClient {
	if mock.ObjectClientFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.ObjectClientFunc: method is nil but CatalogTemplateVersionInterface.ObjectClient was just called")
	}
	callInfo := struct {
	}{}
	lockCatalogTemplateVersionInterfaceMockObjectClient.Lock()
	mock.calls.ObjectClient = append(mock.calls.ObjectClient, callInfo)
	lockCatalogTemplateVersionInterfaceMockObjectClient.Unlock()
	return mock.ObjectClientFunc()
}

// ObjectClientCalls gets all the calls that were made to ObjectClient.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.ObjectClientCalls())
func (mock *CatalogTemplateVersionInterfaceMock) ObjectClientCalls() []struct {
} {
	var calls []struct {
	}
	lockCatalogTemplateVersionInterfaceMockObjectClient.RLock()
	calls = mock.calls.ObjectClient
	lockCatalogTemplateVersionInterfaceMockObjectClient.RUnlock()
	return calls
}

// Update calls UpdateFunc.
func (mock *CatalogTemplateVersionInterfaceMock) Update(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error) {
	if mock.UpdateFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.UpdateFunc: method is nil but CatalogTemplateVersionInterface.Update was just called")
	}
	callInfo := struct {
		In1 *v3.CatalogTemplateVersion
	}{
		In1: in1,
	}
	lockCatalogTemplateVersionInterfaceMockUpdate.Lock()
	mock.calls.Update = append(mock.calls.Update, callInfo)
	lockCatalogTemplateVersionInterfaceMockUpdate.Unlock()
	return mock.UpdateFunc(in1)
}

// UpdateCalls gets all the calls that were made to Update.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.UpdateCalls())
func (mock *CatalogTemplateVersionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.CatalogTemplateVersion
} {
	var calls []struct {
		In1 *v3.CatalogTemplateVersion
	}
	lockCatalogTemplateVersionInterfaceMockUpdate.RLock()
	calls = mock.calls.Update
	lockCatalogTemplateVersionInterfaceMockUpdate.RUnlock()
	return calls
}

// Watch calls WatchFunc.
func (mock *CatalogTemplateVersionInterfaceMock) Watch(opts metav1.ListOptions) (watch.Interface, error) {
	if mock.WatchFunc == nil {
		panic("CatalogTemplateVersionInterfaceMock.WatchFunc: method is nil but CatalogTemplateVersionInterface.Watch was just called")
	}
	callInfo := struct {
		Opts metav1.ListOptions
	}{
		Opts: opts,
	}
	lockCatalogTemplateVersionInterfaceMockWatch.Lock()
	mock.calls.Watch = append(mock.calls.Watch, callInfo)
	lockCatalogTemplateVersionInterfaceMockWatch.Unlock()
	return mock.WatchFunc(opts)
}

// WatchCalls gets all the calls that were made to Watch.
// Check the length with:
//     len(mockedCatalogTemplateVersionInterface.WatchCalls())
func (mock *CatalogTemplateVersionInterfaceMock) WatchCalls() []struct {
	Opts metav1.ListOptions
} {
	var calls []struct {
		Opts metav1.ListOptions
	}
	lockCatalogTemplateVersionInterfaceMockWatch.RLock()
	calls = mock.calls.Watch
	lockCatalogTemplateVersionInterfaceMockWatch.RUnlock()
	return calls
}

var (
	lockCatalogTemplateVersionsGetterMockCatalogTemplateVersions sync.RWMutex
)

// Ensure, that CatalogTemplateVersionsGetterMock does implement v31.CatalogTemplateVersionsGetter.
// If this is not the case, regenerate this file with moq.
var _ v31.CatalogTemplateVersionsGetter = &CatalogTemplateVersionsGetterMock{}

// CatalogTemplateVersionsGetterMock is a mock implementation of v31.CatalogTemplateVersionsGetter.
//
//     func TestSomethingThatUsesCatalogTemplateVersionsGetter(t *testing.T) {
//
//         // make and configure a mocked v31.CatalogTemplateVersionsGetter
//         mockedCatalogTemplateVersionsGetter := &CatalogTemplateVersionsGetterMock{
//             CatalogTemplateVersionsFunc: func(namespace string) v31.CatalogTemplateVersionInterface {
// 	               panic("mock out the CatalogTemplateVersions method")
//             },
//         }
//
//         // use mockedCatalogTemplateVersionsGetter in code that requires v31.CatalogTemplateVersionsGetter
//         // and then make assertions.
//
//     }
type CatalogTemplateVersionsGetterMock struct {
	// CatalogTemplateVersionsFunc mocks the CatalogTemplateVersions method.
	CatalogTemplateVersionsFunc func(namespace string) v31.CatalogTemplateVersionInterface

	// calls tracks calls to the methods.
	calls struct {
		// CatalogTemplateVersions holds details about calls to the CatalogTemplateVersions method.
		CatalogTemplateVersions []struct {
			// Namespace is the namespace argument value.
			Namespace string
		}
	}
}

// CatalogTemplateVersions calls CatalogTemplateVersionsFunc.
func (mock *CatalogTemplateVersionsGetterMock) CatalogTemplateVersions(namespace string) v31.CatalogTemplateVersionInterface {
	if mock.CatalogTemplateVersionsFunc == nil {
		panic("CatalogTemplateVersionsGetterMock.CatalogTemplateVersionsFunc: method is nil but CatalogTemplateVersionsGetter.CatalogTemplateVersions was just called")
	}
	callInfo := struct {
		Namespace string
	}{
		Namespace: namespace,
	}
	lockCatalogTemplateVersionsGetterMockCatalogTemplateVersions.Lock()
	mock.calls.CatalogTemplateVersions = append(mock.calls.CatalogTemplateVersions, callInfo)
	lockCatalogTemplateVersionsGetterMockCatalogTemplateVersions.Unlock()
	return mock.CatalogTemplateVersionsFunc(namespace)
}

// CatalogTemplateVersionsCalls gets all the calls that were made to CatalogTemplateVersions.
// Check the length with:
//     len(mockedCatalogTemplateVersionsGetter.CatalogTemplateVersionsCalls())
func (mock *CatalogTemplateVersionsGetterMock) CatalogTemplateVersionsCalls() []struct {
	Namespace string
} {
	var calls []struct {
		Namespace string
	}
	lockCatalogTemplateVersionsGetterMockCatalogTemplateVersions.RLock()
	calls = mock.calls.CatalogTemplateVersions
	lockCatalogTemplateVersionsGetterMockCatalogTemplateVersions.RUnlock()
	return calls
}
