// 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 (
	lockRKEK8sSystemImageListerMockGet  sync.RWMutex
	lockRKEK8sSystemImageListerMockList sync.RWMutex
)

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

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

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

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

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

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

var (
	lockRKEK8sSystemImageControllerMockAddClusterScopedFeatureHandler sync.RWMutex
	lockRKEK8sSystemImageControllerMockAddClusterScopedHandler        sync.RWMutex
	lockRKEK8sSystemImageControllerMockAddFeatureHandler              sync.RWMutex
	lockRKEK8sSystemImageControllerMockAddHandler                     sync.RWMutex
	lockRKEK8sSystemImageControllerMockEnqueue                        sync.RWMutex
	lockRKEK8sSystemImageControllerMockEnqueueAfter                   sync.RWMutex
	lockRKEK8sSystemImageControllerMockGeneric                        sync.RWMutex
	lockRKEK8sSystemImageControllerMockInformer                       sync.RWMutex
	lockRKEK8sSystemImageControllerMockLister                         sync.RWMutex
	lockRKEK8sSystemImageControllerMockStart                          sync.RWMutex
	lockRKEK8sSystemImageControllerMockSync                           sync.RWMutex
)

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

// RKEK8sSystemImageControllerMock is a mock implementation of RKEK8sSystemImageController.
//
//     func TestSomethingThatUsesRKEK8sSystemImageController(t *testing.T) {
//
//         // make and configure a mocked RKEK8sSystemImageController
//         mockedRKEK8sSystemImageController := &RKEK8sSystemImageControllerMock{
//             AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEK8sSystemImageHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedFeatureHandler method")
//             },
//             AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.RKEK8sSystemImageHandlerFunc)  {
// 	               panic("mock out the AddClusterScopedHandler method")
//             },
//             AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sSystemImageHandlerFunc)  {
// 	               panic("mock out the AddFeatureHandler method")
//             },
//             AddHandlerFunc: func(ctx context.Context, name string, handler v3.RKEK8sSystemImageHandlerFunc)  {
// 	               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.RKEK8sSystemImageLister {
// 	               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 mockedRKEK8sSystemImageController in code that requires RKEK8sSystemImageController
//         // and then make assertions.
//
//     }
type RKEK8sSystemImageControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEK8sSystemImageHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	lockRKEK8sSystemImageInterfaceMockAddClusterScopedFeatureHandler   sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddClusterScopedFeatureLifecycle sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddClusterScopedHandler          sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddClusterScopedLifecycle        sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddFeatureHandler                sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddFeatureLifecycle              sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddHandler                       sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockAddLifecycle                     sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockController                       sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockCreate                           sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockDelete                           sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockDeleteCollection                 sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockDeleteNamespaced                 sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockGet                              sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockGetNamespaced                    sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockList                             sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockListNamespaced                   sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockObjectClient                     sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockUpdate                           sync.RWMutex
	lockRKEK8sSystemImageInterfaceMockWatch                            sync.RWMutex
)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.RKEK8sSystemImage) (*v3.RKEK8sSystemImage, 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.RKEK8sSystemImageHandlerFunc
		}
		// 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.RKEK8sSystemImageLifecycle
		}
		// 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.RKEK8sSystemImageHandlerFunc
		}
		// 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.RKEK8sSystemImageLifecycle
		}
		// 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.RKEK8sSystemImageHandlerFunc
		}
		// 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.RKEK8sSystemImageLifecycle
		}
		// 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.RKEK8sSystemImageHandlerFunc
		}
		// 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.RKEK8sSystemImageLifecycle
		}
		// 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.RKEK8sSystemImage
		}
		// 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.RKEK8sSystemImage
		}
		// 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 *RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEK8sSystemImageHandlerFunc) {
	if mock.AddClusterScopedFeatureHandlerFunc == nil {
		panic("RKEK8sSystemImageInterfaceMock.AddClusterScopedFeatureHandlerFunc: method is nil but RKEK8sSystemImageInterface.AddClusterScopedFeatureHandler was just called")
	}
	callInfo := struct {
		Ctx         context.Context
		Enabled     func() bool
		Name        string
		ClusterName string
		Sync        v3.RKEK8sSystemImageHandlerFunc
	}{
		Ctx:         ctx,
		Enabled:     enabled,
		Name:        name,
		ClusterName: clusterName,
		Sync:        sync,
	}
	lockRKEK8sSystemImageInterfaceMockAddClusterScopedFeatureHandler.Lock()
	mock.calls.AddClusterScopedFeatureHandler = append(mock.calls.AddClusterScopedFeatureHandler, callInfo)
	lockRKEK8sSystemImageInterfaceMockAddClusterScopedFeatureHandler.Unlock()
	mock.AddClusterScopedFeatureHandlerFunc(ctx, enabled, name, clusterName, sync)
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

var (
	lockRKEK8sSystemImagesGetterMockRKEK8sSystemImages sync.RWMutex
)

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

// RKEK8sSystemImagesGetterMock is a mock implementation of RKEK8sSystemImagesGetter.
//
//     func TestSomethingThatUsesRKEK8sSystemImagesGetter(t *testing.T) {
//
//         // make and configure a mocked RKEK8sSystemImagesGetter
//         mockedRKEK8sSystemImagesGetter := &RKEK8sSystemImagesGetterMock{
//             RKEK8sSystemImagesFunc: func(namespace string) v3.RKEK8sSystemImageInterface {
// 	               panic("mock out the RKEK8sSystemImages method")
//             },
//         }
//
//         // use mockedRKEK8sSystemImagesGetter in code that requires RKEK8sSystemImagesGetter
//         // and then make assertions.
//
//     }
type RKEK8sSystemImagesGetterMock struct {
	// RKEK8sSystemImagesFunc mocks the RKEK8sSystemImages method.
	RKEK8sSystemImagesFunc func(namespace string) v3.RKEK8sSystemImageInterface

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

// RKEK8sSystemImages calls RKEK8sSystemImagesFunc.
func (mock *RKEK8sSystemImagesGetterMock) RKEK8sSystemImages(namespace string) v3.RKEK8sSystemImageInterface {
	if mock.RKEK8sSystemImagesFunc == nil {
		panic("RKEK8sSystemImagesGetterMock.RKEK8sSystemImagesFunc: method is nil but RKEK8sSystemImagesGetter.RKEK8sSystemImages was just called")
	}
	callInfo := struct {
		Namespace string
	}{
		Namespace: namespace,
	}
	lockRKEK8sSystemImagesGetterMockRKEK8sSystemImages.Lock()
	mock.calls.RKEK8sSystemImages = append(mock.calls.RKEK8sSystemImages, callInfo)
	lockRKEK8sSystemImagesGetterMockRKEK8sSystemImages.Unlock()
	return mock.RKEK8sSystemImagesFunc(namespace)
}

// RKEK8sSystemImagesCalls gets all the calls that were made to RKEK8sSystemImages.
// Check the length with:
//     len(mockedRKEK8sSystemImagesGetter.RKEK8sSystemImagesCalls())
func (mock *RKEK8sSystemImagesGetterMock) RKEK8sSystemImagesCalls() []struct {
	Namespace string
} {
	var calls []struct {
		Namespace string
	}
	lockRKEK8sSystemImagesGetterMockRKEK8sSystemImages.RLock()
	calls = mock.calls.RKEK8sSystemImages
	lockRKEK8sSystemImagesGetterMockRKEK8sSystemImages.RUnlock()
	return calls
}
