// 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 (
	lockClusterMonitorGraphListerMockGet  sync.RWMutex
	lockClusterMonitorGraphListerMockList sync.RWMutex
)

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

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

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

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

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

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

var (
	lockClusterMonitorGraphControllerMockAddClusterScopedFeatureHandler sync.RWMutex
	lockClusterMonitorGraphControllerMockAddClusterScopedHandler        sync.RWMutex
	lockClusterMonitorGraphControllerMockAddFeatureHandler              sync.RWMutex
	lockClusterMonitorGraphControllerMockAddHandler                     sync.RWMutex
	lockClusterMonitorGraphControllerMockEnqueue                        sync.RWMutex
	lockClusterMonitorGraphControllerMockEnqueueAfter                   sync.RWMutex
	lockClusterMonitorGraphControllerMockGeneric                        sync.RWMutex
	lockClusterMonitorGraphControllerMockInformer                       sync.RWMutex
	lockClusterMonitorGraphControllerMockLister                         sync.RWMutex
)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	lockClusterMonitorGraphInterfaceMockAddClusterScopedFeatureHandler   sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddClusterScopedFeatureLifecycle sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddClusterScopedHandler          sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddClusterScopedLifecycle        sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddFeatureHandler                sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddFeatureLifecycle              sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddHandler                       sync.RWMutex
	lockClusterMonitorGraphInterfaceMockAddLifecycle                     sync.RWMutex
	lockClusterMonitorGraphInterfaceMockController                       sync.RWMutex
	lockClusterMonitorGraphInterfaceMockCreate                           sync.RWMutex
	lockClusterMonitorGraphInterfaceMockDelete                           sync.RWMutex
	lockClusterMonitorGraphInterfaceMockDeleteCollection                 sync.RWMutex
	lockClusterMonitorGraphInterfaceMockDeleteNamespaced                 sync.RWMutex
	lockClusterMonitorGraphInterfaceMockGet                              sync.RWMutex
	lockClusterMonitorGraphInterfaceMockGetNamespaced                    sync.RWMutex
	lockClusterMonitorGraphInterfaceMockList                             sync.RWMutex
	lockClusterMonitorGraphInterfaceMockListNamespaced                   sync.RWMutex
	lockClusterMonitorGraphInterfaceMockObjectClient                     sync.RWMutex
	lockClusterMonitorGraphInterfaceMockUpdate                           sync.RWMutex
	lockClusterMonitorGraphInterfaceMockWatch                            sync.RWMutex
)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	lockClusterMonitorGraphsGetterMockClusterMonitorGraphs sync.RWMutex
)

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

// ClusterMonitorGraphsGetterMock is a mock implementation of v31.ClusterMonitorGraphsGetter.
//
//     func TestSomethingThatUsesClusterMonitorGraphsGetter(t *testing.T) {
//
//         // make and configure a mocked v31.ClusterMonitorGraphsGetter
//         mockedClusterMonitorGraphsGetter := &ClusterMonitorGraphsGetterMock{
//             ClusterMonitorGraphsFunc: func(namespace string) v31.ClusterMonitorGraphInterface {
// 	               panic("mock out the ClusterMonitorGraphs method")
//             },
//         }
//
//         // use mockedClusterMonitorGraphsGetter in code that requires v31.ClusterMonitorGraphsGetter
//         // and then make assertions.
//
//     }
type ClusterMonitorGraphsGetterMock struct {
	// ClusterMonitorGraphsFunc mocks the ClusterMonitorGraphs method.
	ClusterMonitorGraphsFunc func(namespace string) v31.ClusterMonitorGraphInterface

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

// ClusterMonitorGraphs calls ClusterMonitorGraphsFunc.
func (mock *ClusterMonitorGraphsGetterMock) ClusterMonitorGraphs(namespace string) v31.ClusterMonitorGraphInterface {
	if mock.ClusterMonitorGraphsFunc == nil {
		panic("ClusterMonitorGraphsGetterMock.ClusterMonitorGraphsFunc: method is nil but ClusterMonitorGraphsGetter.ClusterMonitorGraphs was just called")
	}
	callInfo := struct {
		Namespace string
	}{
		Namespace: namespace,
	}
	lockClusterMonitorGraphsGetterMockClusterMonitorGraphs.Lock()
	mock.calls.ClusterMonitorGraphs = append(mock.calls.ClusterMonitorGraphs, callInfo)
	lockClusterMonitorGraphsGetterMockClusterMonitorGraphs.Unlock()
	return mock.ClusterMonitorGraphsFunc(namespace)
}

// ClusterMonitorGraphsCalls gets all the calls that were made to ClusterMonitorGraphs.
// Check the length with:
//     len(mockedClusterMonitorGraphsGetter.ClusterMonitorGraphsCalls())
func (mock *ClusterMonitorGraphsGetterMock) ClusterMonitorGraphsCalls() []struct {
	Namespace string
} {
	var calls []struct {
		Namespace string
	}
	lockClusterMonitorGraphsGetterMockClusterMonitorGraphs.RLock()
	calls = mock.calls.ClusterMonitorGraphs
	lockClusterMonitorGraphsGetterMockClusterMonitorGraphs.RUnlock()
	return calls
}
