// 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 (
	lockClusterRoleTemplateBindingListerMockGet  sync.RWMutex
	lockClusterRoleTemplateBindingListerMockList sync.RWMutex
)

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

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

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterRoleTemplateBinding, 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 *ClusterRoleTemplateBindingListerMock) Get(namespace string, name string) (*v3.ClusterRoleTemplateBinding, error) {
	if mock.GetFunc == nil {
		panic("ClusterRoleTemplateBindingListerMock.GetFunc: method is nil but ClusterRoleTemplateBindingLister.Get was just called")
	}
	callInfo := struct {
		Namespace string
		Name      string
	}{
		Namespace: namespace,
		Name:      name,
	}
	lockClusterRoleTemplateBindingListerMockGet.Lock()
	mock.calls.Get = append(mock.calls.Get, callInfo)
	lockClusterRoleTemplateBindingListerMockGet.Unlock()
	return mock.GetFunc(namespace, name)
}

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

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

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

var (
	lockClusterRoleTemplateBindingControllerMockAddClusterScopedFeatureHandler sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockAddClusterScopedHandler        sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockAddFeatureHandler              sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockAddHandler                     sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockEnqueue                        sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockEnqueueAfter                   sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockGeneric                        sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockInformer                       sync.RWMutex
	lockClusterRoleTemplateBindingControllerMockLister                         sync.RWMutex
)

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

// ClusterRoleTemplateBindingControllerMock is a mock implementation of v31.ClusterRoleTemplateBindingController.
//
//     func TestSomethingThatUsesClusterRoleTemplateBindingController(t *testing.T) {
//
//         // make and configure a mocked v31.ClusterRoleTemplateBindingController
//         mockedClusterRoleTemplateBindingController := &ClusterRoleTemplateBindingControllerMock{
//             AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedFeatureHandler method")
//             },
//             AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedHandler method")
//             },
//             AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddFeatureHandler method")
//             },
//             AddHandlerFunc: func(ctx context.Context, name string, handler v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               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.ClusterRoleTemplateBindingLister {
// 	               panic("mock out the Lister method")
//             },
//         }
//
//         // use mockedClusterRoleTemplateBindingController in code that requires v31.ClusterRoleTemplateBindingController
//         // and then make assertions.
//
//     }
type ClusterRoleTemplateBindingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v31.ClusterRoleTemplateBindingHandlerFunc)

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

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

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

	// 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.ClusterRoleTemplateBindingLister

	// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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 *ClusterRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v31.ClusterRoleTemplateBindingHandlerFunc) {
	if mock.AddClusterScopedFeatureHandlerFunc == nil {
		panic("ClusterRoleTemplateBindingControllerMock.AddClusterScopedFeatureHandlerFunc: method is nil but ClusterRoleTemplateBindingController.AddClusterScopedFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Handler     v31.ClusterRoleTemplateBindingHandlerFunc
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Handler:     handler,
	}
	lockClusterRoleTemplateBindingControllerMockAddClusterScopedFeatureHandler.Lock()
	mock.calls.AddClusterScopedFeatureHandler = append(mock.calls.AddClusterScopedFeatureHandler, callInfo)
	lockClusterRoleTemplateBindingControllerMockAddClusterScopedFeatureHandler.Unlock()
	mock.AddClusterScopedFeatureHandlerFunc(ctx, enabled, name, clusterName, handler)
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	lockClusterRoleTemplateBindingInterfaceMockAddClusterScopedFeatureHandler   sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddClusterScopedFeatureLifecycle sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddClusterScopedHandler          sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddClusterScopedLifecycle        sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddFeatureHandler                sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddFeatureLifecycle              sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddHandler                       sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockAddLifecycle                     sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockController                       sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockCreate                           sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockDelete                           sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockDeleteCollection                 sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockDeleteNamespaced                 sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockGet                              sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockGetNamespaced                    sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockList                             sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockListNamespaced                   sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockObjectClient                     sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockUpdate                           sync.RWMutex
	lockClusterRoleTemplateBindingInterfaceMockWatch                            sync.RWMutex
)

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

