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

package fakes

import (
	context "context"
	sync "sync"
	time "time"

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

var (
	lockRKEAddonListerMockGet  sync.RWMutex
	lockRKEAddonListerMockList sync.RWMutex
)

// Ensure, that RKEAddonListerMock does implement RKEAddonLister.
// If this is not the case, regenerate this file with moq.
var _ v3.RKEAddonLister = &RKEAddonListerMock{}

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

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

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

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

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

var (
	lockRKEAddonControllerMockAddClusterScopedFeatureHandler sync.RWMutex
	lockRKEAddonControllerMockAddClusterScopedHandler        sync.RWMutex
	lockRKEAddonControllerMockAddFeatureHandler              sync.RWMutex
	lockRKEAddonControllerMockAddHandler                     sync.RWMutex
	lockRKEAddonControllerMockEnqueue                        sync.RWMutex
	lockRKEAddonControllerMockEnqueueAfter                   sync.RWMutex
	lockRKEAddonControllerMockGeneric                        sync.RWMutex
	lockRKEAddonControllerMockInformer                       sync.RWMutex
	lockRKEAddonControllerMockLister                         sync.RWMutex
	lockRKEAddonControllerMockStart                          sync.RWMutex
	lockRKEAddonControllerMockSync                           sync.RWMutex
)

// Ensure, that RKEAddonControllerMock does implement RKEAddonController.
// If this is not the case, regenerate this file with moq.
var _ v3.RKEAddonController = &RKEAddonControllerMock{}

// RKEAddonControllerMock is a mock implementation of RKEAddonController.
//
//     func TestSomethingThatUsesRKEAddonController(t *testing.T) {
//
//         // make and configure a mocked RKEAddonController
//         mockedRKEAddonController := &RKEAddonControllerMock{
//             AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEAddonHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedFeatureHandler method")
//             },
//             AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.RKEAddonHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedHandler method")
//             },
//             AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc)  {
// 	               panic("mock out the AddFeatureHandler method")
//             },
//             AddHandlerFunc: func(ctx context.Context, name string, handler v3.RKEAddonHandlerFunc)  {
// 	               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() v3.RKEAddonLister {
// 	               panic("mock out the Lister method")
//             },
//             StartFunc: func(ctx context.Context, threadiness int) error {
// 	               panic("mock out the Start method")
//             },
//             SyncFunc: func(ctx context.Context) error {
// 	               panic("mock out the Sync method")
//             },
//         }
//
//         // use mockedRKEAddonController in code that requires RKEAddonController
//         // and then make assertions.
//
//     }
type RKEAddonControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEAddonHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc)

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

	// 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() v3.RKEAddonLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) 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
			// Handler is the handler argument value.
			Handler v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonHandlerFunc
		}
		// 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 {
		}
		// Start holds details about calls to the Start method.
		Start []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
			// Threadiness is the threadiness argument value.
			Threadiness int
		}
		// Sync holds details about calls to the Sync method.
		Sync []struct {
			// Ctx is the ctx argument value.
			Ctx context.Context
		}
	}
}

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

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

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

// AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler.
// Check the length with:
//     len(mockedRKEAddonController.AddClusterScopedHandlerCalls())
func (mock *RKEAddonControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.RKEAddonHandlerFunc
} {
	var calls []struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Handler     v3.RKEAddonHandlerFunc
	}
	lockRKEAddonControllerMockAddClusterScopedHandler.RLock()
	calls = mock.calls.AddClusterScopedHandler
	lockRKEAddonControllerMockAddClusterScopedHandler.RUnlock()
	return calls
}