// ClusterRoleTemplateBindingInterfaceMock is a mock implementation of v31.ClusterRoleTemplateBindingInterface.
//
//     func TestSomethingThatUsesClusterRoleTemplateBindingInterface(t *testing.T) {
//
//         // make and configure a mocked v31.ClusterRoleTemplateBindingInterface
//         mockedClusterRoleTemplateBindingInterface := &ClusterRoleTemplateBindingInterfaceMock{
//             AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedFeatureHandler method")
//             },
//             AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v31.ClusterRoleTemplateBindingLifecycle)  {
// 	               panic("mock out the AddClusterScopedFeatureLifecycle method")
//             },
//             AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedHandler method")
//             },
//             AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v31.ClusterRoleTemplateBindingLifecycle)  {
// 	               panic("mock out the AddClusterScopedLifecycle method")
//             },
//             AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddFeatureHandler method")
//             },
//             AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v31.ClusterRoleTemplateBindingLifecycle)  {
// 	               panic("mock out the AddFeatureLifecycle method")
//             },
//             AddHandlerFunc: func(ctx context.Context, name string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc)  {
// 	               panic("mock out the AddHandler method")
//             },
//             AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v31.ClusterRoleTemplateBindingLifecycle)  {
// 	               panic("mock out the AddLifecycle method")
//             },
//             ControllerFunc: func() v31.ClusterRoleTemplateBindingController {
// 	               panic("mock out the Controller method")
//             },
//             CreateFunc: func(in1 *v3.ClusterRoleTemplateBinding) (*v3.ClusterRoleTemplateBinding, 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.ClusterRoleTemplateBinding, error) {
// 	               panic("mock out the Get method")
//             },
//             GetNamespacedFunc: func(namespace string, name string, opts metav1.GetOptions) (*v3.ClusterRoleTemplateBinding, error) {
// 	               panic("mock out the GetNamespaced method")
//             },
//             ListFunc: func(opts metav1.ListOptions) (*v3.ClusterRoleTemplateBindingList, error) {
// 	               panic("mock out the List method")
//             },
//             ListNamespacedFunc: func(namespace string, opts metav1.ListOptions) (*v3.ClusterRoleTemplateBindingList, error) {
// 	               panic("mock out the ListNamespaced method")
//             },
//             ObjectClientFunc: func() *objectclient.ObjectClient {
// 	               panic("mock out the ObjectClient method")
//             },
//             UpdateFunc: func(in1 *v3.ClusterRoleTemplateBinding) (*v3.ClusterRoleTemplateBinding, error) {
// 	               panic("mock out the Update method")
//             },
//             WatchFunc: func(opts metav1.ListOptions) (watch.Interface, error) {
// 	               panic("mock out the Watch method")
//             },
//         }
//
//         // use mockedClusterRoleTemplateBindingInterface in code that requires v31.ClusterRoleTemplateBindingInterface
//         // and then make assertions.
//
//     }
type ClusterRoleTemplateBindingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc)

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ClusterRoleTemplateBinding) (*v3.ClusterRoleTemplateBinding, 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.ClusterRoleTemplateBinding, error)

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

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

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

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ClusterRoleTemplateBinding) (*v3.ClusterRoleTemplateBinding, 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingLifecycle
		}
		// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingLifecycle
		}
		// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingLifecycle
		}
		// 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.ClusterRoleTemplateBindingHandlerFunc
		}
		// 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.ClusterRoleTemplateBindingLifecycle
		}
		// 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.ClusterRoleTemplateBinding
		}
		// 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.ClusterRoleTemplateBinding
		}
		// 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 *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, syncMoqParam v31.ClusterRoleTemplateBindingHandlerFunc) {
	if mock.AddClusterScopedFeatureHandlerFunc == nil {
		panic("ClusterRoleTemplateBindingInterfaceMock.AddClusterScopedFeatureHandlerFunc: method is nil but ClusterRoleTemplateBindingInterface.AddClusterScopedFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Sync        v31.ClusterRoleTemplateBindingHandlerFunc
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Sync:        syncMoqParam,
	}
	lockClusterRoleTemplateBindingInterfaceMockAddClusterScopedFeatureHandler.Lock()
	mock.calls.AddClusterScopedFeatureHandler = append(mock.calls.AddClusterScopedFeatureHandler, callInfo)
	lockClusterRoleTemplateBindingInterfaceMockAddClusterScopedFeatureHandler.Unlock()
	mock.AddClusterScopedFeatureHandlerFunc(ctx, enabled, name, clusterName, syncMoqParam)
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	lockClusterRoleTemplateBindingsGetterMockClusterRoleTemplateBindings sync.RWMutex
)

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

// ClusterRoleTemplateBindingsGetterMock is a mock implementation of v31.ClusterRoleTemplateBindingsGetter.
//
//     func TestSomethingThatUsesClusterRoleTemplateBindingsGetter(t *testing.T) {
//
//         // make and configure a mocked v31.ClusterRoleTemplateBindingsGetter
//         mockedClusterRoleTemplateBindingsGetter := &ClusterRoleTemplateBindingsGetterMock{
//             ClusterRoleTemplateBindingsFunc: func(namespace string) v31.ClusterRoleTemplateBindingInterface {
// 	               panic("mock out the ClusterRoleTemplateBindings method")
//             },
//         }
//
//         // use mockedClusterRoleTemplateBindingsGetter in code that requires v31.ClusterRoleTemplateBindingsGetter
//         // and then make assertions.
//
//     }
type ClusterRoleTemplateBindingsGetterMock struct {
	// ClusterRoleTemplateBindingsFunc mocks the ClusterRoleTemplateBindings method.
	ClusterRoleTemplateBindingsFunc func(namespace string) v31.ClusterRoleTemplateBindingInterface

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

// ClusterRoleTemplateBindings calls ClusterRoleTemplateBindingsFunc.
func (mock *ClusterRoleTemplateBindingsGetterMock) ClusterRoleTemplateBindings(namespace string) v31.ClusterRoleTemplateBindingInterface {
	if mock.ClusterRoleTemplateBindingsFunc == nil {
		panic("ClusterRoleTemplateBindingsGetterMock.ClusterRoleTemplateBindingsFunc: method is nil but ClusterRoleTemplateBindingsGetter.ClusterRoleTemplateBindings was just called")
	}
	callInfo := struct {
		Namespace string
	}{
		Namespace: namespace,
	}
	lockClusterRoleTemplateBindingsGetterMockClusterRoleTemplateBindings.Lock()
	mock.calls.ClusterRoleTemplateBindings = append(mock.calls.ClusterRoleTemplateBindings, callInfo)
	lockClusterRoleTemplateBindingsGetterMockClusterRoleTemplateBindings.Unlock()
	return mock.ClusterRoleTemplateBindingsFunc(namespace)
}

// ClusterRoleTemplateBindingsCalls gets all the calls that were made to ClusterRoleTemplateBindings.
// Check the length with:
//     len(mockedClusterRoleTemplateBindingsGetter.ClusterRoleTemplateBindingsCalls())
func (mock *ClusterRoleTemplateBindingsGetterMock) ClusterRoleTemplateBindingsCalls() []struct {
	Namespace string
} {
	var calls []struct {
		Namespace string
	}
	lockClusterRoleTemplateBindingsGetterMockClusterRoleTemplateBindings.RLock()
	calls = mock.calls.ClusterRoleTemplateBindings
	lockClusterRoleTemplateBindingsGetterMockClusterRoleTemplateBindings.RUnlock()
	return calls
}