// AddFeatureHandler calls AddFeatureHandlerFunc.
func (mock *RKEAddonControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc) {
	if mock.AddFeatureHandlerFunc == nil {
		panic("RKEAddonControllerMock.AddFeatureHandlerFunc: method is nil but RKEAddonController.AddFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Enabled func() bool
		Name    string
		Sync    v3.RKEAddonHandlerFunc
	}{
		Ctx:     ctx,
		Enabled: enabled,
		Name:    name,
		Sync:    sync,
	}
	lockRKEAddonControllerMockAddFeatureHandler.Lock()
	mock.calls.AddFeatureHandler = append(mock.calls.AddFeatureHandler, callInfo)
	lockRKEAddonControllerMockAddFeatureHandler.Unlock()
	mock.AddFeatureHandlerFunc(ctx, enabled, name, sync)
}

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

// AddHandler calls AddHandlerFunc.
func (mock *RKEAddonControllerMock) AddHandler(ctx context.Context, name string, handler v3.RKEAddonHandlerFunc) {
	if mock.AddHandlerFunc == nil {
		panic("RKEAddonControllerMock.AddHandlerFunc: method is nil but RKEAddonController.AddHandler was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Name    string
		Handler v3.RKEAddonHandlerFunc
	}{
		Ctx:     ctx,
		Name:    name,
		Handler: handler,
	}
	lockRKEAddonControllerMockAddHandler.Lock()
	mock.calls.AddHandler = append(mock.calls.AddHandler, callInfo)
	lockRKEAddonControllerMockAddHandler.Unlock()
	mock.AddHandlerFunc(ctx, name, handler)
}

// AddHandlerCalls gets all the calls that were made to AddHandler.
// Check the length with:
//     len(mockedRKEAddonController.AddHandlerCalls())
func (mock *RKEAddonControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.RKEAddonHandlerFunc
} {
	var calls []struct {
		Ctx     context.Context
		Name    string
		Handler v3.RKEAddonHandlerFunc
	}
	lockRKEAddonControllerMockAddHandler.RLock()
	calls = mock.calls.AddHandler
	lockRKEAddonControllerMockAddHandler.RUnlock()
	return calls
}

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

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

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

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

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

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

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

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

// Lister calls ListerFunc.
func (mock *RKEAddonControllerMock) Lister() v3.RKEAddonLister {
	if mock.ListerFunc == nil {
		panic("RKEAddonControllerMock.ListerFunc: method is nil but RKEAddonController.Lister was just called")
	}
	callInfo := struct {
	}{}
	lockRKEAddonControllerMockLister.Lock()
	mock.calls.Lister = append(mock.calls.Lister, callInfo)
	lockRKEAddonControllerMockLister.Unlock()
	return mock.ListerFunc()
}

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

// Start calls StartFunc.
func (mock *RKEAddonControllerMock) Start(ctx context.Context, threadiness int) error {
	if mock.StartFunc == nil {
		panic("RKEAddonControllerMock.StartFunc: method is nil but RKEAddonController.Start was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Threadiness int
	}{
		Ctx:         ctx,
		Threadiness: threadiness,
	}
	lockRKEAddonControllerMockStart.Lock()
	mock.calls.Start = append(mock.calls.Start, callInfo)
	lockRKEAddonControllerMockStart.Unlock()
	return mock.StartFunc(ctx, threadiness)
}

// StartCalls gets all the calls that were made to Start.
// Check the length with:
//     len(mockedRKEAddonController.StartCalls())
func (mock *RKEAddonControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
} {
	var calls []struct {
		Ctx         context.Context
		Threadiness int
	}
	lockRKEAddonControllerMockStart.RLock()
	calls = mock.calls.Start
	lockRKEAddonControllerMockStart.RUnlock()
	return calls
}

// Sync calls SyncFunc.
func (mock *RKEAddonControllerMock) Sync(ctx context.Context) error {
	if mock.SyncFunc == nil {
		panic("RKEAddonControllerMock.SyncFunc: method is nil but RKEAddonController.Sync was just called")
	}
	callInfo := struct {
		Ctx context.Context
	}{
		Ctx: ctx,
	}
	lockRKEAddonControllerMockSync.Lock()
	mock.calls.Sync = append(mock.calls.Sync, callInfo)
	lockRKEAddonControllerMockSync.Unlock()
	return mock.SyncFunc(ctx)
}

// SyncCalls gets all the calls that were made to Sync.
// Check the length with:
//     len(mockedRKEAddonController.SyncCalls())
func (mock *RKEAddonControllerMock) SyncCalls() []struct {
	Ctx context.Context
} {
	var calls []struct {
		Ctx context.Context
	}
	lockRKEAddonControllerMockSync.RLock()
	calls = mock.calls.Sync
	lockRKEAddonControllerMockSync.RUnlock()
	return calls
}

var (
	lockRKEAddonInterfaceMockAddClusterScopedFeatureHandler   sync.RWMutex
	lockRKEAddonInterfaceMockAddClusterScopedFeatureLifecycle sync.RWMutex
	lockRKEAddonInterfaceMockAddClusterScopedHandler          sync.RWMutex
	lockRKEAddonInterfaceMockAddClusterScopedLifecycle        sync.RWMutex
	lockRKEAddonInterfaceMockAddFeatureHandler                sync.RWMutex
	lockRKEAddonInterfaceMockAddFeatureLifecycle              sync.RWMutex
	lockRKEAddonInterfaceMockAddHandler                       sync.RWMutex
	lockRKEAddonInterfaceMockAddLifecycle                     sync.RWMutex
	lockRKEAddonInterfaceMockController                       sync.RWMutex
	lockRKEAddonInterfaceMockCreate                           sync.RWMutex
	lockRKEAddonInterfaceMockDelete                           sync.RWMutex
	lockRKEAddonInterfaceMockDeleteCollection                 sync.RWMutex
	lockRKEAddonInterfaceMockDeleteNamespaced                 sync.RWMutex
	lockRKEAddonInterfaceMockGet                              sync.RWMutex
	lockRKEAddonInterfaceMockGetNamespaced                    sync.RWMutex
	lockRKEAddonInterfaceMockList                             sync.RWMutex
	lockRKEAddonInterfaceMockListNamespaced                   sync.RWMutex
	lockRKEAddonInterfaceMockObjectClient                     sync.RWMutex
	lockRKEAddonInterfaceMockUpdate                           sync.RWMutex
	lockRKEAddonInterfaceMockWatch                            sync.RWMutex
)

// Ensure, that RKEAddonInterfaceMock does implement RKEAddonInterface.
// If this is not the case, regenerate this file with moq.
var _ v3.RKEAddonInterface = &RKEAddonInterfaceMock{}

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

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

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.RKEAddonHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc)

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

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.RKEAddonHandlerFunc)

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.RKEAddonController

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.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 v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonLifecycle
		}
		// 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 v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonLifecycle
		}
		// 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 v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonLifecycle
		}
		// 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 v3.RKEAddonHandlerFunc
		}
		// 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 v3.RKEAddonLifecycle
		}
		// 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.RKEAddon
		}
		// 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 *v1.DeleteOptions
		}
		// DeleteCollection holds details about calls to the DeleteCollection method.
		DeleteCollection []struct {
			// DeleteOpts is the deleteOpts argument value.
			DeleteOpts *v1.DeleteOptions
			// ListOpts is the listOpts argument value.
			ListOpts v1.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 *v1.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 v1.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 v1.GetOptions
		}
		// List holds details about calls to the List method.
		List []struct {
			// Opts is the opts argument value.
			Opts v1.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 v1.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.RKEAddon
		}
		// Watch holds details about calls to the Watch method.
		Watch []struct {
			// Opts is the opts argument value.
			Opts v1.ListOptions
		}
	}
}

// AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (mock *RKEAddonInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEAddonHandlerFunc) {
	if mock.AddClusterScopedFeatureHandlerFunc == nil {
		panic("RKEAddonInterfaceMock.AddClusterScopedFeatureHandlerFunc: method is nil but RKEAddonInterface.AddClusterScopedFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Sync        v3.RKEAddonHandlerFunc
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Sync:        sync,
	}
	lockRKEAddonInterfaceMockAddClusterScopedFeatureHandler.Lock()
	mock.calls.AddClusterScopedFeatureHandler = append(mock.calls.AddClusterScopedFeatureHandler, callInfo)
	lockRKEAddonInterfaceMockAddClusterScopedFeatureHandler.Unlock()
	mock.AddClusterScopedFeatureHandlerFunc(ctx, enabled, name, clusterName, sync)
}

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

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

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

// AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (mock *RKEAddonInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.RKEAddonHandlerFunc) {
	if mock.AddClusterScopedHandlerFunc == nil {
		panic("RKEAddonInterfaceMock.AddClusterScopedHandlerFunc: method is nil but RKEAddonInterface.AddClusterScopedHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Sync        v3.RKEAddonHandlerFunc
	}{
		Ctx:         ctx,
		Name:        name,
		ClusterName: clusterName,
		Sync:        sync,
	}
	lockRKEAddonInterfaceMockAddClusterScopedHandler.Lock()
	mock.calls.AddClusterScopedHandler = append(mock.calls.AddClusterScopedHandler, callInfo)
	lockRKEAddonInterfaceMockAddClusterScopedHandler.Unlock()
	mock.AddClusterScopedHandlerFunc(ctx, name, clusterName, sync)
}

// AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler.
// Check the length with:
//     len(mockedRKEAddonInterface.AddClusterScopedHandlerCalls())
func (mock *RKEAddonInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.RKEAddonHandlerFunc
} {
	var calls []struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Sync        v3.RKEAddonHandlerFunc
	}
	lockRKEAddonInterfaceMockAddClusterScopedHandler.RLock()
	calls = mock.calls.AddClusterScopedHandler
	lockRKEAddonInterfaceMockAddClusterScopedHandler.RUnlock()
	return calls
}

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

// AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle.
// Check the length with:
//     len(mockedRKEAddonInterface.AddClusterScopedLifecycleCalls())
func (mock *RKEAddonInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.RKEAddonLifecycle
} {
	var calls []struct {
		Ctx         context.Context
		Name        string
		ClusterName string
		Lifecycle   v3.RKEAddonLifecycle
	}
	lockRKEAddonInterfaceMockAddClusterScopedLifecycle.RLock()
	calls = mock.calls.AddClusterScopedLifecycle
	lockRKEAddonInterfaceMockAddClusterScopedLifecycle.RUnlock()
	return calls
}

// AddFeatureHandler calls AddFeatureHandlerFunc.
func (mock *RKEAddonInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc) {
	if mock.AddFeatureHandlerFunc == nil {
		panic("RKEAddonInterfaceMock.AddFeatureHandlerFunc: method is nil but RKEAddonInterface.AddFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx     context.Context
		Enabled func() bool
		Name    string
		Sync    v3.RKEAddonHandlerFunc
	}{
		Ctx:     ctx,
		Enabled: enabled,
		Name:    name,
		Sync:    sync,
	}
	lockRKEAddonInterfaceMockAddFeatureHandler.Lock()
	mock.calls.AddFeatureHandler = append(mock.calls.AddFeatureHandler, callInfo)
	lockRKEAddonInterfaceMockAddFeatureHandler.Unlock()
	mock.AddFeatureHandlerFunc(ctx, enabled, name, sync)
}

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

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

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

// AddHandler calls AddHandlerFunc.
func (mock *RKEAddonInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.RKEAddonHandlerFunc) {
	if mock.AddHandlerFunc == nil {
		panic("RKEAddonInterfaceMock.AddHandlerFunc: method is nil but RKEAddonInterface.AddHandler was just called")
	}
	callInfo := struct {
		Ctx  context.Context
		Name string
		Sync v3.RKEAddonHandlerFunc
	}{
		Ctx:  ctx,
		Name: name,
		Sync: sync,
	}
	lockRKEAddonInterfaceMockAddHandler.Lock()
	mock.calls.AddHandler = append(mock.calls.AddHandler, callInfo)
	lockRKEAddonInterfaceMockAddHandler.Unlock()
	mock.AddHandlerFunc(ctx, name, sync)
}

// AddHandlerCalls gets all the calls that were made to AddHandler.
// Check the length with:
//     len(mockedRKEAddonInterface.AddHandlerCalls())
func (mock *RKEAddonInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.RKEAddonHandlerFunc
} {
	var calls []struct {
		Ctx  context.Context
		Name string
		Sync v3.RKEAddonHandlerFunc
	}
	lockRKEAddonInterfaceMockAddHandler.RLock()
	calls = mock.calls.AddHandler
	lockRKEAddonInterfaceMockAddHandler.RUnlock()
	return calls
}

// AddLifecycle calls AddLifecycleFunc.
func (mock *RKEAddonInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.RKEAddonLifecycle) {
	if mock.AddLifecycleFunc == nil {
		panic("RKEAddonInterfaceMock.AddLifecycleFunc: method is nil but RKEAddonInterface.AddLifecycle was just called")
	}
	callInfo := struct {
		Ctx       context.Context
		Name      string
		Lifecycle v3.RKEAddonLifecycle
	}{
		Ctx:       ctx,
		Name:      name,
		Lifecycle: lifecycle,
	}
	lockRKEAddonInterfaceMockAddLifecycle.Lock()
	mock.calls.AddLifecycle = append(mock.calls.AddLifecycle, callInfo)
	lockRKEAddonInterfaceMockAddLifecycle.Unlock()
	mock.AddLifecycleFunc(ctx, name, lifecycle)
}

// AddLifecycleCalls gets all the calls that were made to AddLifecycle.
// Check the length with:
//     len(mockedRKEAddonInterface.AddLifecycleCalls())
func (mock *RKEAddonInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.RKEAddonLifecycle
} {
	var calls []struct {
		Ctx       context.Context
		Name      string
		Lifecycle v3.RKEAddonLifecycle
	}
	lockRKEAddonInterfaceMockAddLifecycle.RLock()
	calls = mock.calls.AddLifecycle
	lockRKEAddonInterfaceMockAddLifecycle.RUnlock()
	return calls
}

// Controller calls ControllerFunc.
func (mock *RKEAddonInterfaceMock) Controller() v3.RKEAddonController {
	if mock.ControllerFunc == nil {
		panic("RKEAddonInterfaceMock.ControllerFunc: method is nil but RKEAddonInterface.Controller was just called")
	}
	callInfo := struct {
	}{}
	lockRKEAddonInterfaceMockController.Lock()
	mock.calls.Controller = append(mock.calls.Controller, callInfo)
	lockRKEAddonInterfaceMockController.Unlock()
	return mock.ControllerFunc()
}

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

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

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

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

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

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

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

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

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

// Get calls GetFunc.
func (mock *RKEAddonInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.RKEAddon, error) {
	if mock.GetFunc == nil {
		panic("RKEAddonInterfaceMock.GetFunc: method is nil but RKEAddonInterface.Get was just called")
	}
	callInfo := struct {
		Name string
		Opts v1.GetOptions
	}{
		Name: name,
		Opts: opts,
	}
	lockRKEAddonInterfaceMockGet.Lock()
	mock.calls.Get = append(mock.calls.Get, callInfo)
	lockRKEAddonInterfaceMockGet.Unlock()
	return mock.GetFunc(name, opts)
}

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

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

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

// List calls ListFunc.
func (mock *RKEAddonInterfaceMock) List(opts v1.ListOptions) (*v3.RKEAddonList, error) {
	if mock.ListFunc == nil {
		panic("RKEAddonInterfaceMock.ListFunc: method is nil but RKEAddonInterface.List was just called")
	}
	callInfo := struct {
		Opts v1.ListOptions
	}{
		Opts: opts,
	}
	lockRKEAddonInterfaceMockList.Lock()
	mock.calls.List = append(mock.calls.List, callInfo)
	lockRKEAddonInterfaceMockList.Unlock()
	return mock.ListFunc(opts)
}

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

// ListNamespaced calls ListNamespacedFunc.
func (mock *RKEAddonInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.RKEAddonList, error) {
	if mock.ListNamespacedFunc == nil {
		panic("RKEAddonInterfaceMock.ListNamespacedFunc: method is nil but RKEAddonInterface.ListNamespaced was just called")
	}
	callInfo := struct {
		Namespace string
		Opts      v1.ListOptions
	}{
		Namespace: namespace,
		Opts:      opts,
	}
	lockRKEAddonInterfaceMockListNamespaced.Lock()
	mock.calls.ListNamespaced = append(mock.calls.ListNamespaced, callInfo)
	lockRKEAddonInterfaceMockListNamespaced.Unlock()
	return mock.ListNamespacedFunc(namespace, opts)
}

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

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

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

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

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

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

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

var (
	lockRKEAddonsGetterMockRKEAddons sync.RWMutex
)

// Ensure, that RKEAddonsGetterMock does implement RKEAddonsGetter.
// If this is not the case, regenerate this file with moq.
var _ v3.RKEAddonsGetter = &RKEAddonsGetterMock{}

// RKEAddonsGetterMock is a mock implementation of RKEAddonsGetter.
//
//     func TestSomethingThatUsesRKEAddonsGetter(t *testing.T) {
//
//         // make and configure a mocked RKEAddonsGetter
//         mockedRKEAddonsGetter := &RKEAddonsGetterMock{
//             RKEAddonsFunc: func(namespace string) v3.RKEAddonInterface {
// 	               panic("mock out the RKEAddons method")
//             },
//         }
//
//         // use mockedRKEAddonsGetter in code that requires RKEAddonsGetter
//         // and then make assertions.
//
//     }
type RKEAddonsGetterMock struct {
	// RKEAddonsFunc mocks the RKEAddons method.
	RKEAddonsFunc func(namespace string) v3.RKEAddonInterface

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

// RKEAddons calls RKEAddonsFunc.
func (mock *RKEAddonsGetterMock) RKEAddons(namespace string) v3.RKEAddonInterface {
	if mock.RKEAddonsFunc == nil {
		panic("RKEAddonsGetterMock.RKEAddonsFunc: method is nil but RKEAddonsGetter.RKEAddons was just called")
	}
	callInfo := struct {
		Namespace string
	}{
		Namespace: namespace,
	}
	lockRKEAddonsGetterMockRKEAddons.Lock()
	mock.calls.RKEAddons = append(mock.calls.RKEAddons, callInfo)
	lockRKEAddonsGetterMockRKEAddons.Unlock()
	return mock.RKEAddonsFunc(namespace)
}

// RKEAddonsCalls gets all the calls that were made to RKEAddons.
// Check the length with:
//     len(mockedRKEAddonsGetter.RKEAddonsCalls())
func (mock *RKEAddonsGetterMock) RKEAddonsCalls() []struct {
	Namespace string
} {
	var calls []struct {
		Namespace string
	}
	lockRKEAddonsGetterMockRKEAddons.RLock()
	calls = mock.calls.RKEAddons
	lockRKEAddonsGetterMockRKEAddons.RUnlock()
	return calls
}
