fakes

package
v0.0.0-...-10a32ef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfigControllerMock

type AuthConfigControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.AuthConfigHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

AuthConfigControllerMock is a mock implementation of AuthConfigController.

    func TestSomethingThatUsesAuthConfigController(t *testing.T) {

        // make and configure a mocked AuthConfigController
        mockedAuthConfigController := &AuthConfigControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.AuthConfigHandlerFunc)  {
	               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.AuthConfigLister {
	               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 mockedAuthConfigController in code that requires AuthConfigController
        // and then make assertions.

    }

func (*AuthConfigControllerMock) AddClusterScopedFeatureHandler

func (mock *AuthConfigControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.AuthConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*AuthConfigControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *AuthConfigControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.AuthConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedAuthConfigController.AddClusterScopedFeatureHandlerCalls())

func (*AuthConfigControllerMock) AddClusterScopedHandler

func (mock *AuthConfigControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.AuthConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*AuthConfigControllerMock) AddClusterScopedHandlerCalls

func (mock *AuthConfigControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.AuthConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedAuthConfigController.AddClusterScopedHandlerCalls())

func (*AuthConfigControllerMock) AddFeatureHandler

func (mock *AuthConfigControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.AuthConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*AuthConfigControllerMock) AddFeatureHandlerCalls

func (mock *AuthConfigControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.AuthConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedAuthConfigController.AddFeatureHandlerCalls())

func (*AuthConfigControllerMock) AddHandler

func (mock *AuthConfigControllerMock) AddHandler(ctx context.Context, name string, handler v3.AuthConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*AuthConfigControllerMock) AddHandlerCalls

func (mock *AuthConfigControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.AuthConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedAuthConfigController.AddHandlerCalls())

func (*AuthConfigControllerMock) Enqueue

func (mock *AuthConfigControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*AuthConfigControllerMock) EnqueueAfter

func (mock *AuthConfigControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*AuthConfigControllerMock) EnqueueAfterCalls

func (mock *AuthConfigControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedAuthConfigController.EnqueueAfterCalls())

func (*AuthConfigControllerMock) EnqueueCalls

func (mock *AuthConfigControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedAuthConfigController.EnqueueCalls())

func (*AuthConfigControllerMock) Generic

Generic calls GenericFunc.

func (*AuthConfigControllerMock) GenericCalls

func (mock *AuthConfigControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedAuthConfigController.GenericCalls())

func (*AuthConfigControllerMock) Informer

Informer calls InformerFunc.

func (*AuthConfigControllerMock) InformerCalls

func (mock *AuthConfigControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedAuthConfigController.InformerCalls())

func (*AuthConfigControllerMock) Lister

Lister calls ListerFunc.

func (*AuthConfigControllerMock) ListerCalls

func (mock *AuthConfigControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedAuthConfigController.ListerCalls())

func (*AuthConfigControllerMock) Start

func (mock *AuthConfigControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*AuthConfigControllerMock) StartCalls

func (mock *AuthConfigControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedAuthConfigController.StartCalls())

func (*AuthConfigControllerMock) Sync

Sync calls SyncFunc.

func (*AuthConfigControllerMock) SyncCalls

func (mock *AuthConfigControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedAuthConfigController.SyncCalls())

type AuthConfigInterfaceMock

type AuthConfigInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.AuthConfigHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

AuthConfigInterfaceMock is a mock implementation of AuthConfigInterface.

    func TestSomethingThatUsesAuthConfigInterface(t *testing.T) {

        // make and configure a mocked AuthConfigInterface
        mockedAuthConfigInterface := &AuthConfigInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.AuthConfigLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.AuthConfigLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.AuthConfigLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.AuthConfigLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.AuthConfigController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.AuthConfig) (*v3.AuthConfig, 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.AuthConfig, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.AuthConfig, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.AuthConfigList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.AuthConfigList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.AuthConfig) (*v3.AuthConfig, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedAuthConfigInterface in code that requires AuthConfigInterface
        // and then make assertions.

    }

func (*AuthConfigInterfaceMock) AddClusterScopedFeatureHandler

func (mock *AuthConfigInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.AuthConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*AuthConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *AuthConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.AuthConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedAuthConfigInterface.AddClusterScopedFeatureHandlerCalls())

func (*AuthConfigInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *AuthConfigInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.AuthConfigLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*AuthConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *AuthConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.AuthConfigLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedAuthConfigInterface.AddClusterScopedFeatureLifecycleCalls())

func (*AuthConfigInterfaceMock) AddClusterScopedHandler

func (mock *AuthConfigInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.AuthConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*AuthConfigInterfaceMock) AddClusterScopedHandlerCalls

func (mock *AuthConfigInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.AuthConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedAuthConfigInterface.AddClusterScopedHandlerCalls())

func (*AuthConfigInterfaceMock) AddClusterScopedLifecycle

func (mock *AuthConfigInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.AuthConfigLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*AuthConfigInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *AuthConfigInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.AuthConfigLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedAuthConfigInterface.AddClusterScopedLifecycleCalls())

func (*AuthConfigInterfaceMock) AddFeatureHandler

func (mock *AuthConfigInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.AuthConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*AuthConfigInterfaceMock) AddFeatureHandlerCalls

func (mock *AuthConfigInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.AuthConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedAuthConfigInterface.AddFeatureHandlerCalls())

func (*AuthConfigInterfaceMock) AddFeatureLifecycle

func (mock *AuthConfigInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.AuthConfigLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*AuthConfigInterfaceMock) AddFeatureLifecycleCalls

func (mock *AuthConfigInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.AuthConfigLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedAuthConfigInterface.AddFeatureLifecycleCalls())

func (*AuthConfigInterfaceMock) AddHandler

func (mock *AuthConfigInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.AuthConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*AuthConfigInterfaceMock) AddHandlerCalls

func (mock *AuthConfigInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.AuthConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedAuthConfigInterface.AddHandlerCalls())

func (*AuthConfigInterfaceMock) AddLifecycle

func (mock *AuthConfigInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.AuthConfigLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*AuthConfigInterfaceMock) AddLifecycleCalls

func (mock *AuthConfigInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.AuthConfigLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedAuthConfigInterface.AddLifecycleCalls())

func (*AuthConfigInterfaceMock) Controller

func (mock *AuthConfigInterfaceMock) Controller() v3.AuthConfigController

Controller calls ControllerFunc.

func (*AuthConfigInterfaceMock) ControllerCalls

func (mock *AuthConfigInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedAuthConfigInterface.ControllerCalls())

func (*AuthConfigInterfaceMock) Create

func (mock *AuthConfigInterfaceMock) Create(in1 *v3.AuthConfig) (*v3.AuthConfig, error)

Create calls CreateFunc.

func (*AuthConfigInterfaceMock) CreateCalls

func (mock *AuthConfigInterfaceMock) CreateCalls() []struct {
	In1 *v3.AuthConfig
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedAuthConfigInterface.CreateCalls())

func (*AuthConfigInterfaceMock) Delete

func (mock *AuthConfigInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*AuthConfigInterfaceMock) DeleteCalls

func (mock *AuthConfigInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedAuthConfigInterface.DeleteCalls())

func (*AuthConfigInterfaceMock) DeleteCollection

func (mock *AuthConfigInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*AuthConfigInterfaceMock) DeleteCollectionCalls

func (mock *AuthConfigInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedAuthConfigInterface.DeleteCollectionCalls())

func (*AuthConfigInterfaceMock) DeleteNamespaced

func (mock *AuthConfigInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*AuthConfigInterfaceMock) DeleteNamespacedCalls

func (mock *AuthConfigInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedAuthConfigInterface.DeleteNamespacedCalls())

func (*AuthConfigInterfaceMock) Get

func (mock *AuthConfigInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.AuthConfig, error)

Get calls GetFunc.

func (*AuthConfigInterfaceMock) GetCalls

func (mock *AuthConfigInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedAuthConfigInterface.GetCalls())

func (*AuthConfigInterfaceMock) GetNamespaced

func (mock *AuthConfigInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.AuthConfig, error)

GetNamespaced calls GetNamespacedFunc.

func (*AuthConfigInterfaceMock) GetNamespacedCalls

func (mock *AuthConfigInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedAuthConfigInterface.GetNamespacedCalls())

func (*AuthConfigInterfaceMock) List

List calls ListFunc.

func (*AuthConfigInterfaceMock) ListCalls

func (mock *AuthConfigInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedAuthConfigInterface.ListCalls())

func (*AuthConfigInterfaceMock) ListNamespaced

func (mock *AuthConfigInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.AuthConfigList, error)

ListNamespaced calls ListNamespacedFunc.

func (*AuthConfigInterfaceMock) ListNamespacedCalls

func (mock *AuthConfigInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedAuthConfigInterface.ListNamespacedCalls())

func (*AuthConfigInterfaceMock) ObjectClient

func (mock *AuthConfigInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*AuthConfigInterfaceMock) ObjectClientCalls

func (mock *AuthConfigInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedAuthConfigInterface.ObjectClientCalls())

func (*AuthConfigInterfaceMock) Update

func (mock *AuthConfigInterfaceMock) Update(in1 *v3.AuthConfig) (*v3.AuthConfig, error)

Update calls UpdateFunc.

func (*AuthConfigInterfaceMock) UpdateCalls

func (mock *AuthConfigInterfaceMock) UpdateCalls() []struct {
	In1 *v3.AuthConfig
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedAuthConfigInterface.UpdateCalls())

func (*AuthConfigInterfaceMock) Watch

Watch calls WatchFunc.

func (*AuthConfigInterfaceMock) WatchCalls

func (mock *AuthConfigInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedAuthConfigInterface.WatchCalls())

type AuthConfigListerMock

type AuthConfigListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.AuthConfig, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.AuthConfig, error)
	// contains filtered or unexported fields
}

AuthConfigListerMock is a mock implementation of AuthConfigLister.

    func TestSomethingThatUsesAuthConfigLister(t *testing.T) {

        // make and configure a mocked AuthConfigLister
        mockedAuthConfigLister := &AuthConfigListerMock{
            GetFunc: func(namespace string, name string) (*v3.AuthConfig, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.AuthConfig, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedAuthConfigLister in code that requires AuthConfigLister
        // and then make assertions.

    }

func (*AuthConfigListerMock) Get

func (mock *AuthConfigListerMock) Get(namespace string, name string) (*v3.AuthConfig, error)

Get calls GetFunc.

func (*AuthConfigListerMock) GetCalls

func (mock *AuthConfigListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedAuthConfigLister.GetCalls())

func (*AuthConfigListerMock) List

func (mock *AuthConfigListerMock) List(namespace string, selector labels.Selector) ([]*v3.AuthConfig, error)

List calls ListFunc.

func (*AuthConfigListerMock) ListCalls

func (mock *AuthConfigListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedAuthConfigLister.ListCalls())

type AuthConfigsGetterMock

type AuthConfigsGetterMock struct {
	// AuthConfigsFunc mocks the AuthConfigs method.
	AuthConfigsFunc func(namespace string) v3.AuthConfigInterface
	// contains filtered or unexported fields
}

AuthConfigsGetterMock is a mock implementation of AuthConfigsGetter.

    func TestSomethingThatUsesAuthConfigsGetter(t *testing.T) {

        // make and configure a mocked AuthConfigsGetter
        mockedAuthConfigsGetter := &AuthConfigsGetterMock{
            AuthConfigsFunc: func(namespace string) v3.AuthConfigInterface {
	               panic("mock out the AuthConfigs method")
            },
        }

        // use mockedAuthConfigsGetter in code that requires AuthConfigsGetter
        // and then make assertions.

    }

func (*AuthConfigsGetterMock) AuthConfigs

func (mock *AuthConfigsGetterMock) AuthConfigs(namespace string) v3.AuthConfigInterface

AuthConfigs calls AuthConfigsFunc.

func (*AuthConfigsGetterMock) AuthConfigsCalls

func (mock *AuthConfigsGetterMock) AuthConfigsCalls() []struct {
	Namespace string
}

AuthConfigsCalls gets all the calls that were made to AuthConfigs. Check the length with:

len(mockedAuthConfigsGetter.AuthConfigsCalls())

type CatalogControllerMock

type CatalogControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

CatalogControllerMock is a mock implementation of CatalogController.

    func TestSomethingThatUsesCatalogController(t *testing.T) {

        // make and configure a mocked CatalogController
        mockedCatalogController := &CatalogControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CatalogHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.CatalogHandlerFunc)  {
	               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.CatalogLister {
	               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 mockedCatalogController in code that requires CatalogController
        // and then make assertions.

    }

func (*CatalogControllerMock) AddClusterScopedFeatureHandler

func (mock *CatalogControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CatalogControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *CatalogControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.CatalogHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCatalogController.AddClusterScopedFeatureHandlerCalls())

func (*CatalogControllerMock) AddClusterScopedHandler

func (mock *CatalogControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.CatalogHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CatalogControllerMock) AddClusterScopedHandlerCalls

func (mock *CatalogControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.CatalogHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCatalogController.AddClusterScopedHandlerCalls())

func (*CatalogControllerMock) AddFeatureHandler

func (mock *CatalogControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CatalogHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CatalogControllerMock) AddFeatureHandlerCalls

func (mock *CatalogControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CatalogHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCatalogController.AddFeatureHandlerCalls())

func (*CatalogControllerMock) AddHandler

func (mock *CatalogControllerMock) AddHandler(ctx context.Context, name string, handler v3.CatalogHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*CatalogControllerMock) AddHandlerCalls

func (mock *CatalogControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.CatalogHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCatalogController.AddHandlerCalls())

func (*CatalogControllerMock) Enqueue

func (mock *CatalogControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*CatalogControllerMock) EnqueueAfter

func (mock *CatalogControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*CatalogControllerMock) EnqueueAfterCalls

func (mock *CatalogControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedCatalogController.EnqueueAfterCalls())

func (*CatalogControllerMock) EnqueueCalls

func (mock *CatalogControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedCatalogController.EnqueueCalls())

func (*CatalogControllerMock) Generic

Generic calls GenericFunc.

func (*CatalogControllerMock) GenericCalls

func (mock *CatalogControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedCatalogController.GenericCalls())

func (*CatalogControllerMock) Informer

Informer calls InformerFunc.

func (*CatalogControllerMock) InformerCalls

func (mock *CatalogControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedCatalogController.InformerCalls())

func (*CatalogControllerMock) Lister

func (mock *CatalogControllerMock) Lister() v3.CatalogLister

Lister calls ListerFunc.

func (*CatalogControllerMock) ListerCalls

func (mock *CatalogControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedCatalogController.ListerCalls())

func (*CatalogControllerMock) Start

func (mock *CatalogControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*CatalogControllerMock) StartCalls

func (mock *CatalogControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedCatalogController.StartCalls())

func (*CatalogControllerMock) Sync

func (mock *CatalogControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*CatalogControllerMock) SyncCalls

func (mock *CatalogControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedCatalogController.SyncCalls())

type CatalogInterfaceMock

type CatalogInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

CatalogInterfaceMock is a mock implementation of CatalogInterface.

    func TestSomethingThatUsesCatalogInterface(t *testing.T) {

        // make and configure a mocked CatalogInterface
        mockedCatalogInterface := &CatalogInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CatalogLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CatalogLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CatalogHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CatalogLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CatalogHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CatalogLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CatalogController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Catalog) (*v3.Catalog, 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.Catalog, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Catalog, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CatalogList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CatalogList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Catalog) (*v3.Catalog, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCatalogInterface in code that requires CatalogInterface
        // and then make assertions.

    }

func (*CatalogInterfaceMock) AddClusterScopedFeatureHandler

func (mock *CatalogInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CatalogInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *CatalogInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.CatalogHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCatalogInterface.AddClusterScopedFeatureHandlerCalls())

func (*CatalogInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *CatalogInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CatalogLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CatalogInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *CatalogInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.CatalogLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedCatalogInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CatalogInterfaceMock) AddClusterScopedHandler

func (mock *CatalogInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.CatalogHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CatalogInterfaceMock) AddClusterScopedHandlerCalls

func (mock *CatalogInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.CatalogHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCatalogInterface.AddClusterScopedHandlerCalls())

func (*CatalogInterfaceMock) AddClusterScopedLifecycle

func (mock *CatalogInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.CatalogLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CatalogInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *CatalogInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.CatalogLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedCatalogInterface.AddClusterScopedLifecycleCalls())

func (*CatalogInterfaceMock) AddFeatureHandler

func (mock *CatalogInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CatalogHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CatalogInterfaceMock) AddFeatureHandlerCalls

func (mock *CatalogInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CatalogHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCatalogInterface.AddFeatureHandlerCalls())

func (*CatalogInterfaceMock) AddFeatureLifecycle

func (mock *CatalogInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.CatalogLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CatalogInterfaceMock) AddFeatureLifecycleCalls

func (mock *CatalogInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.CatalogLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedCatalogInterface.AddFeatureLifecycleCalls())

func (*CatalogInterfaceMock) AddHandler

func (mock *CatalogInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.CatalogHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*CatalogInterfaceMock) AddHandlerCalls

func (mock *CatalogInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.CatalogHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCatalogInterface.AddHandlerCalls())

func (*CatalogInterfaceMock) AddLifecycle

func (mock *CatalogInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.CatalogLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*CatalogInterfaceMock) AddLifecycleCalls

func (mock *CatalogInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.CatalogLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedCatalogInterface.AddLifecycleCalls())

func (*CatalogInterfaceMock) Controller

func (mock *CatalogInterfaceMock) Controller() v3.CatalogController

Controller calls ControllerFunc.

func (*CatalogInterfaceMock) ControllerCalls

func (mock *CatalogInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedCatalogInterface.ControllerCalls())

func (*CatalogInterfaceMock) Create

func (mock *CatalogInterfaceMock) Create(in1 *v3.Catalog) (*v3.Catalog, error)

Create calls CreateFunc.

func (*CatalogInterfaceMock) CreateCalls

func (mock *CatalogInterfaceMock) CreateCalls() []struct {
	In1 *v3.Catalog
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedCatalogInterface.CreateCalls())

func (*CatalogInterfaceMock) Delete

func (mock *CatalogInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*CatalogInterfaceMock) DeleteCalls

func (mock *CatalogInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedCatalogInterface.DeleteCalls())

func (*CatalogInterfaceMock) DeleteCollection

func (mock *CatalogInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*CatalogInterfaceMock) DeleteCollectionCalls

func (mock *CatalogInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedCatalogInterface.DeleteCollectionCalls())

func (*CatalogInterfaceMock) DeleteNamespaced

func (mock *CatalogInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CatalogInterfaceMock) DeleteNamespacedCalls

func (mock *CatalogInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedCatalogInterface.DeleteNamespacedCalls())

func (*CatalogInterfaceMock) Get

func (mock *CatalogInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Catalog, error)

Get calls GetFunc.

func (*CatalogInterfaceMock) GetCalls

func (mock *CatalogInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCatalogInterface.GetCalls())

func (*CatalogInterfaceMock) GetNamespaced

func (mock *CatalogInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Catalog, error)

GetNamespaced calls GetNamespacedFunc.

func (*CatalogInterfaceMock) GetNamespacedCalls

func (mock *CatalogInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedCatalogInterface.GetNamespacedCalls())

func (*CatalogInterfaceMock) List

func (mock *CatalogInterfaceMock) List(opts v1.ListOptions) (*v3.CatalogList, error)

List calls ListFunc.

func (*CatalogInterfaceMock) ListCalls

func (mock *CatalogInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCatalogInterface.ListCalls())

func (*CatalogInterfaceMock) ListNamespaced

func (mock *CatalogInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.CatalogList, error)

ListNamespaced calls ListNamespacedFunc.

func (*CatalogInterfaceMock) ListNamespacedCalls

func (mock *CatalogInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedCatalogInterface.ListNamespacedCalls())

func (*CatalogInterfaceMock) ObjectClient

func (mock *CatalogInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*CatalogInterfaceMock) ObjectClientCalls

func (mock *CatalogInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedCatalogInterface.ObjectClientCalls())

func (*CatalogInterfaceMock) Update

func (mock *CatalogInterfaceMock) Update(in1 *v3.Catalog) (*v3.Catalog, error)

Update calls UpdateFunc.

func (*CatalogInterfaceMock) UpdateCalls

func (mock *CatalogInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Catalog
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedCatalogInterface.UpdateCalls())

func (*CatalogInterfaceMock) Watch

func (mock *CatalogInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*CatalogInterfaceMock) WatchCalls

func (mock *CatalogInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedCatalogInterface.WatchCalls())

type CatalogListerMock

type CatalogListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Catalog, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Catalog, error)
	// contains filtered or unexported fields
}

CatalogListerMock is a mock implementation of CatalogLister.

    func TestSomethingThatUsesCatalogLister(t *testing.T) {

        // make and configure a mocked CatalogLister
        mockedCatalogLister := &CatalogListerMock{
            GetFunc: func(namespace string, name string) (*v3.Catalog, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Catalog, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedCatalogLister in code that requires CatalogLister
        // and then make assertions.

    }

func (*CatalogListerMock) Get

func (mock *CatalogListerMock) Get(namespace string, name string) (*v3.Catalog, error)

Get calls GetFunc.

func (*CatalogListerMock) GetCalls

func (mock *CatalogListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCatalogLister.GetCalls())

func (*CatalogListerMock) List

func (mock *CatalogListerMock) List(namespace string, selector labels.Selector) ([]*v3.Catalog, error)

List calls ListFunc.

func (*CatalogListerMock) ListCalls

func (mock *CatalogListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCatalogLister.ListCalls())

type CatalogTemplateControllerMock

type CatalogTemplateControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogTemplateHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

CatalogTemplateControllerMock is a mock implementation of CatalogTemplateController.

    func TestSomethingThatUsesCatalogTemplateController(t *testing.T) {

        // make and configure a mocked CatalogTemplateController
        mockedCatalogTemplateController := &CatalogTemplateControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.CatalogTemplateHandlerFunc)  {
	               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.CatalogTemplateLister {
	               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 mockedCatalogTemplateController in code that requires CatalogTemplateController
        // and then make assertions.

    }

func (*CatalogTemplateControllerMock) AddClusterScopedFeatureHandler

func (mock *CatalogTemplateControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CatalogTemplateControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *CatalogTemplateControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.CatalogTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCatalogTemplateController.AddClusterScopedFeatureHandlerCalls())

func (*CatalogTemplateControllerMock) AddClusterScopedHandler

func (mock *CatalogTemplateControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.CatalogTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CatalogTemplateControllerMock) AddClusterScopedHandlerCalls

func (mock *CatalogTemplateControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.CatalogTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCatalogTemplateController.AddClusterScopedHandlerCalls())

func (*CatalogTemplateControllerMock) AddFeatureHandler

func (mock *CatalogTemplateControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CatalogTemplateControllerMock) AddFeatureHandlerCalls

func (mock *CatalogTemplateControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CatalogTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCatalogTemplateController.AddFeatureHandlerCalls())

func (*CatalogTemplateControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CatalogTemplateControllerMock) AddHandlerCalls

func (mock *CatalogTemplateControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.CatalogTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCatalogTemplateController.AddHandlerCalls())

func (*CatalogTemplateControllerMock) Enqueue

func (mock *CatalogTemplateControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*CatalogTemplateControllerMock) EnqueueAfter

func (mock *CatalogTemplateControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*CatalogTemplateControllerMock) EnqueueAfterCalls

func (mock *CatalogTemplateControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedCatalogTemplateController.EnqueueAfterCalls())

func (*CatalogTemplateControllerMock) EnqueueCalls

func (mock *CatalogTemplateControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedCatalogTemplateController.EnqueueCalls())

func (*CatalogTemplateControllerMock) Generic

Generic calls GenericFunc.

func (*CatalogTemplateControllerMock) GenericCalls

func (mock *CatalogTemplateControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedCatalogTemplateController.GenericCalls())

func (*CatalogTemplateControllerMock) Informer

Informer calls InformerFunc.

func (*CatalogTemplateControllerMock) InformerCalls

func (mock *CatalogTemplateControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedCatalogTemplateController.InformerCalls())

func (*CatalogTemplateControllerMock) Lister

Lister calls ListerFunc.

func (*CatalogTemplateControllerMock) ListerCalls

func (mock *CatalogTemplateControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedCatalogTemplateController.ListerCalls())

func (*CatalogTemplateControllerMock) Start

func (mock *CatalogTemplateControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*CatalogTemplateControllerMock) StartCalls

func (mock *CatalogTemplateControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedCatalogTemplateController.StartCalls())

func (*CatalogTemplateControllerMock) Sync

Sync calls SyncFunc.

func (*CatalogTemplateControllerMock) SyncCalls

func (mock *CatalogTemplateControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedCatalogTemplateController.SyncCalls())

type CatalogTemplateInterfaceMock

type CatalogTemplateInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogTemplateHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

CatalogTemplateInterfaceMock is a mock implementation of CatalogTemplateInterface.

    func TestSomethingThatUsesCatalogTemplateInterface(t *testing.T) {

        // make and configure a mocked CatalogTemplateInterface
        mockedCatalogTemplateInterface := &CatalogTemplateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CatalogTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CatalogTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CatalogTemplateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CatalogTemplateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CatalogTemplateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.CatalogTemplate) (*v3.CatalogTemplate, 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.CatalogTemplate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.CatalogTemplate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CatalogTemplateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CatalogTemplateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.CatalogTemplate) (*v3.CatalogTemplate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCatalogTemplateInterface in code that requires CatalogTemplateInterface
        // and then make assertions.

    }

func (*CatalogTemplateInterfaceMock) AddClusterScopedFeatureHandler

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CatalogTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.CatalogTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCatalogTemplateInterface.AddClusterScopedFeatureHandlerCalls())

func (*CatalogTemplateInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CatalogTemplateLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CatalogTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.CatalogTemplateLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedCatalogTemplateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CatalogTemplateInterfaceMock) AddClusterScopedHandler

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.CatalogTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CatalogTemplateInterfaceMock) AddClusterScopedHandlerCalls

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.CatalogTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCatalogTemplateInterface.AddClusterScopedHandlerCalls())

func (*CatalogTemplateInterfaceMock) AddClusterScopedLifecycle

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.CatalogTemplateLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CatalogTemplateInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *CatalogTemplateInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.CatalogTemplateLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedCatalogTemplateInterface.AddClusterScopedLifecycleCalls())

func (*CatalogTemplateInterfaceMock) AddFeatureHandler

func (mock *CatalogTemplateInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CatalogTemplateInterfaceMock) AddFeatureHandlerCalls

func (mock *CatalogTemplateInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CatalogTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCatalogTemplateInterface.AddFeatureHandlerCalls())

func (*CatalogTemplateInterfaceMock) AddFeatureLifecycle

func (mock *CatalogTemplateInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.CatalogTemplateLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CatalogTemplateInterfaceMock) AddFeatureLifecycleCalls

func (mock *CatalogTemplateInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.CatalogTemplateLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedCatalogTemplateInterface.AddFeatureLifecycleCalls())

func (*CatalogTemplateInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CatalogTemplateInterfaceMock) AddHandlerCalls

func (mock *CatalogTemplateInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.CatalogTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCatalogTemplateInterface.AddHandlerCalls())

func (*CatalogTemplateInterfaceMock) AddLifecycle

func (mock *CatalogTemplateInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.CatalogTemplateLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*CatalogTemplateInterfaceMock) AddLifecycleCalls

func (mock *CatalogTemplateInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.CatalogTemplateLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedCatalogTemplateInterface.AddLifecycleCalls())

func (*CatalogTemplateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*CatalogTemplateInterfaceMock) ControllerCalls

func (mock *CatalogTemplateInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedCatalogTemplateInterface.ControllerCalls())

func (*CatalogTemplateInterfaceMock) Create

Create calls CreateFunc.

func (*CatalogTemplateInterfaceMock) CreateCalls

func (mock *CatalogTemplateInterfaceMock) CreateCalls() []struct {
	In1 *v3.CatalogTemplate
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedCatalogTemplateInterface.CreateCalls())

func (*CatalogTemplateInterfaceMock) Delete

func (mock *CatalogTemplateInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*CatalogTemplateInterfaceMock) DeleteCalls

func (mock *CatalogTemplateInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedCatalogTemplateInterface.DeleteCalls())

func (*CatalogTemplateInterfaceMock) DeleteCollection

func (mock *CatalogTemplateInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*CatalogTemplateInterfaceMock) DeleteCollectionCalls

func (mock *CatalogTemplateInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedCatalogTemplateInterface.DeleteCollectionCalls())

func (*CatalogTemplateInterfaceMock) DeleteNamespaced

func (mock *CatalogTemplateInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CatalogTemplateInterfaceMock) DeleteNamespacedCalls

func (mock *CatalogTemplateInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedCatalogTemplateInterface.DeleteNamespacedCalls())

func (*CatalogTemplateInterfaceMock) Get

Get calls GetFunc.

func (*CatalogTemplateInterfaceMock) GetCalls

func (mock *CatalogTemplateInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCatalogTemplateInterface.GetCalls())

func (*CatalogTemplateInterfaceMock) GetNamespaced

func (mock *CatalogTemplateInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.CatalogTemplate, error)

GetNamespaced calls GetNamespacedFunc.

func (*CatalogTemplateInterfaceMock) GetNamespacedCalls

func (mock *CatalogTemplateInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedCatalogTemplateInterface.GetNamespacedCalls())

func (*CatalogTemplateInterfaceMock) List

List calls ListFunc.

func (*CatalogTemplateInterfaceMock) ListCalls

func (mock *CatalogTemplateInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCatalogTemplateInterface.ListCalls())

func (*CatalogTemplateInterfaceMock) ListNamespaced

func (mock *CatalogTemplateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.CatalogTemplateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*CatalogTemplateInterfaceMock) ListNamespacedCalls

func (mock *CatalogTemplateInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedCatalogTemplateInterface.ListNamespacedCalls())

func (*CatalogTemplateInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*CatalogTemplateInterfaceMock) ObjectClientCalls

func (mock *CatalogTemplateInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedCatalogTemplateInterface.ObjectClientCalls())

func (*CatalogTemplateInterfaceMock) Update

Update calls UpdateFunc.

func (*CatalogTemplateInterfaceMock) UpdateCalls

func (mock *CatalogTemplateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.CatalogTemplate
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedCatalogTemplateInterface.UpdateCalls())

func (*CatalogTemplateInterfaceMock) Watch

Watch calls WatchFunc.

func (*CatalogTemplateInterfaceMock) WatchCalls

func (mock *CatalogTemplateInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedCatalogTemplateInterface.WatchCalls())

type CatalogTemplateListerMock

type CatalogTemplateListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.CatalogTemplate, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.CatalogTemplate, error)
	// contains filtered or unexported fields
}

CatalogTemplateListerMock is a mock implementation of CatalogTemplateLister.

    func TestSomethingThatUsesCatalogTemplateLister(t *testing.T) {

        // make and configure a mocked CatalogTemplateLister
        mockedCatalogTemplateLister := &CatalogTemplateListerMock{
            GetFunc: func(namespace string, name string) (*v3.CatalogTemplate, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.CatalogTemplate, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedCatalogTemplateLister in code that requires CatalogTemplateLister
        // and then make assertions.

    }

func (*CatalogTemplateListerMock) Get

func (mock *CatalogTemplateListerMock) Get(namespace string, name string) (*v3.CatalogTemplate, error)

Get calls GetFunc.

func (*CatalogTemplateListerMock) GetCalls

func (mock *CatalogTemplateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCatalogTemplateLister.GetCalls())

func (*CatalogTemplateListerMock) List

func (mock *CatalogTemplateListerMock) List(namespace string, selector labels.Selector) ([]*v3.CatalogTemplate, error)

List calls ListFunc.

func (*CatalogTemplateListerMock) ListCalls

func (mock *CatalogTemplateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCatalogTemplateLister.ListCalls())

type CatalogTemplateVersionControllerMock

type CatalogTemplateVersionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogTemplateVersionHandlerFunc)

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

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

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

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

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

CatalogTemplateVersionControllerMock is a mock implementation of CatalogTemplateVersionController.

    func TestSomethingThatUsesCatalogTemplateVersionController(t *testing.T) {

        // make and configure a mocked CatalogTemplateVersionController
        mockedCatalogTemplateVersionController := &CatalogTemplateVersionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.CatalogTemplateVersionLister {
	               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 mockedCatalogTemplateVersionController in code that requires CatalogTemplateVersionController
        // and then make assertions.

    }

func (*CatalogTemplateVersionControllerMock) AddClusterScopedFeatureHandler

func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CatalogTemplateVersionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CatalogTemplateVersionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.CatalogTemplateVersionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCatalogTemplateVersionController.AddClusterScopedFeatureHandlerCalls())

func (*CatalogTemplateVersionControllerMock) AddClusterScopedHandler

func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.CatalogTemplateVersionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CatalogTemplateVersionControllerMock) AddClusterScopedHandlerCalls

func (mock *CatalogTemplateVersionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.CatalogTemplateVersionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCatalogTemplateVersionController.AddClusterScopedHandlerCalls())

func (*CatalogTemplateVersionControllerMock) AddFeatureHandler

func (mock *CatalogTemplateVersionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateVersionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CatalogTemplateVersionControllerMock) AddFeatureHandlerCalls

func (mock *CatalogTemplateVersionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CatalogTemplateVersionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCatalogTemplateVersionController.AddFeatureHandlerCalls())

func (*CatalogTemplateVersionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CatalogTemplateVersionControllerMock) AddHandlerCalls

func (mock *CatalogTemplateVersionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.CatalogTemplateVersionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCatalogTemplateVersionController.AddHandlerCalls())

func (*CatalogTemplateVersionControllerMock) Enqueue

func (mock *CatalogTemplateVersionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*CatalogTemplateVersionControllerMock) EnqueueAfter

func (mock *CatalogTemplateVersionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*CatalogTemplateVersionControllerMock) EnqueueAfterCalls

func (mock *CatalogTemplateVersionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedCatalogTemplateVersionController.EnqueueAfterCalls())

func (*CatalogTemplateVersionControllerMock) EnqueueCalls

func (mock *CatalogTemplateVersionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedCatalogTemplateVersionController.EnqueueCalls())

func (*CatalogTemplateVersionControllerMock) Generic

Generic calls GenericFunc.

func (*CatalogTemplateVersionControllerMock) GenericCalls

func (mock *CatalogTemplateVersionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedCatalogTemplateVersionController.GenericCalls())

func (*CatalogTemplateVersionControllerMock) Informer

Informer calls InformerFunc.

func (*CatalogTemplateVersionControllerMock) InformerCalls

func (mock *CatalogTemplateVersionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedCatalogTemplateVersionController.InformerCalls())

func (*CatalogTemplateVersionControllerMock) Lister

Lister calls ListerFunc.

func (*CatalogTemplateVersionControllerMock) ListerCalls

func (mock *CatalogTemplateVersionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedCatalogTemplateVersionController.ListerCalls())

func (*CatalogTemplateVersionControllerMock) Start

func (mock *CatalogTemplateVersionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*CatalogTemplateVersionControllerMock) StartCalls

func (mock *CatalogTemplateVersionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedCatalogTemplateVersionController.StartCalls())

func (*CatalogTemplateVersionControllerMock) Sync

Sync calls SyncFunc.

func (*CatalogTemplateVersionControllerMock) SyncCalls

func (mock *CatalogTemplateVersionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedCatalogTemplateVersionController.SyncCalls())

type CatalogTemplateVersionInterfaceMock

type CatalogTemplateVersionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogTemplateVersionHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

CatalogTemplateVersionInterfaceMock is a mock implementation of CatalogTemplateVersionInterface.

    func TestSomethingThatUsesCatalogTemplateVersionInterface(t *testing.T) {

        // make and configure a mocked CatalogTemplateVersionInterface
        mockedCatalogTemplateVersionInterface := &CatalogTemplateVersionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CatalogTemplateVersionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CatalogTemplateVersionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CatalogTemplateVersionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CatalogTemplateVersionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CatalogTemplateVersionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *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.CatalogTemplateVersion, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.CatalogTemplateVersion, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CatalogTemplateVersionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CatalogTemplateVersionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.CatalogTemplateVersion) (*v3.CatalogTemplateVersion, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCatalogTemplateVersionInterface in code that requires CatalogTemplateVersionInterface
        // and then make assertions.

    }

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CatalogTemplateVersionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.CatalogTemplateVersionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddClusterScopedFeatureHandlerCalls())

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CatalogTemplateVersionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.CatalogTemplateVersionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedHandler

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.CatalogTemplateVersionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.CatalogTemplateVersionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddClusterScopedHandlerCalls())

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedLifecycle

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.CatalogTemplateVersionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CatalogTemplateVersionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.CatalogTemplateVersionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddClusterScopedLifecycleCalls())

func (*CatalogTemplateVersionInterfaceMock) AddFeatureHandler

func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CatalogTemplateVersionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CatalogTemplateVersionInterfaceMock) AddFeatureHandlerCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CatalogTemplateVersionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddFeatureHandlerCalls())

func (*CatalogTemplateVersionInterfaceMock) AddFeatureLifecycle

func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.CatalogTemplateVersionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CatalogTemplateVersionInterfaceMock) AddFeatureLifecycleCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.CatalogTemplateVersionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddFeatureLifecycleCalls())

func (*CatalogTemplateVersionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CatalogTemplateVersionInterfaceMock) AddHandlerCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.CatalogTemplateVersionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddHandlerCalls())

func (*CatalogTemplateVersionInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*CatalogTemplateVersionInterfaceMock) AddLifecycleCalls

func (mock *CatalogTemplateVersionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.CatalogTemplateVersionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedCatalogTemplateVersionInterface.AddLifecycleCalls())

func (*CatalogTemplateVersionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*CatalogTemplateVersionInterfaceMock) ControllerCalls

func (mock *CatalogTemplateVersionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedCatalogTemplateVersionInterface.ControllerCalls())

func (*CatalogTemplateVersionInterfaceMock) Create

Create calls CreateFunc.

func (*CatalogTemplateVersionInterfaceMock) CreateCalls

func (mock *CatalogTemplateVersionInterfaceMock) CreateCalls() []struct {
	In1 *v3.CatalogTemplateVersion
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedCatalogTemplateVersionInterface.CreateCalls())

func (*CatalogTemplateVersionInterfaceMock) Delete

func (mock *CatalogTemplateVersionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*CatalogTemplateVersionInterfaceMock) DeleteCalls

func (mock *CatalogTemplateVersionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedCatalogTemplateVersionInterface.DeleteCalls())

func (*CatalogTemplateVersionInterfaceMock) DeleteCollection

func (mock *CatalogTemplateVersionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*CatalogTemplateVersionInterfaceMock) DeleteCollectionCalls

func (mock *CatalogTemplateVersionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedCatalogTemplateVersionInterface.DeleteCollectionCalls())

func (*CatalogTemplateVersionInterfaceMock) DeleteNamespaced

func (mock *CatalogTemplateVersionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CatalogTemplateVersionInterfaceMock) DeleteNamespacedCalls

func (mock *CatalogTemplateVersionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedCatalogTemplateVersionInterface.DeleteNamespacedCalls())

func (*CatalogTemplateVersionInterfaceMock) Get

Get calls GetFunc.

func (*CatalogTemplateVersionInterfaceMock) GetCalls

func (mock *CatalogTemplateVersionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCatalogTemplateVersionInterface.GetCalls())

func (*CatalogTemplateVersionInterfaceMock) GetNamespaced

func (mock *CatalogTemplateVersionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.CatalogTemplateVersion, error)

GetNamespaced calls GetNamespacedFunc.

func (*CatalogTemplateVersionInterfaceMock) GetNamespacedCalls

func (mock *CatalogTemplateVersionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedCatalogTemplateVersionInterface.GetNamespacedCalls())

func (*CatalogTemplateVersionInterfaceMock) List

List calls ListFunc.

func (*CatalogTemplateVersionInterfaceMock) ListCalls

func (mock *CatalogTemplateVersionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCatalogTemplateVersionInterface.ListCalls())

func (*CatalogTemplateVersionInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*CatalogTemplateVersionInterfaceMock) ListNamespacedCalls

func (mock *CatalogTemplateVersionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedCatalogTemplateVersionInterface.ListNamespacedCalls())

func (*CatalogTemplateVersionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*CatalogTemplateVersionInterfaceMock) ObjectClientCalls

func (mock *CatalogTemplateVersionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedCatalogTemplateVersionInterface.ObjectClientCalls())

func (*CatalogTemplateVersionInterfaceMock) Update

Update calls UpdateFunc.

func (*CatalogTemplateVersionInterfaceMock) UpdateCalls

func (mock *CatalogTemplateVersionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.CatalogTemplateVersion
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedCatalogTemplateVersionInterface.UpdateCalls())

func (*CatalogTemplateVersionInterfaceMock) Watch

Watch calls WatchFunc.

func (*CatalogTemplateVersionInterfaceMock) WatchCalls

func (mock *CatalogTemplateVersionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedCatalogTemplateVersionInterface.WatchCalls())

type CatalogTemplateVersionListerMock

type CatalogTemplateVersionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.CatalogTemplateVersion, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.CatalogTemplateVersion, error)
	// contains filtered or unexported fields
}

CatalogTemplateVersionListerMock is a mock implementation of CatalogTemplateVersionLister.

    func TestSomethingThatUsesCatalogTemplateVersionLister(t *testing.T) {

        // make and configure a mocked CatalogTemplateVersionLister
        mockedCatalogTemplateVersionLister := &CatalogTemplateVersionListerMock{
            GetFunc: func(namespace string, name string) (*v3.CatalogTemplateVersion, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.CatalogTemplateVersion, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedCatalogTemplateVersionLister in code that requires CatalogTemplateVersionLister
        // and then make assertions.

    }

func (*CatalogTemplateVersionListerMock) Get

Get calls GetFunc.

func (*CatalogTemplateVersionListerMock) GetCalls

func (mock *CatalogTemplateVersionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCatalogTemplateVersionLister.GetCalls())

func (*CatalogTemplateVersionListerMock) List

List calls ListFunc.

func (*CatalogTemplateVersionListerMock) ListCalls

func (mock *CatalogTemplateVersionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCatalogTemplateVersionLister.ListCalls())

type CatalogTemplateVersionsGetterMock

type CatalogTemplateVersionsGetterMock struct {
	// CatalogTemplateVersionsFunc mocks the CatalogTemplateVersions method.
	CatalogTemplateVersionsFunc func(namespace string) v3.CatalogTemplateVersionInterface
	// contains filtered or unexported fields
}

CatalogTemplateVersionsGetterMock is a mock implementation of CatalogTemplateVersionsGetter.

    func TestSomethingThatUsesCatalogTemplateVersionsGetter(t *testing.T) {

        // make and configure a mocked CatalogTemplateVersionsGetter
        mockedCatalogTemplateVersionsGetter := &CatalogTemplateVersionsGetterMock{
            CatalogTemplateVersionsFunc: func(namespace string) v3.CatalogTemplateVersionInterface {
	               panic("mock out the CatalogTemplateVersions method")
            },
        }

        // use mockedCatalogTemplateVersionsGetter in code that requires CatalogTemplateVersionsGetter
        // and then make assertions.

    }

func (*CatalogTemplateVersionsGetterMock) CatalogTemplateVersions

func (mock *CatalogTemplateVersionsGetterMock) CatalogTemplateVersions(namespace string) v3.CatalogTemplateVersionInterface

CatalogTemplateVersions calls CatalogTemplateVersionsFunc.

func (*CatalogTemplateVersionsGetterMock) CatalogTemplateVersionsCalls

func (mock *CatalogTemplateVersionsGetterMock) CatalogTemplateVersionsCalls() []struct {
	Namespace string
}

CatalogTemplateVersionsCalls gets all the calls that were made to CatalogTemplateVersions. Check the length with:

len(mockedCatalogTemplateVersionsGetter.CatalogTemplateVersionsCalls())

type CatalogTemplatesGetterMock

type CatalogTemplatesGetterMock struct {
	// CatalogTemplatesFunc mocks the CatalogTemplates method.
	CatalogTemplatesFunc func(namespace string) v3.CatalogTemplateInterface
	// contains filtered or unexported fields
}

CatalogTemplatesGetterMock is a mock implementation of CatalogTemplatesGetter.

    func TestSomethingThatUsesCatalogTemplatesGetter(t *testing.T) {

        // make and configure a mocked CatalogTemplatesGetter
        mockedCatalogTemplatesGetter := &CatalogTemplatesGetterMock{
            CatalogTemplatesFunc: func(namespace string) v3.CatalogTemplateInterface {
	               panic("mock out the CatalogTemplates method")
            },
        }

        // use mockedCatalogTemplatesGetter in code that requires CatalogTemplatesGetter
        // and then make assertions.

    }

func (*CatalogTemplatesGetterMock) CatalogTemplates

func (mock *CatalogTemplatesGetterMock) CatalogTemplates(namespace string) v3.CatalogTemplateInterface

CatalogTemplates calls CatalogTemplatesFunc.

func (*CatalogTemplatesGetterMock) CatalogTemplatesCalls

func (mock *CatalogTemplatesGetterMock) CatalogTemplatesCalls() []struct {
	Namespace string
}

CatalogTemplatesCalls gets all the calls that were made to CatalogTemplates. Check the length with:

len(mockedCatalogTemplatesGetter.CatalogTemplatesCalls())

type CatalogsGetterMock

type CatalogsGetterMock struct {
	// CatalogsFunc mocks the Catalogs method.
	CatalogsFunc func(namespace string) v3.CatalogInterface
	// contains filtered or unexported fields
}

CatalogsGetterMock is a mock implementation of CatalogsGetter.

    func TestSomethingThatUsesCatalogsGetter(t *testing.T) {

        // make and configure a mocked CatalogsGetter
        mockedCatalogsGetter := &CatalogsGetterMock{
            CatalogsFunc: func(namespace string) v3.CatalogInterface {
	               panic("mock out the Catalogs method")
            },
        }

        // use mockedCatalogsGetter in code that requires CatalogsGetter
        // and then make assertions.

    }

func (*CatalogsGetterMock) Catalogs

func (mock *CatalogsGetterMock) Catalogs(namespace string) v3.CatalogInterface

Catalogs calls CatalogsFunc.

func (*CatalogsGetterMock) CatalogsCalls

func (mock *CatalogsGetterMock) CatalogsCalls() []struct {
	Namespace string
}

CatalogsCalls gets all the calls that were made to Catalogs. Check the length with:

len(mockedCatalogsGetter.CatalogsCalls())

type CisBenchmarkVersionControllerMock

type CisBenchmarkVersionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CisBenchmarkVersionHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

CisBenchmarkVersionControllerMock is a mock implementation of CisBenchmarkVersionController.

    func TestSomethingThatUsesCisBenchmarkVersionController(t *testing.T) {

        // make and configure a mocked CisBenchmarkVersionController
        mockedCisBenchmarkVersionController := &CisBenchmarkVersionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.CisBenchmarkVersionHandlerFunc)  {
	               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.CisBenchmarkVersionLister {
	               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 mockedCisBenchmarkVersionController in code that requires CisBenchmarkVersionController
        // and then make assertions.

    }

func (*CisBenchmarkVersionControllerMock) AddClusterScopedFeatureHandler

func (mock *CisBenchmarkVersionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CisBenchmarkVersionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CisBenchmarkVersionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *CisBenchmarkVersionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.CisBenchmarkVersionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCisBenchmarkVersionController.AddClusterScopedFeatureHandlerCalls())

func (*CisBenchmarkVersionControllerMock) AddClusterScopedHandler

func (mock *CisBenchmarkVersionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.CisBenchmarkVersionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CisBenchmarkVersionControllerMock) AddClusterScopedHandlerCalls

func (mock *CisBenchmarkVersionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.CisBenchmarkVersionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCisBenchmarkVersionController.AddClusterScopedHandlerCalls())

func (*CisBenchmarkVersionControllerMock) AddFeatureHandler

func (mock *CisBenchmarkVersionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CisBenchmarkVersionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CisBenchmarkVersionControllerMock) AddFeatureHandlerCalls

func (mock *CisBenchmarkVersionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CisBenchmarkVersionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCisBenchmarkVersionController.AddFeatureHandlerCalls())

func (*CisBenchmarkVersionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CisBenchmarkVersionControllerMock) AddHandlerCalls

func (mock *CisBenchmarkVersionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.CisBenchmarkVersionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCisBenchmarkVersionController.AddHandlerCalls())

func (*CisBenchmarkVersionControllerMock) Enqueue

func (mock *CisBenchmarkVersionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*CisBenchmarkVersionControllerMock) EnqueueAfter

func (mock *CisBenchmarkVersionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*CisBenchmarkVersionControllerMock) EnqueueAfterCalls

func (mock *CisBenchmarkVersionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedCisBenchmarkVersionController.EnqueueAfterCalls())

func (*CisBenchmarkVersionControllerMock) EnqueueCalls

func (mock *CisBenchmarkVersionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedCisBenchmarkVersionController.EnqueueCalls())

func (*CisBenchmarkVersionControllerMock) Generic

Generic calls GenericFunc.

func (*CisBenchmarkVersionControllerMock) GenericCalls

func (mock *CisBenchmarkVersionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedCisBenchmarkVersionController.GenericCalls())

func (*CisBenchmarkVersionControllerMock) Informer

Informer calls InformerFunc.

func (*CisBenchmarkVersionControllerMock) InformerCalls

func (mock *CisBenchmarkVersionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedCisBenchmarkVersionController.InformerCalls())

func (*CisBenchmarkVersionControllerMock) Lister

Lister calls ListerFunc.

func (*CisBenchmarkVersionControllerMock) ListerCalls

func (mock *CisBenchmarkVersionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedCisBenchmarkVersionController.ListerCalls())

func (*CisBenchmarkVersionControllerMock) Start

func (mock *CisBenchmarkVersionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*CisBenchmarkVersionControllerMock) StartCalls

func (mock *CisBenchmarkVersionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedCisBenchmarkVersionController.StartCalls())

func (*CisBenchmarkVersionControllerMock) Sync

Sync calls SyncFunc.

func (*CisBenchmarkVersionControllerMock) SyncCalls

func (mock *CisBenchmarkVersionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedCisBenchmarkVersionController.SyncCalls())

type CisBenchmarkVersionInterfaceMock

type CisBenchmarkVersionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CisBenchmarkVersionHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

CisBenchmarkVersionInterfaceMock is a mock implementation of CisBenchmarkVersionInterface.

    func TestSomethingThatUsesCisBenchmarkVersionInterface(t *testing.T) {

        // make and configure a mocked CisBenchmarkVersionInterface
        mockedCisBenchmarkVersionInterface := &CisBenchmarkVersionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CisBenchmarkVersionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CisBenchmarkVersionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CisBenchmarkVersionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CisBenchmarkVersionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CisBenchmarkVersionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CisBenchmarkVersionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.CisBenchmarkVersion) (*v3.CisBenchmarkVersion, 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.CisBenchmarkVersion, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.CisBenchmarkVersion, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CisBenchmarkVersionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CisBenchmarkVersionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.CisBenchmarkVersion) (*v3.CisBenchmarkVersion, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCisBenchmarkVersionInterface in code that requires CisBenchmarkVersionInterface
        // and then make assertions.

    }

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CisBenchmarkVersionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.CisBenchmarkVersionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddClusterScopedFeatureHandlerCalls())

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CisBenchmarkVersionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.CisBenchmarkVersionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedHandler

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.CisBenchmarkVersionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.CisBenchmarkVersionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddClusterScopedHandlerCalls())

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedLifecycle

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.CisBenchmarkVersionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CisBenchmarkVersionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.CisBenchmarkVersionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddClusterScopedLifecycleCalls())

func (*CisBenchmarkVersionInterfaceMock) AddFeatureHandler

func (mock *CisBenchmarkVersionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CisBenchmarkVersionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CisBenchmarkVersionInterfaceMock) AddFeatureHandlerCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CisBenchmarkVersionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddFeatureHandlerCalls())

func (*CisBenchmarkVersionInterfaceMock) AddFeatureLifecycle

func (mock *CisBenchmarkVersionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.CisBenchmarkVersionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CisBenchmarkVersionInterfaceMock) AddFeatureLifecycleCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.CisBenchmarkVersionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddFeatureLifecycleCalls())

func (*CisBenchmarkVersionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CisBenchmarkVersionInterfaceMock) AddHandlerCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.CisBenchmarkVersionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddHandlerCalls())

func (*CisBenchmarkVersionInterfaceMock) AddLifecycle

func (mock *CisBenchmarkVersionInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.CisBenchmarkVersionLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*CisBenchmarkVersionInterfaceMock) AddLifecycleCalls

func (mock *CisBenchmarkVersionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.CisBenchmarkVersionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedCisBenchmarkVersionInterface.AddLifecycleCalls())

func (*CisBenchmarkVersionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*CisBenchmarkVersionInterfaceMock) ControllerCalls

func (mock *CisBenchmarkVersionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedCisBenchmarkVersionInterface.ControllerCalls())

func (*CisBenchmarkVersionInterfaceMock) Create

Create calls CreateFunc.

func (*CisBenchmarkVersionInterfaceMock) CreateCalls

func (mock *CisBenchmarkVersionInterfaceMock) CreateCalls() []struct {
	In1 *v3.CisBenchmarkVersion
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedCisBenchmarkVersionInterface.CreateCalls())

func (*CisBenchmarkVersionInterfaceMock) Delete

func (mock *CisBenchmarkVersionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*CisBenchmarkVersionInterfaceMock) DeleteCalls

func (mock *CisBenchmarkVersionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedCisBenchmarkVersionInterface.DeleteCalls())

func (*CisBenchmarkVersionInterfaceMock) DeleteCollection

func (mock *CisBenchmarkVersionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*CisBenchmarkVersionInterfaceMock) DeleteCollectionCalls

func (mock *CisBenchmarkVersionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedCisBenchmarkVersionInterface.DeleteCollectionCalls())

func (*CisBenchmarkVersionInterfaceMock) DeleteNamespaced

func (mock *CisBenchmarkVersionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CisBenchmarkVersionInterfaceMock) DeleteNamespacedCalls

func (mock *CisBenchmarkVersionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedCisBenchmarkVersionInterface.DeleteNamespacedCalls())

func (*CisBenchmarkVersionInterfaceMock) Get

Get calls GetFunc.

func (*CisBenchmarkVersionInterfaceMock) GetCalls

func (mock *CisBenchmarkVersionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCisBenchmarkVersionInterface.GetCalls())

func (*CisBenchmarkVersionInterfaceMock) GetNamespaced

func (mock *CisBenchmarkVersionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.CisBenchmarkVersion, error)

GetNamespaced calls GetNamespacedFunc.

func (*CisBenchmarkVersionInterfaceMock) GetNamespacedCalls

func (mock *CisBenchmarkVersionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedCisBenchmarkVersionInterface.GetNamespacedCalls())

func (*CisBenchmarkVersionInterfaceMock) List

List calls ListFunc.

func (*CisBenchmarkVersionInterfaceMock) ListCalls

func (mock *CisBenchmarkVersionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCisBenchmarkVersionInterface.ListCalls())

func (*CisBenchmarkVersionInterfaceMock) ListNamespaced

func (mock *CisBenchmarkVersionInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.CisBenchmarkVersionList, error)

ListNamespaced calls ListNamespacedFunc.

func (*CisBenchmarkVersionInterfaceMock) ListNamespacedCalls

func (mock *CisBenchmarkVersionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedCisBenchmarkVersionInterface.ListNamespacedCalls())

func (*CisBenchmarkVersionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*CisBenchmarkVersionInterfaceMock) ObjectClientCalls

func (mock *CisBenchmarkVersionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedCisBenchmarkVersionInterface.ObjectClientCalls())

func (*CisBenchmarkVersionInterfaceMock) Update

Update calls UpdateFunc.

func (*CisBenchmarkVersionInterfaceMock) UpdateCalls

func (mock *CisBenchmarkVersionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.CisBenchmarkVersion
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedCisBenchmarkVersionInterface.UpdateCalls())

func (*CisBenchmarkVersionInterfaceMock) Watch

Watch calls WatchFunc.

func (*CisBenchmarkVersionInterfaceMock) WatchCalls

func (mock *CisBenchmarkVersionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedCisBenchmarkVersionInterface.WatchCalls())

type CisBenchmarkVersionListerMock

type CisBenchmarkVersionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.CisBenchmarkVersion, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.CisBenchmarkVersion, error)
	// contains filtered or unexported fields
}

CisBenchmarkVersionListerMock is a mock implementation of CisBenchmarkVersionLister.

    func TestSomethingThatUsesCisBenchmarkVersionLister(t *testing.T) {

        // make and configure a mocked CisBenchmarkVersionLister
        mockedCisBenchmarkVersionLister := &CisBenchmarkVersionListerMock{
            GetFunc: func(namespace string, name string) (*v3.CisBenchmarkVersion, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.CisBenchmarkVersion, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedCisBenchmarkVersionLister in code that requires CisBenchmarkVersionLister
        // and then make assertions.

    }

func (*CisBenchmarkVersionListerMock) Get

func (mock *CisBenchmarkVersionListerMock) Get(namespace string, name string) (*v3.CisBenchmarkVersion, error)

Get calls GetFunc.

func (*CisBenchmarkVersionListerMock) GetCalls

func (mock *CisBenchmarkVersionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCisBenchmarkVersionLister.GetCalls())

func (*CisBenchmarkVersionListerMock) List

func (mock *CisBenchmarkVersionListerMock) List(namespace string, selector labels.Selector) ([]*v3.CisBenchmarkVersion, error)

List calls ListFunc.

func (*CisBenchmarkVersionListerMock) ListCalls

func (mock *CisBenchmarkVersionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCisBenchmarkVersionLister.ListCalls())

type CisBenchmarkVersionsGetterMock

type CisBenchmarkVersionsGetterMock struct {
	// CisBenchmarkVersionsFunc mocks the CisBenchmarkVersions method.
	CisBenchmarkVersionsFunc func(namespace string) v3.CisBenchmarkVersionInterface
	// contains filtered or unexported fields
}

CisBenchmarkVersionsGetterMock is a mock implementation of CisBenchmarkVersionsGetter.

    func TestSomethingThatUsesCisBenchmarkVersionsGetter(t *testing.T) {

        // make and configure a mocked CisBenchmarkVersionsGetter
        mockedCisBenchmarkVersionsGetter := &CisBenchmarkVersionsGetterMock{
            CisBenchmarkVersionsFunc: func(namespace string) v3.CisBenchmarkVersionInterface {
	               panic("mock out the CisBenchmarkVersions method")
            },
        }

        // use mockedCisBenchmarkVersionsGetter in code that requires CisBenchmarkVersionsGetter
        // and then make assertions.

    }

func (*CisBenchmarkVersionsGetterMock) CisBenchmarkVersions

func (mock *CisBenchmarkVersionsGetterMock) CisBenchmarkVersions(namespace string) v3.CisBenchmarkVersionInterface

CisBenchmarkVersions calls CisBenchmarkVersionsFunc.

func (*CisBenchmarkVersionsGetterMock) CisBenchmarkVersionsCalls

func (mock *CisBenchmarkVersionsGetterMock) CisBenchmarkVersionsCalls() []struct {
	Namespace string
}

CisBenchmarkVersionsCalls gets all the calls that were made to CisBenchmarkVersions. Check the length with:

len(mockedCisBenchmarkVersionsGetter.CisBenchmarkVersionsCalls())

type CisConfigControllerMock

type CisConfigControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CisConfigHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

CisConfigControllerMock is a mock implementation of CisConfigController.

    func TestSomethingThatUsesCisConfigController(t *testing.T) {

        // make and configure a mocked CisConfigController
        mockedCisConfigController := &CisConfigControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.CisConfigHandlerFunc)  {
	               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.CisConfigLister {
	               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 mockedCisConfigController in code that requires CisConfigController
        // and then make assertions.

    }

func (*CisConfigControllerMock) AddClusterScopedFeatureHandler

func (mock *CisConfigControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CisConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CisConfigControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *CisConfigControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.CisConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCisConfigController.AddClusterScopedFeatureHandlerCalls())

func (*CisConfigControllerMock) AddClusterScopedHandler

func (mock *CisConfigControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.CisConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CisConfigControllerMock) AddClusterScopedHandlerCalls

func (mock *CisConfigControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.CisConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCisConfigController.AddClusterScopedHandlerCalls())

func (*CisConfigControllerMock) AddFeatureHandler

func (mock *CisConfigControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CisConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CisConfigControllerMock) AddFeatureHandlerCalls

func (mock *CisConfigControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CisConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCisConfigController.AddFeatureHandlerCalls())

func (*CisConfigControllerMock) AddHandler

func (mock *CisConfigControllerMock) AddHandler(ctx context.Context, name string, handler v3.CisConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*CisConfigControllerMock) AddHandlerCalls

func (mock *CisConfigControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.CisConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCisConfigController.AddHandlerCalls())

func (*CisConfigControllerMock) Enqueue

func (mock *CisConfigControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*CisConfigControllerMock) EnqueueAfter

func (mock *CisConfigControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*CisConfigControllerMock) EnqueueAfterCalls

func (mock *CisConfigControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedCisConfigController.EnqueueAfterCalls())

func (*CisConfigControllerMock) EnqueueCalls

func (mock *CisConfigControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedCisConfigController.EnqueueCalls())

func (*CisConfigControllerMock) Generic

Generic calls GenericFunc.

func (*CisConfigControllerMock) GenericCalls

func (mock *CisConfigControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedCisConfigController.GenericCalls())

func (*CisConfigControllerMock) Informer

Informer calls InformerFunc.

func (*CisConfigControllerMock) InformerCalls

func (mock *CisConfigControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedCisConfigController.InformerCalls())

func (*CisConfigControllerMock) Lister

Lister calls ListerFunc.

func (*CisConfigControllerMock) ListerCalls

func (mock *CisConfigControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedCisConfigController.ListerCalls())

func (*CisConfigControllerMock) Start

func (mock *CisConfigControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*CisConfigControllerMock) StartCalls

func (mock *CisConfigControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedCisConfigController.StartCalls())

func (*CisConfigControllerMock) Sync

func (mock *CisConfigControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*CisConfigControllerMock) SyncCalls

func (mock *CisConfigControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedCisConfigController.SyncCalls())

type CisConfigInterfaceMock

type CisConfigInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CisConfigHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

CisConfigInterfaceMock is a mock implementation of CisConfigInterface.

    func TestSomethingThatUsesCisConfigInterface(t *testing.T) {

        // make and configure a mocked CisConfigInterface
        mockedCisConfigInterface := &CisConfigInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CisConfigLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CisConfigLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CisConfigLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CisConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CisConfigLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CisConfigController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.CisConfig) (*v3.CisConfig, 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.CisConfig, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.CisConfig, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CisConfigList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CisConfigList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.CisConfig) (*v3.CisConfig, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCisConfigInterface in code that requires CisConfigInterface
        // and then make assertions.

    }

func (*CisConfigInterfaceMock) AddClusterScopedFeatureHandler

func (mock *CisConfigInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CisConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CisConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *CisConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.CisConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCisConfigInterface.AddClusterScopedFeatureHandlerCalls())

func (*CisConfigInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *CisConfigInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CisConfigLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CisConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *CisConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.CisConfigLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedCisConfigInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CisConfigInterfaceMock) AddClusterScopedHandler

func (mock *CisConfigInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.CisConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CisConfigInterfaceMock) AddClusterScopedHandlerCalls

func (mock *CisConfigInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.CisConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCisConfigInterface.AddClusterScopedHandlerCalls())

func (*CisConfigInterfaceMock) AddClusterScopedLifecycle

func (mock *CisConfigInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.CisConfigLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CisConfigInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *CisConfigInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.CisConfigLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedCisConfigInterface.AddClusterScopedLifecycleCalls())

func (*CisConfigInterfaceMock) AddFeatureHandler

func (mock *CisConfigInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CisConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CisConfigInterfaceMock) AddFeatureHandlerCalls

func (mock *CisConfigInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CisConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCisConfigInterface.AddFeatureHandlerCalls())

func (*CisConfigInterfaceMock) AddFeatureLifecycle

func (mock *CisConfigInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.CisConfigLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CisConfigInterfaceMock) AddFeatureLifecycleCalls

func (mock *CisConfigInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.CisConfigLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedCisConfigInterface.AddFeatureLifecycleCalls())

func (*CisConfigInterfaceMock) AddHandler

func (mock *CisConfigInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.CisConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*CisConfigInterfaceMock) AddHandlerCalls

func (mock *CisConfigInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.CisConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCisConfigInterface.AddHandlerCalls())

func (*CisConfigInterfaceMock) AddLifecycle

func (mock *CisConfigInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.CisConfigLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*CisConfigInterfaceMock) AddLifecycleCalls

func (mock *CisConfigInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.CisConfigLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedCisConfigInterface.AddLifecycleCalls())

func (*CisConfigInterfaceMock) Controller

func (mock *CisConfigInterfaceMock) Controller() v3.CisConfigController

Controller calls ControllerFunc.

func (*CisConfigInterfaceMock) ControllerCalls

func (mock *CisConfigInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedCisConfigInterface.ControllerCalls())

func (*CisConfigInterfaceMock) Create

func (mock *CisConfigInterfaceMock) Create(in1 *v3.CisConfig) (*v3.CisConfig, error)

Create calls CreateFunc.

func (*CisConfigInterfaceMock) CreateCalls

func (mock *CisConfigInterfaceMock) CreateCalls() []struct {
	In1 *v3.CisConfig
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedCisConfigInterface.CreateCalls())

func (*CisConfigInterfaceMock) Delete

func (mock *CisConfigInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*CisConfigInterfaceMock) DeleteCalls

func (mock *CisConfigInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedCisConfigInterface.DeleteCalls())

func (*CisConfigInterfaceMock) DeleteCollection

func (mock *CisConfigInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*CisConfigInterfaceMock) DeleteCollectionCalls

func (mock *CisConfigInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedCisConfigInterface.DeleteCollectionCalls())

func (*CisConfigInterfaceMock) DeleteNamespaced

func (mock *CisConfigInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CisConfigInterfaceMock) DeleteNamespacedCalls

func (mock *CisConfigInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedCisConfigInterface.DeleteNamespacedCalls())

func (*CisConfigInterfaceMock) Get

func (mock *CisConfigInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.CisConfig, error)

Get calls GetFunc.

func (*CisConfigInterfaceMock) GetCalls

func (mock *CisConfigInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCisConfigInterface.GetCalls())

func (*CisConfigInterfaceMock) GetNamespaced

func (mock *CisConfigInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.CisConfig, error)

GetNamespaced calls GetNamespacedFunc.

func (*CisConfigInterfaceMock) GetNamespacedCalls

func (mock *CisConfigInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedCisConfigInterface.GetNamespacedCalls())

func (*CisConfigInterfaceMock) List

List calls ListFunc.

func (*CisConfigInterfaceMock) ListCalls

func (mock *CisConfigInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCisConfigInterface.ListCalls())

func (*CisConfigInterfaceMock) ListNamespaced

func (mock *CisConfigInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.CisConfigList, error)

ListNamespaced calls ListNamespacedFunc.

func (*CisConfigInterfaceMock) ListNamespacedCalls

func (mock *CisConfigInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedCisConfigInterface.ListNamespacedCalls())

func (*CisConfigInterfaceMock) ObjectClient

func (mock *CisConfigInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*CisConfigInterfaceMock) ObjectClientCalls

func (mock *CisConfigInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedCisConfigInterface.ObjectClientCalls())

func (*CisConfigInterfaceMock) Update

func (mock *CisConfigInterfaceMock) Update(in1 *v3.CisConfig) (*v3.CisConfig, error)

Update calls UpdateFunc.

func (*CisConfigInterfaceMock) UpdateCalls

func (mock *CisConfigInterfaceMock) UpdateCalls() []struct {
	In1 *v3.CisConfig
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedCisConfigInterface.UpdateCalls())

func (*CisConfigInterfaceMock) Watch

Watch calls WatchFunc.

func (*CisConfigInterfaceMock) WatchCalls

func (mock *CisConfigInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedCisConfigInterface.WatchCalls())

type CisConfigListerMock

type CisConfigListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.CisConfig, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.CisConfig, error)
	// contains filtered or unexported fields
}

CisConfigListerMock is a mock implementation of CisConfigLister.

    func TestSomethingThatUsesCisConfigLister(t *testing.T) {

        // make and configure a mocked CisConfigLister
        mockedCisConfigLister := &CisConfigListerMock{
            GetFunc: func(namespace string, name string) (*v3.CisConfig, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.CisConfig, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedCisConfigLister in code that requires CisConfigLister
        // and then make assertions.

    }

func (*CisConfigListerMock) Get

func (mock *CisConfigListerMock) Get(namespace string, name string) (*v3.CisConfig, error)

Get calls GetFunc.

func (*CisConfigListerMock) GetCalls

func (mock *CisConfigListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCisConfigLister.GetCalls())

func (*CisConfigListerMock) List

func (mock *CisConfigListerMock) List(namespace string, selector labels.Selector) ([]*v3.CisConfig, error)

List calls ListFunc.

func (*CisConfigListerMock) ListCalls

func (mock *CisConfigListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCisConfigLister.ListCalls())

type CisConfigsGetterMock

type CisConfigsGetterMock struct {
	// CisConfigsFunc mocks the CisConfigs method.
	CisConfigsFunc func(namespace string) v3.CisConfigInterface
	// contains filtered or unexported fields
}

CisConfigsGetterMock is a mock implementation of CisConfigsGetter.

    func TestSomethingThatUsesCisConfigsGetter(t *testing.T) {

        // make and configure a mocked CisConfigsGetter
        mockedCisConfigsGetter := &CisConfigsGetterMock{
            CisConfigsFunc: func(namespace string) v3.CisConfigInterface {
	               panic("mock out the CisConfigs method")
            },
        }

        // use mockedCisConfigsGetter in code that requires CisConfigsGetter
        // and then make assertions.

    }

func (*CisConfigsGetterMock) CisConfigs

func (mock *CisConfigsGetterMock) CisConfigs(namespace string) v3.CisConfigInterface

CisConfigs calls CisConfigsFunc.

func (*CisConfigsGetterMock) CisConfigsCalls

func (mock *CisConfigsGetterMock) CisConfigsCalls() []struct {
	Namespace string
}

CisConfigsCalls gets all the calls that were made to CisConfigs. Check the length with:

len(mockedCisConfigsGetter.CisConfigsCalls())

type CloudCredentialControllerMock

type CloudCredentialControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CloudCredentialHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

CloudCredentialControllerMock is a mock implementation of CloudCredentialController.

    func TestSomethingThatUsesCloudCredentialController(t *testing.T) {

        // make and configure a mocked CloudCredentialController
        mockedCloudCredentialController := &CloudCredentialControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.CloudCredentialHandlerFunc)  {
	               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.CloudCredentialLister {
	               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 mockedCloudCredentialController in code that requires CloudCredentialController
        // and then make assertions.

    }

func (*CloudCredentialControllerMock) AddClusterScopedFeatureHandler

func (mock *CloudCredentialControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.CloudCredentialHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CloudCredentialControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *CloudCredentialControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.CloudCredentialHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCloudCredentialController.AddClusterScopedFeatureHandlerCalls())

func (*CloudCredentialControllerMock) AddClusterScopedHandler

func (mock *CloudCredentialControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.CloudCredentialHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CloudCredentialControllerMock) AddClusterScopedHandlerCalls

func (mock *CloudCredentialControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.CloudCredentialHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCloudCredentialController.AddClusterScopedHandlerCalls())

func (*CloudCredentialControllerMock) AddFeatureHandler

func (mock *CloudCredentialControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CloudCredentialHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CloudCredentialControllerMock) AddFeatureHandlerCalls

func (mock *CloudCredentialControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CloudCredentialHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCloudCredentialController.AddFeatureHandlerCalls())

func (*CloudCredentialControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CloudCredentialControllerMock) AddHandlerCalls

func (mock *CloudCredentialControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.CloudCredentialHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCloudCredentialController.AddHandlerCalls())

func (*CloudCredentialControllerMock) Enqueue

func (mock *CloudCredentialControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*CloudCredentialControllerMock) EnqueueAfter

func (mock *CloudCredentialControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*CloudCredentialControllerMock) EnqueueAfterCalls

func (mock *CloudCredentialControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedCloudCredentialController.EnqueueAfterCalls())

func (*CloudCredentialControllerMock) EnqueueCalls

func (mock *CloudCredentialControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedCloudCredentialController.EnqueueCalls())

func (*CloudCredentialControllerMock) Generic

Generic calls GenericFunc.

func (*CloudCredentialControllerMock) GenericCalls

func (mock *CloudCredentialControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedCloudCredentialController.GenericCalls())

func (*CloudCredentialControllerMock) Informer

Informer calls InformerFunc.

func (*CloudCredentialControllerMock) InformerCalls

func (mock *CloudCredentialControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedCloudCredentialController.InformerCalls())

func (*CloudCredentialControllerMock) Lister

Lister calls ListerFunc.

func (*CloudCredentialControllerMock) ListerCalls

func (mock *CloudCredentialControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedCloudCredentialController.ListerCalls())

func (*CloudCredentialControllerMock) Start

func (mock *CloudCredentialControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*CloudCredentialControllerMock) StartCalls

func (mock *CloudCredentialControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedCloudCredentialController.StartCalls())

func (*CloudCredentialControllerMock) Sync

Sync calls SyncFunc.

func (*CloudCredentialControllerMock) SyncCalls

func (mock *CloudCredentialControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedCloudCredentialController.SyncCalls())

type CloudCredentialInterfaceMock

type CloudCredentialInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CloudCredentialHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

CloudCredentialInterfaceMock is a mock implementation of CloudCredentialInterface.

    func TestSomethingThatUsesCloudCredentialInterface(t *testing.T) {

        // make and configure a mocked CloudCredentialInterface
        mockedCloudCredentialInterface := &CloudCredentialInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CloudCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CloudCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CloudCredentialLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CloudCredentialLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CloudCredentialController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.CloudCredential) (*v3.CloudCredential, 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.CloudCredential, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.CloudCredential, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CloudCredentialList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CloudCredentialList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.CloudCredential) (*v3.CloudCredential, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCloudCredentialInterface in code that requires CloudCredentialInterface
        // and then make assertions.

    }

func (*CloudCredentialInterfaceMock) AddClusterScopedFeatureHandler

func (mock *CloudCredentialInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CloudCredentialHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CloudCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *CloudCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.CloudCredentialHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedCloudCredentialInterface.AddClusterScopedFeatureHandlerCalls())

func (*CloudCredentialInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *CloudCredentialInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CloudCredentialLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CloudCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *CloudCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.CloudCredentialLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedCloudCredentialInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CloudCredentialInterfaceMock) AddClusterScopedHandler

func (mock *CloudCredentialInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.CloudCredentialHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CloudCredentialInterfaceMock) AddClusterScopedHandlerCalls

func (mock *CloudCredentialInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.CloudCredentialHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedCloudCredentialInterface.AddClusterScopedHandlerCalls())

func (*CloudCredentialInterfaceMock) AddClusterScopedLifecycle

func (mock *CloudCredentialInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.CloudCredentialLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CloudCredentialInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *CloudCredentialInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.CloudCredentialLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedCloudCredentialInterface.AddClusterScopedLifecycleCalls())

func (*CloudCredentialInterfaceMock) AddFeatureHandler

func (mock *CloudCredentialInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.CloudCredentialHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CloudCredentialInterfaceMock) AddFeatureHandlerCalls

func (mock *CloudCredentialInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.CloudCredentialHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedCloudCredentialInterface.AddFeatureHandlerCalls())

func (*CloudCredentialInterfaceMock) AddFeatureLifecycle

func (mock *CloudCredentialInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.CloudCredentialLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CloudCredentialInterfaceMock) AddFeatureLifecycleCalls

func (mock *CloudCredentialInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.CloudCredentialLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedCloudCredentialInterface.AddFeatureLifecycleCalls())

func (*CloudCredentialInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*CloudCredentialInterfaceMock) AddHandlerCalls

func (mock *CloudCredentialInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.CloudCredentialHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedCloudCredentialInterface.AddHandlerCalls())

func (*CloudCredentialInterfaceMock) AddLifecycle

func (mock *CloudCredentialInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.CloudCredentialLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*CloudCredentialInterfaceMock) AddLifecycleCalls

func (mock *CloudCredentialInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.CloudCredentialLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedCloudCredentialInterface.AddLifecycleCalls())

func (*CloudCredentialInterfaceMock) Controller

Controller calls ControllerFunc.

func (*CloudCredentialInterfaceMock) ControllerCalls

func (mock *CloudCredentialInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedCloudCredentialInterface.ControllerCalls())

func (*CloudCredentialInterfaceMock) Create

Create calls CreateFunc.

func (*CloudCredentialInterfaceMock) CreateCalls

func (mock *CloudCredentialInterfaceMock) CreateCalls() []struct {
	In1 *v3.CloudCredential
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedCloudCredentialInterface.CreateCalls())

func (*CloudCredentialInterfaceMock) Delete

func (mock *CloudCredentialInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*CloudCredentialInterfaceMock) DeleteCalls

func (mock *CloudCredentialInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedCloudCredentialInterface.DeleteCalls())

func (*CloudCredentialInterfaceMock) DeleteCollection

func (mock *CloudCredentialInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*CloudCredentialInterfaceMock) DeleteCollectionCalls

func (mock *CloudCredentialInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedCloudCredentialInterface.DeleteCollectionCalls())

func (*CloudCredentialInterfaceMock) DeleteNamespaced

func (mock *CloudCredentialInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CloudCredentialInterfaceMock) DeleteNamespacedCalls

func (mock *CloudCredentialInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedCloudCredentialInterface.DeleteNamespacedCalls())

func (*CloudCredentialInterfaceMock) Get

Get calls GetFunc.

func (*CloudCredentialInterfaceMock) GetCalls

func (mock *CloudCredentialInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCloudCredentialInterface.GetCalls())

func (*CloudCredentialInterfaceMock) GetNamespaced

func (mock *CloudCredentialInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.CloudCredential, error)

GetNamespaced calls GetNamespacedFunc.

func (*CloudCredentialInterfaceMock) GetNamespacedCalls

func (mock *CloudCredentialInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedCloudCredentialInterface.GetNamespacedCalls())

func (*CloudCredentialInterfaceMock) List

List calls ListFunc.

func (*CloudCredentialInterfaceMock) ListCalls

func (mock *CloudCredentialInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCloudCredentialInterface.ListCalls())

func (*CloudCredentialInterfaceMock) ListNamespaced

func (mock *CloudCredentialInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.CloudCredentialList, error)

ListNamespaced calls ListNamespacedFunc.

func (*CloudCredentialInterfaceMock) ListNamespacedCalls

func (mock *CloudCredentialInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedCloudCredentialInterface.ListNamespacedCalls())

func (*CloudCredentialInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*CloudCredentialInterfaceMock) ObjectClientCalls

func (mock *CloudCredentialInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedCloudCredentialInterface.ObjectClientCalls())

func (*CloudCredentialInterfaceMock) Update

Update calls UpdateFunc.

func (*CloudCredentialInterfaceMock) UpdateCalls

func (mock *CloudCredentialInterfaceMock) UpdateCalls() []struct {
	In1 *v3.CloudCredential
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedCloudCredentialInterface.UpdateCalls())

func (*CloudCredentialInterfaceMock) Watch

Watch calls WatchFunc.

func (*CloudCredentialInterfaceMock) WatchCalls

func (mock *CloudCredentialInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedCloudCredentialInterface.WatchCalls())

type CloudCredentialListerMock

type CloudCredentialListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.CloudCredential, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.CloudCredential, error)
	// contains filtered or unexported fields
}

CloudCredentialListerMock is a mock implementation of CloudCredentialLister.

    func TestSomethingThatUsesCloudCredentialLister(t *testing.T) {

        // make and configure a mocked CloudCredentialLister
        mockedCloudCredentialLister := &CloudCredentialListerMock{
            GetFunc: func(namespace string, name string) (*v3.CloudCredential, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.CloudCredential, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedCloudCredentialLister in code that requires CloudCredentialLister
        // and then make assertions.

    }

func (*CloudCredentialListerMock) Get

func (mock *CloudCredentialListerMock) Get(namespace string, name string) (*v3.CloudCredential, error)

Get calls GetFunc.

func (*CloudCredentialListerMock) GetCalls

func (mock *CloudCredentialListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedCloudCredentialLister.GetCalls())

func (*CloudCredentialListerMock) List

func (mock *CloudCredentialListerMock) List(namespace string, selector labels.Selector) ([]*v3.CloudCredential, error)

List calls ListFunc.

func (*CloudCredentialListerMock) ListCalls

func (mock *CloudCredentialListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedCloudCredentialLister.ListCalls())

type CloudCredentialsGetterMock

type CloudCredentialsGetterMock struct {
	// CloudCredentialsFunc mocks the CloudCredentials method.
	CloudCredentialsFunc func(namespace string) v3.CloudCredentialInterface
	// contains filtered or unexported fields
}

CloudCredentialsGetterMock is a mock implementation of CloudCredentialsGetter.

    func TestSomethingThatUsesCloudCredentialsGetter(t *testing.T) {

        // make and configure a mocked CloudCredentialsGetter
        mockedCloudCredentialsGetter := &CloudCredentialsGetterMock{
            CloudCredentialsFunc: func(namespace string) v3.CloudCredentialInterface {
	               panic("mock out the CloudCredentials method")
            },
        }

        // use mockedCloudCredentialsGetter in code that requires CloudCredentialsGetter
        // and then make assertions.

    }

func (*CloudCredentialsGetterMock) CloudCredentials

func (mock *CloudCredentialsGetterMock) CloudCredentials(namespace string) v3.CloudCredentialInterface

CloudCredentials calls CloudCredentialsFunc.

func (*CloudCredentialsGetterMock) CloudCredentialsCalls

func (mock *CloudCredentialsGetterMock) CloudCredentialsCalls() []struct {
	Namespace string
}

CloudCredentialsCalls gets all the calls that were made to CloudCredentials. Check the length with:

len(mockedCloudCredentialsGetter.CloudCredentialsCalls())

type ClusterAlertControllerMock

type ClusterAlertControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterAlertControllerMock is a mock implementation of ClusterAlertController.

    func TestSomethingThatUsesClusterAlertController(t *testing.T) {

        // make and configure a mocked ClusterAlertController
        mockedClusterAlertController := &ClusterAlertControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterAlertHandlerFunc)  {
	               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.ClusterAlertLister {
	               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 mockedClusterAlertController in code that requires ClusterAlertController
        // and then make assertions.

    }

func (*ClusterAlertControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterAlertControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterAlertControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterAlertControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterAlertHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterAlertController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterAlertControllerMock) AddClusterScopedHandler

func (mock *ClusterAlertControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterAlertControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterAlertControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterAlertHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterAlertController.AddClusterScopedHandlerCalls())

func (*ClusterAlertControllerMock) AddFeatureHandler

func (mock *ClusterAlertControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterAlertControllerMock) AddFeatureHandlerCalls

func (mock *ClusterAlertControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterAlertHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterAlertController.AddFeatureHandlerCalls())

func (*ClusterAlertControllerMock) AddHandler

func (mock *ClusterAlertControllerMock) AddHandler(ctx context.Context, name string, handler v3.ClusterAlertHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterAlertControllerMock) AddHandlerCalls

func (mock *ClusterAlertControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterAlertHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterAlertController.AddHandlerCalls())

func (*ClusterAlertControllerMock) Enqueue

func (mock *ClusterAlertControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterAlertControllerMock) EnqueueAfter

func (mock *ClusterAlertControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterAlertControllerMock) EnqueueAfterCalls

func (mock *ClusterAlertControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterAlertController.EnqueueAfterCalls())

func (*ClusterAlertControllerMock) EnqueueCalls

func (mock *ClusterAlertControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterAlertController.EnqueueCalls())

func (*ClusterAlertControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterAlertControllerMock) GenericCalls

func (mock *ClusterAlertControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterAlertController.GenericCalls())

func (*ClusterAlertControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterAlertControllerMock) InformerCalls

func (mock *ClusterAlertControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterAlertController.InformerCalls())

func (*ClusterAlertControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterAlertControllerMock) ListerCalls

func (mock *ClusterAlertControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterAlertController.ListerCalls())

func (*ClusterAlertControllerMock) Start

func (mock *ClusterAlertControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterAlertControllerMock) StartCalls

func (mock *ClusterAlertControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterAlertController.StartCalls())

func (*ClusterAlertControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterAlertControllerMock) SyncCalls

func (mock *ClusterAlertControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterAlertController.SyncCalls())

type ClusterAlertGroupControllerMock

type ClusterAlertGroupControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertGroupHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterAlertGroupControllerMock is a mock implementation of ClusterAlertGroupController.

    func TestSomethingThatUsesClusterAlertGroupController(t *testing.T) {

        // make and configure a mocked ClusterAlertGroupController
        mockedClusterAlertGroupController := &ClusterAlertGroupControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterAlertGroupHandlerFunc)  {
	               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.ClusterAlertGroupLister {
	               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 mockedClusterAlertGroupController in code that requires ClusterAlertGroupController
        // and then make assertions.

    }

func (*ClusterAlertGroupControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterAlertGroupControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertGroupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterAlertGroupControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterAlertGroupControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterAlertGroupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterAlertGroupController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterAlertGroupControllerMock) AddClusterScopedHandler

func (mock *ClusterAlertGroupControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertGroupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterAlertGroupControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterAlertGroupControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterAlertGroupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterAlertGroupController.AddClusterScopedHandlerCalls())

func (*ClusterAlertGroupControllerMock) AddFeatureHandler

func (mock *ClusterAlertGroupControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertGroupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterAlertGroupControllerMock) AddFeatureHandlerCalls

func (mock *ClusterAlertGroupControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterAlertGroupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterAlertGroupController.AddFeatureHandlerCalls())

func (*ClusterAlertGroupControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterAlertGroupControllerMock) AddHandlerCalls

func (mock *ClusterAlertGroupControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterAlertGroupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterAlertGroupController.AddHandlerCalls())

func (*ClusterAlertGroupControllerMock) Enqueue

func (mock *ClusterAlertGroupControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterAlertGroupControllerMock) EnqueueAfter

func (mock *ClusterAlertGroupControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterAlertGroupControllerMock) EnqueueAfterCalls

func (mock *ClusterAlertGroupControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterAlertGroupController.EnqueueAfterCalls())

func (*ClusterAlertGroupControllerMock) EnqueueCalls

func (mock *ClusterAlertGroupControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterAlertGroupController.EnqueueCalls())

func (*ClusterAlertGroupControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterAlertGroupControllerMock) GenericCalls

func (mock *ClusterAlertGroupControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterAlertGroupController.GenericCalls())

func (*ClusterAlertGroupControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterAlertGroupControllerMock) InformerCalls

func (mock *ClusterAlertGroupControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterAlertGroupController.InformerCalls())

func (*ClusterAlertGroupControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterAlertGroupControllerMock) ListerCalls

func (mock *ClusterAlertGroupControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterAlertGroupController.ListerCalls())

func (*ClusterAlertGroupControllerMock) Start

func (mock *ClusterAlertGroupControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterAlertGroupControllerMock) StartCalls

func (mock *ClusterAlertGroupControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterAlertGroupController.StartCalls())

func (*ClusterAlertGroupControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterAlertGroupControllerMock) SyncCalls

func (mock *ClusterAlertGroupControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterAlertGroupController.SyncCalls())

type ClusterAlertGroupInterfaceMock

type ClusterAlertGroupInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertGroupHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterAlertGroupInterfaceMock is a mock implementation of ClusterAlertGroupInterface.

    func TestSomethingThatUsesClusterAlertGroupInterface(t *testing.T) {

        // make and configure a mocked ClusterAlertGroupInterface
        mockedClusterAlertGroupInterface := &ClusterAlertGroupInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterAlertGroupLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterAlertGroupLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterAlertGroupLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterAlertGroupLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterAlertGroupController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterAlertGroup) (*v3.ClusterAlertGroup, 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.ClusterAlertGroup, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterAlertGroup, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterAlertGroupList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterAlertGroupList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterAlertGroup) (*v3.ClusterAlertGroup, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterAlertGroupInterface in code that requires ClusterAlertGroupInterface
        // and then make assertions.

    }

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertGroupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterAlertGroupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterAlertGroupInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterAlertGroupLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterAlertGroupLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterAlertGroupInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedHandler

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterAlertGroupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterAlertGroupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterAlertGroupInterface.AddClusterScopedHandlerCalls())

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterAlertGroupLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterAlertGroupInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterAlertGroupInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterAlertGroupLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterAlertGroupInterface.AddClusterScopedLifecycleCalls())

func (*ClusterAlertGroupInterfaceMock) AddFeatureHandler

func (mock *ClusterAlertGroupInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertGroupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterAlertGroupInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterAlertGroupInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterAlertGroupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterAlertGroupInterface.AddFeatureHandlerCalls())

func (*ClusterAlertGroupInterfaceMock) AddFeatureLifecycle

func (mock *ClusterAlertGroupInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterAlertGroupLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterAlertGroupInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterAlertGroupInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterAlertGroupLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterAlertGroupInterface.AddFeatureLifecycleCalls())

func (*ClusterAlertGroupInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterAlertGroupInterfaceMock) AddHandlerCalls

func (mock *ClusterAlertGroupInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterAlertGroupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterAlertGroupInterface.AddHandlerCalls())

func (*ClusterAlertGroupInterfaceMock) AddLifecycle

func (mock *ClusterAlertGroupInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterAlertGroupLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterAlertGroupInterfaceMock) AddLifecycleCalls

func (mock *ClusterAlertGroupInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterAlertGroupLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterAlertGroupInterface.AddLifecycleCalls())

func (*ClusterAlertGroupInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterAlertGroupInterfaceMock) ControllerCalls

func (mock *ClusterAlertGroupInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterAlertGroupInterface.ControllerCalls())

func (*ClusterAlertGroupInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterAlertGroupInterfaceMock) CreateCalls

func (mock *ClusterAlertGroupInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterAlertGroup
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterAlertGroupInterface.CreateCalls())

func (*ClusterAlertGroupInterfaceMock) Delete

func (mock *ClusterAlertGroupInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterAlertGroupInterfaceMock) DeleteCalls

func (mock *ClusterAlertGroupInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterAlertGroupInterface.DeleteCalls())

func (*ClusterAlertGroupInterfaceMock) DeleteCollection

func (mock *ClusterAlertGroupInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterAlertGroupInterfaceMock) DeleteCollectionCalls

func (mock *ClusterAlertGroupInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterAlertGroupInterface.DeleteCollectionCalls())

func (*ClusterAlertGroupInterfaceMock) DeleteNamespaced

func (mock *ClusterAlertGroupInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterAlertGroupInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterAlertGroupInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterAlertGroupInterface.DeleteNamespacedCalls())

func (*ClusterAlertGroupInterfaceMock) Get

Get calls GetFunc.

func (*ClusterAlertGroupInterfaceMock) GetCalls

func (mock *ClusterAlertGroupInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterAlertGroupInterface.GetCalls())

func (*ClusterAlertGroupInterfaceMock) GetNamespaced

func (mock *ClusterAlertGroupInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterAlertGroup, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterAlertGroupInterfaceMock) GetNamespacedCalls

func (mock *ClusterAlertGroupInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterAlertGroupInterface.GetNamespacedCalls())

func (*ClusterAlertGroupInterfaceMock) List

List calls ListFunc.

func (*ClusterAlertGroupInterfaceMock) ListCalls

func (mock *ClusterAlertGroupInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterAlertGroupInterface.ListCalls())

func (*ClusterAlertGroupInterfaceMock) ListNamespaced

func (mock *ClusterAlertGroupInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterAlertGroupList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterAlertGroupInterfaceMock) ListNamespacedCalls

func (mock *ClusterAlertGroupInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterAlertGroupInterface.ListNamespacedCalls())

func (*ClusterAlertGroupInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterAlertGroupInterfaceMock) ObjectClientCalls

func (mock *ClusterAlertGroupInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterAlertGroupInterface.ObjectClientCalls())

func (*ClusterAlertGroupInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterAlertGroupInterfaceMock) UpdateCalls

func (mock *ClusterAlertGroupInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterAlertGroup
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterAlertGroupInterface.UpdateCalls())

func (*ClusterAlertGroupInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterAlertGroupInterfaceMock) WatchCalls

func (mock *ClusterAlertGroupInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterAlertGroupInterface.WatchCalls())

type ClusterAlertGroupListerMock

type ClusterAlertGroupListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterAlertGroup, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterAlertGroup, error)
	// contains filtered or unexported fields
}

ClusterAlertGroupListerMock is a mock implementation of ClusterAlertGroupLister.

    func TestSomethingThatUsesClusterAlertGroupLister(t *testing.T) {

        // make and configure a mocked ClusterAlertGroupLister
        mockedClusterAlertGroupLister := &ClusterAlertGroupListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterAlertGroup, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterAlertGroup, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterAlertGroupLister in code that requires ClusterAlertGroupLister
        // and then make assertions.

    }

func (*ClusterAlertGroupListerMock) Get

func (mock *ClusterAlertGroupListerMock) Get(namespace string, name string) (*v3.ClusterAlertGroup, error)

Get calls GetFunc.

func (*ClusterAlertGroupListerMock) GetCalls

func (mock *ClusterAlertGroupListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterAlertGroupLister.GetCalls())

func (*ClusterAlertGroupListerMock) List

func (mock *ClusterAlertGroupListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterAlertGroup, error)

List calls ListFunc.

func (*ClusterAlertGroupListerMock) ListCalls

func (mock *ClusterAlertGroupListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterAlertGroupLister.ListCalls())

type ClusterAlertGroupsGetterMock

type ClusterAlertGroupsGetterMock struct {
	// ClusterAlertGroupsFunc mocks the ClusterAlertGroups method.
	ClusterAlertGroupsFunc func(namespace string) v3.ClusterAlertGroupInterface
	// contains filtered or unexported fields
}

ClusterAlertGroupsGetterMock is a mock implementation of ClusterAlertGroupsGetter.

    func TestSomethingThatUsesClusterAlertGroupsGetter(t *testing.T) {

        // make and configure a mocked ClusterAlertGroupsGetter
        mockedClusterAlertGroupsGetter := &ClusterAlertGroupsGetterMock{
            ClusterAlertGroupsFunc: func(namespace string) v3.ClusterAlertGroupInterface {
	               panic("mock out the ClusterAlertGroups method")
            },
        }

        // use mockedClusterAlertGroupsGetter in code that requires ClusterAlertGroupsGetter
        // and then make assertions.

    }

func (*ClusterAlertGroupsGetterMock) ClusterAlertGroups

func (mock *ClusterAlertGroupsGetterMock) ClusterAlertGroups(namespace string) v3.ClusterAlertGroupInterface

ClusterAlertGroups calls ClusterAlertGroupsFunc.

func (*ClusterAlertGroupsGetterMock) ClusterAlertGroupsCalls

func (mock *ClusterAlertGroupsGetterMock) ClusterAlertGroupsCalls() []struct {
	Namespace string
}

ClusterAlertGroupsCalls gets all the calls that were made to ClusterAlertGroups. Check the length with:

len(mockedClusterAlertGroupsGetter.ClusterAlertGroupsCalls())

type ClusterAlertInterfaceMock

type ClusterAlertInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterAlertInterfaceMock is a mock implementation of ClusterAlertInterface.

    func TestSomethingThatUsesClusterAlertInterface(t *testing.T) {

        // make and configure a mocked ClusterAlertInterface
        mockedClusterAlertInterface := &ClusterAlertInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterAlertLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterAlertLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterAlertLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterAlertLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterAlertController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterAlert) (*v3.ClusterAlert, 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.ClusterAlert, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterAlert, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterAlertList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterAlertList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterAlert) (*v3.ClusterAlert, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterAlertInterface in code that requires ClusterAlertInterface
        // and then make assertions.

    }

func (*ClusterAlertInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterAlertInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterAlertInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterAlertInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterAlertHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterAlertInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterAlertInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterAlertInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterAlertLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterAlertInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterAlertInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterAlertLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterAlertInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterAlertInterfaceMock) AddClusterScopedHandler

func (mock *ClusterAlertInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterAlertHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterAlertInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterAlertInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterAlertHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterAlertInterface.AddClusterScopedHandlerCalls())

func (*ClusterAlertInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterAlertInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterAlertLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterAlertInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterAlertInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterAlertLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterAlertInterface.AddClusterScopedLifecycleCalls())

func (*ClusterAlertInterfaceMock) AddFeatureHandler

func (mock *ClusterAlertInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterAlertInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterAlertInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterAlertHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterAlertInterface.AddFeatureHandlerCalls())

func (*ClusterAlertInterfaceMock) AddFeatureLifecycle

func (mock *ClusterAlertInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterAlertLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterAlertInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterAlertInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterAlertLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterAlertInterface.AddFeatureLifecycleCalls())

func (*ClusterAlertInterfaceMock) AddHandler

func (mock *ClusterAlertInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ClusterAlertHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterAlertInterfaceMock) AddHandlerCalls

func (mock *ClusterAlertInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterAlertHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterAlertInterface.AddHandlerCalls())

func (*ClusterAlertInterfaceMock) AddLifecycle

func (mock *ClusterAlertInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterAlertLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterAlertInterfaceMock) AddLifecycleCalls

func (mock *ClusterAlertInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterAlertLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterAlertInterface.AddLifecycleCalls())

func (*ClusterAlertInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterAlertInterfaceMock) ControllerCalls

func (mock *ClusterAlertInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterAlertInterface.ControllerCalls())

func (*ClusterAlertInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterAlertInterfaceMock) CreateCalls

func (mock *ClusterAlertInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterAlert
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterAlertInterface.CreateCalls())

func (*ClusterAlertInterfaceMock) Delete

func (mock *ClusterAlertInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterAlertInterfaceMock) DeleteCalls

func (mock *ClusterAlertInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterAlertInterface.DeleteCalls())

func (*ClusterAlertInterfaceMock) DeleteCollection

func (mock *ClusterAlertInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterAlertInterfaceMock) DeleteCollectionCalls

func (mock *ClusterAlertInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterAlertInterface.DeleteCollectionCalls())

func (*ClusterAlertInterfaceMock) DeleteNamespaced

func (mock *ClusterAlertInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterAlertInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterAlertInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterAlertInterface.DeleteNamespacedCalls())

func (*ClusterAlertInterfaceMock) Get

Get calls GetFunc.

func (*ClusterAlertInterfaceMock) GetCalls

func (mock *ClusterAlertInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterAlertInterface.GetCalls())

func (*ClusterAlertInterfaceMock) GetNamespaced

func (mock *ClusterAlertInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterAlert, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterAlertInterfaceMock) GetNamespacedCalls

func (mock *ClusterAlertInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterAlertInterface.GetNamespacedCalls())

func (*ClusterAlertInterfaceMock) List

List calls ListFunc.

func (*ClusterAlertInterfaceMock) ListCalls

func (mock *ClusterAlertInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterAlertInterface.ListCalls())

func (*ClusterAlertInterfaceMock) ListNamespaced

func (mock *ClusterAlertInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterAlertList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterAlertInterfaceMock) ListNamespacedCalls

func (mock *ClusterAlertInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterAlertInterface.ListNamespacedCalls())

func (*ClusterAlertInterfaceMock) ObjectClient

func (mock *ClusterAlertInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterAlertInterfaceMock) ObjectClientCalls

func (mock *ClusterAlertInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterAlertInterface.ObjectClientCalls())

func (*ClusterAlertInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterAlertInterfaceMock) UpdateCalls

func (mock *ClusterAlertInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterAlert
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterAlertInterface.UpdateCalls())

func (*ClusterAlertInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterAlertInterfaceMock) WatchCalls

func (mock *ClusterAlertInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterAlertInterface.WatchCalls())

type ClusterAlertListerMock

type ClusterAlertListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterAlert, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterAlert, error)
	// contains filtered or unexported fields
}

ClusterAlertListerMock is a mock implementation of ClusterAlertLister.

    func TestSomethingThatUsesClusterAlertLister(t *testing.T) {

        // make and configure a mocked ClusterAlertLister
        mockedClusterAlertLister := &ClusterAlertListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterAlert, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterAlert, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterAlertLister in code that requires ClusterAlertLister
        // and then make assertions.

    }

func (*ClusterAlertListerMock) Get

func (mock *ClusterAlertListerMock) Get(namespace string, name string) (*v3.ClusterAlert, error)

Get calls GetFunc.

func (*ClusterAlertListerMock) GetCalls

func (mock *ClusterAlertListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterAlertLister.GetCalls())

func (*ClusterAlertListerMock) List

func (mock *ClusterAlertListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterAlert, error)

List calls ListFunc.

func (*ClusterAlertListerMock) ListCalls

func (mock *ClusterAlertListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterAlertLister.ListCalls())

type ClusterAlertRuleControllerMock

type ClusterAlertRuleControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertRuleHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterAlertRuleControllerMock is a mock implementation of ClusterAlertRuleController.

    func TestSomethingThatUsesClusterAlertRuleController(t *testing.T) {

        // make and configure a mocked ClusterAlertRuleController
        mockedClusterAlertRuleController := &ClusterAlertRuleControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterAlertRuleHandlerFunc)  {
	               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.ClusterAlertRuleLister {
	               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 mockedClusterAlertRuleController in code that requires ClusterAlertRuleController
        // and then make assertions.

    }

func (*ClusterAlertRuleControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterAlertRuleControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterAlertRuleHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterAlertRuleControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterAlertRuleControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterAlertRuleHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterAlertRuleController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterAlertRuleControllerMock) AddClusterScopedHandler

func (mock *ClusterAlertRuleControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertRuleHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterAlertRuleControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterAlertRuleControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterAlertRuleHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterAlertRuleController.AddClusterScopedHandlerCalls())

func (*ClusterAlertRuleControllerMock) AddFeatureHandler

func (mock *ClusterAlertRuleControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertRuleHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterAlertRuleControllerMock) AddFeatureHandlerCalls

func (mock *ClusterAlertRuleControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterAlertRuleHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterAlertRuleController.AddFeatureHandlerCalls())

func (*ClusterAlertRuleControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterAlertRuleControllerMock) AddHandlerCalls

func (mock *ClusterAlertRuleControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterAlertRuleHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterAlertRuleController.AddHandlerCalls())

func (*ClusterAlertRuleControllerMock) Enqueue

func (mock *ClusterAlertRuleControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterAlertRuleControllerMock) EnqueueAfter

func (mock *ClusterAlertRuleControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterAlertRuleControllerMock) EnqueueAfterCalls

func (mock *ClusterAlertRuleControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterAlertRuleController.EnqueueAfterCalls())

func (*ClusterAlertRuleControllerMock) EnqueueCalls

func (mock *ClusterAlertRuleControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterAlertRuleController.EnqueueCalls())

func (*ClusterAlertRuleControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterAlertRuleControllerMock) GenericCalls

func (mock *ClusterAlertRuleControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterAlertRuleController.GenericCalls())

func (*ClusterAlertRuleControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterAlertRuleControllerMock) InformerCalls

func (mock *ClusterAlertRuleControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterAlertRuleController.InformerCalls())

func (*ClusterAlertRuleControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterAlertRuleControllerMock) ListerCalls

func (mock *ClusterAlertRuleControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterAlertRuleController.ListerCalls())

func (*ClusterAlertRuleControllerMock) Start

func (mock *ClusterAlertRuleControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterAlertRuleControllerMock) StartCalls

func (mock *ClusterAlertRuleControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterAlertRuleController.StartCalls())

func (*ClusterAlertRuleControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterAlertRuleControllerMock) SyncCalls

func (mock *ClusterAlertRuleControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterAlertRuleController.SyncCalls())

type ClusterAlertRuleInterfaceMock

type ClusterAlertRuleInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertRuleHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterAlertRuleInterfaceMock is a mock implementation of ClusterAlertRuleInterface.

    func TestSomethingThatUsesClusterAlertRuleInterface(t *testing.T) {

        // make and configure a mocked ClusterAlertRuleInterface
        mockedClusterAlertRuleInterface := &ClusterAlertRuleInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterAlertRuleLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterAlertRuleLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterAlertRuleLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterAlertRuleLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterAlertRuleController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterAlertRule) (*v3.ClusterAlertRule, 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.ClusterAlertRule, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterAlertRule, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterAlertRuleList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterAlertRuleList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterAlertRule) (*v3.ClusterAlertRule, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterAlertRuleInterface in code that requires ClusterAlertRuleInterface
        // and then make assertions.

    }

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterAlertRuleHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterAlertRuleHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterAlertRuleInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterAlertRuleLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterAlertRuleLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterAlertRuleInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedHandler

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterAlertRuleHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterAlertRuleHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterAlertRuleInterface.AddClusterScopedHandlerCalls())

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterAlertRuleLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterAlertRuleInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterAlertRuleInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterAlertRuleLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterAlertRuleInterface.AddClusterScopedLifecycleCalls())

func (*ClusterAlertRuleInterfaceMock) AddFeatureHandler

func (mock *ClusterAlertRuleInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterAlertRuleHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterAlertRuleInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterAlertRuleInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterAlertRuleHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterAlertRuleInterface.AddFeatureHandlerCalls())

func (*ClusterAlertRuleInterfaceMock) AddFeatureLifecycle

func (mock *ClusterAlertRuleInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterAlertRuleLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterAlertRuleInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterAlertRuleInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterAlertRuleLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterAlertRuleInterface.AddFeatureLifecycleCalls())

func (*ClusterAlertRuleInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterAlertRuleInterfaceMock) AddHandlerCalls

func (mock *ClusterAlertRuleInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterAlertRuleHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterAlertRuleInterface.AddHandlerCalls())

func (*ClusterAlertRuleInterfaceMock) AddLifecycle

func (mock *ClusterAlertRuleInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterAlertRuleLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterAlertRuleInterfaceMock) AddLifecycleCalls

func (mock *ClusterAlertRuleInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterAlertRuleLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterAlertRuleInterface.AddLifecycleCalls())

func (*ClusterAlertRuleInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterAlertRuleInterfaceMock) ControllerCalls

func (mock *ClusterAlertRuleInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterAlertRuleInterface.ControllerCalls())

func (*ClusterAlertRuleInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterAlertRuleInterfaceMock) CreateCalls

func (mock *ClusterAlertRuleInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterAlertRule
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterAlertRuleInterface.CreateCalls())

func (*ClusterAlertRuleInterfaceMock) Delete

func (mock *ClusterAlertRuleInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterAlertRuleInterfaceMock) DeleteCalls

func (mock *ClusterAlertRuleInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterAlertRuleInterface.DeleteCalls())

func (*ClusterAlertRuleInterfaceMock) DeleteCollection

func (mock *ClusterAlertRuleInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterAlertRuleInterfaceMock) DeleteCollectionCalls

func (mock *ClusterAlertRuleInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterAlertRuleInterface.DeleteCollectionCalls())

func (*ClusterAlertRuleInterfaceMock) DeleteNamespaced

func (mock *ClusterAlertRuleInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterAlertRuleInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterAlertRuleInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterAlertRuleInterface.DeleteNamespacedCalls())

func (*ClusterAlertRuleInterfaceMock) Get

Get calls GetFunc.

func (*ClusterAlertRuleInterfaceMock) GetCalls

func (mock *ClusterAlertRuleInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterAlertRuleInterface.GetCalls())

func (*ClusterAlertRuleInterfaceMock) GetNamespaced

func (mock *ClusterAlertRuleInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterAlertRule, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterAlertRuleInterfaceMock) GetNamespacedCalls

func (mock *ClusterAlertRuleInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterAlertRuleInterface.GetNamespacedCalls())

func (*ClusterAlertRuleInterfaceMock) List

List calls ListFunc.

func (*ClusterAlertRuleInterfaceMock) ListCalls

func (mock *ClusterAlertRuleInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterAlertRuleInterface.ListCalls())

func (*ClusterAlertRuleInterfaceMock) ListNamespaced

func (mock *ClusterAlertRuleInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterAlertRuleList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterAlertRuleInterfaceMock) ListNamespacedCalls

func (mock *ClusterAlertRuleInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterAlertRuleInterface.ListNamespacedCalls())

func (*ClusterAlertRuleInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterAlertRuleInterfaceMock) ObjectClientCalls

func (mock *ClusterAlertRuleInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterAlertRuleInterface.ObjectClientCalls())

func (*ClusterAlertRuleInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterAlertRuleInterfaceMock) UpdateCalls

func (mock *ClusterAlertRuleInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterAlertRule
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterAlertRuleInterface.UpdateCalls())

func (*ClusterAlertRuleInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterAlertRuleInterfaceMock) WatchCalls

func (mock *ClusterAlertRuleInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterAlertRuleInterface.WatchCalls())

type ClusterAlertRuleListerMock

type ClusterAlertRuleListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterAlertRule, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterAlertRule, error)
	// contains filtered or unexported fields
}

ClusterAlertRuleListerMock is a mock implementation of ClusterAlertRuleLister.

    func TestSomethingThatUsesClusterAlertRuleLister(t *testing.T) {

        // make and configure a mocked ClusterAlertRuleLister
        mockedClusterAlertRuleLister := &ClusterAlertRuleListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterAlertRule, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterAlertRule, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterAlertRuleLister in code that requires ClusterAlertRuleLister
        // and then make assertions.

    }

func (*ClusterAlertRuleListerMock) Get

func (mock *ClusterAlertRuleListerMock) Get(namespace string, name string) (*v3.ClusterAlertRule, error)

Get calls GetFunc.

func (*ClusterAlertRuleListerMock) GetCalls

func (mock *ClusterAlertRuleListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterAlertRuleLister.GetCalls())

func (*ClusterAlertRuleListerMock) List

func (mock *ClusterAlertRuleListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterAlertRule, error)

List calls ListFunc.

func (*ClusterAlertRuleListerMock) ListCalls

func (mock *ClusterAlertRuleListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterAlertRuleLister.ListCalls())

type ClusterAlertRulesGetterMock

type ClusterAlertRulesGetterMock struct {
	// ClusterAlertRulesFunc mocks the ClusterAlertRules method.
	ClusterAlertRulesFunc func(namespace string) v3.ClusterAlertRuleInterface
	// contains filtered or unexported fields
}

ClusterAlertRulesGetterMock is a mock implementation of ClusterAlertRulesGetter.

    func TestSomethingThatUsesClusterAlertRulesGetter(t *testing.T) {

        // make and configure a mocked ClusterAlertRulesGetter
        mockedClusterAlertRulesGetter := &ClusterAlertRulesGetterMock{
            ClusterAlertRulesFunc: func(namespace string) v3.ClusterAlertRuleInterface {
	               panic("mock out the ClusterAlertRules method")
            },
        }

        // use mockedClusterAlertRulesGetter in code that requires ClusterAlertRulesGetter
        // and then make assertions.

    }

func (*ClusterAlertRulesGetterMock) ClusterAlertRules

func (mock *ClusterAlertRulesGetterMock) ClusterAlertRules(namespace string) v3.ClusterAlertRuleInterface

ClusterAlertRules calls ClusterAlertRulesFunc.

func (*ClusterAlertRulesGetterMock) ClusterAlertRulesCalls

func (mock *ClusterAlertRulesGetterMock) ClusterAlertRulesCalls() []struct {
	Namespace string
}

ClusterAlertRulesCalls gets all the calls that were made to ClusterAlertRules. Check the length with:

len(mockedClusterAlertRulesGetter.ClusterAlertRulesCalls())

type ClusterAlertsGetterMock

type ClusterAlertsGetterMock struct {
	// ClusterAlertsFunc mocks the ClusterAlerts method.
	ClusterAlertsFunc func(namespace string) v3.ClusterAlertInterface
	// contains filtered or unexported fields
}

ClusterAlertsGetterMock is a mock implementation of ClusterAlertsGetter.

    func TestSomethingThatUsesClusterAlertsGetter(t *testing.T) {

        // make and configure a mocked ClusterAlertsGetter
        mockedClusterAlertsGetter := &ClusterAlertsGetterMock{
            ClusterAlertsFunc: func(namespace string) v3.ClusterAlertInterface {
	               panic("mock out the ClusterAlerts method")
            },
        }

        // use mockedClusterAlertsGetter in code that requires ClusterAlertsGetter
        // and then make assertions.

    }

func (*ClusterAlertsGetterMock) ClusterAlerts

func (mock *ClusterAlertsGetterMock) ClusterAlerts(namespace string) v3.ClusterAlertInterface

ClusterAlerts calls ClusterAlertsFunc.

func (*ClusterAlertsGetterMock) ClusterAlertsCalls

func (mock *ClusterAlertsGetterMock) ClusterAlertsCalls() []struct {
	Namespace string
}

ClusterAlertsCalls gets all the calls that were made to ClusterAlerts. Check the length with:

len(mockedClusterAlertsGetter.ClusterAlertsCalls())

type ClusterCatalogControllerMock

type ClusterCatalogControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterCatalogHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterCatalogControllerMock is a mock implementation of ClusterCatalogController.

    func TestSomethingThatUsesClusterCatalogController(t *testing.T) {

        // make and configure a mocked ClusterCatalogController
        mockedClusterCatalogController := &ClusterCatalogControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterCatalogHandlerFunc)  {
	               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.ClusterCatalogLister {
	               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 mockedClusterCatalogController in code that requires ClusterCatalogController
        // and then make assertions.

    }

func (*ClusterCatalogControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterCatalogControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterCatalogHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterCatalogControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterCatalogControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterCatalogHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterCatalogController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterCatalogControllerMock) AddClusterScopedHandler

func (mock *ClusterCatalogControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterCatalogHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterCatalogControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterCatalogControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterCatalogHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterCatalogController.AddClusterScopedHandlerCalls())

func (*ClusterCatalogControllerMock) AddFeatureHandler

func (mock *ClusterCatalogControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterCatalogHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterCatalogControllerMock) AddFeatureHandlerCalls

func (mock *ClusterCatalogControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterCatalogHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterCatalogController.AddFeatureHandlerCalls())

func (*ClusterCatalogControllerMock) AddHandler

func (mock *ClusterCatalogControllerMock) AddHandler(ctx context.Context, name string, handler v3.ClusterCatalogHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterCatalogControllerMock) AddHandlerCalls

func (mock *ClusterCatalogControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterCatalogHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterCatalogController.AddHandlerCalls())

func (*ClusterCatalogControllerMock) Enqueue

func (mock *ClusterCatalogControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterCatalogControllerMock) EnqueueAfter

func (mock *ClusterCatalogControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterCatalogControllerMock) EnqueueAfterCalls

func (mock *ClusterCatalogControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterCatalogController.EnqueueAfterCalls())

func (*ClusterCatalogControllerMock) EnqueueCalls

func (mock *ClusterCatalogControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterCatalogController.EnqueueCalls())

func (*ClusterCatalogControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterCatalogControllerMock) GenericCalls

func (mock *ClusterCatalogControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterCatalogController.GenericCalls())

func (*ClusterCatalogControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterCatalogControllerMock) InformerCalls

func (mock *ClusterCatalogControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterCatalogController.InformerCalls())

func (*ClusterCatalogControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterCatalogControllerMock) ListerCalls

func (mock *ClusterCatalogControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterCatalogController.ListerCalls())

func (*ClusterCatalogControllerMock) Start

func (mock *ClusterCatalogControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterCatalogControllerMock) StartCalls

func (mock *ClusterCatalogControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterCatalogController.StartCalls())

func (*ClusterCatalogControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterCatalogControllerMock) SyncCalls

func (mock *ClusterCatalogControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterCatalogController.SyncCalls())

type ClusterCatalogInterfaceMock

type ClusterCatalogInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterCatalogHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterCatalogInterfaceMock is a mock implementation of ClusterCatalogInterface.

    func TestSomethingThatUsesClusterCatalogInterface(t *testing.T) {

        // make and configure a mocked ClusterCatalogInterface
        mockedClusterCatalogInterface := &ClusterCatalogInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterCatalogLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterCatalogLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterCatalogLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterCatalogLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterCatalogController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterCatalog) (*v3.ClusterCatalog, 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.ClusterCatalog, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterCatalog, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterCatalogList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterCatalogList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterCatalog) (*v3.ClusterCatalog, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterCatalogInterface in code that requires ClusterCatalogInterface
        // and then make assertions.

    }

func (*ClusterCatalogInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterCatalogHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterCatalogInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterCatalogHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterCatalogInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterCatalogInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterCatalogLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterCatalogInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterCatalogLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterCatalogInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterCatalogInterfaceMock) AddClusterScopedHandler

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterCatalogHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterCatalogInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterCatalogHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterCatalogInterface.AddClusterScopedHandlerCalls())

func (*ClusterCatalogInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterCatalogLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterCatalogInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterCatalogInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterCatalogLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterCatalogInterface.AddClusterScopedLifecycleCalls())

func (*ClusterCatalogInterfaceMock) AddFeatureHandler

func (mock *ClusterCatalogInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterCatalogHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterCatalogInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterCatalogInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterCatalogHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterCatalogInterface.AddFeatureHandlerCalls())

func (*ClusterCatalogInterfaceMock) AddFeatureLifecycle

func (mock *ClusterCatalogInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterCatalogLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterCatalogInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterCatalogInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterCatalogLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterCatalogInterface.AddFeatureLifecycleCalls())

func (*ClusterCatalogInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterCatalogInterfaceMock) AddHandlerCalls

func (mock *ClusterCatalogInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterCatalogHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterCatalogInterface.AddHandlerCalls())

func (*ClusterCatalogInterfaceMock) AddLifecycle

func (mock *ClusterCatalogInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterCatalogLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterCatalogInterfaceMock) AddLifecycleCalls

func (mock *ClusterCatalogInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterCatalogLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterCatalogInterface.AddLifecycleCalls())

func (*ClusterCatalogInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterCatalogInterfaceMock) ControllerCalls

func (mock *ClusterCatalogInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterCatalogInterface.ControllerCalls())

func (*ClusterCatalogInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterCatalogInterfaceMock) CreateCalls

func (mock *ClusterCatalogInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterCatalog
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterCatalogInterface.CreateCalls())

func (*ClusterCatalogInterfaceMock) Delete

func (mock *ClusterCatalogInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterCatalogInterfaceMock) DeleteCalls

func (mock *ClusterCatalogInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterCatalogInterface.DeleteCalls())

func (*ClusterCatalogInterfaceMock) DeleteCollection

func (mock *ClusterCatalogInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterCatalogInterfaceMock) DeleteCollectionCalls

func (mock *ClusterCatalogInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterCatalogInterface.DeleteCollectionCalls())

func (*ClusterCatalogInterfaceMock) DeleteNamespaced

func (mock *ClusterCatalogInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterCatalogInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterCatalogInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterCatalogInterface.DeleteNamespacedCalls())

func (*ClusterCatalogInterfaceMock) Get

Get calls GetFunc.

func (*ClusterCatalogInterfaceMock) GetCalls

func (mock *ClusterCatalogInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterCatalogInterface.GetCalls())

func (*ClusterCatalogInterfaceMock) GetNamespaced

func (mock *ClusterCatalogInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterCatalog, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterCatalogInterfaceMock) GetNamespacedCalls

func (mock *ClusterCatalogInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterCatalogInterface.GetNamespacedCalls())

func (*ClusterCatalogInterfaceMock) List

List calls ListFunc.

func (*ClusterCatalogInterfaceMock) ListCalls

func (mock *ClusterCatalogInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterCatalogInterface.ListCalls())

func (*ClusterCatalogInterfaceMock) ListNamespaced

func (mock *ClusterCatalogInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterCatalogList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterCatalogInterfaceMock) ListNamespacedCalls

func (mock *ClusterCatalogInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterCatalogInterface.ListNamespacedCalls())

func (*ClusterCatalogInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterCatalogInterfaceMock) ObjectClientCalls

func (mock *ClusterCatalogInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterCatalogInterface.ObjectClientCalls())

func (*ClusterCatalogInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterCatalogInterfaceMock) UpdateCalls

func (mock *ClusterCatalogInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterCatalog
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterCatalogInterface.UpdateCalls())

func (*ClusterCatalogInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterCatalogInterfaceMock) WatchCalls

func (mock *ClusterCatalogInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterCatalogInterface.WatchCalls())

type ClusterCatalogListerMock

type ClusterCatalogListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterCatalog, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterCatalog, error)
	// contains filtered or unexported fields
}

ClusterCatalogListerMock is a mock implementation of ClusterCatalogLister.

    func TestSomethingThatUsesClusterCatalogLister(t *testing.T) {

        // make and configure a mocked ClusterCatalogLister
        mockedClusterCatalogLister := &ClusterCatalogListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterCatalog, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterCatalog, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterCatalogLister in code that requires ClusterCatalogLister
        // and then make assertions.

    }

func (*ClusterCatalogListerMock) Get

func (mock *ClusterCatalogListerMock) Get(namespace string, name string) (*v3.ClusterCatalog, error)

Get calls GetFunc.

func (*ClusterCatalogListerMock) GetCalls

func (mock *ClusterCatalogListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterCatalogLister.GetCalls())

func (*ClusterCatalogListerMock) List

func (mock *ClusterCatalogListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterCatalog, error)

List calls ListFunc.

func (*ClusterCatalogListerMock) ListCalls

func (mock *ClusterCatalogListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterCatalogLister.ListCalls())

type ClusterCatalogsGetterMock

type ClusterCatalogsGetterMock struct {
	// ClusterCatalogsFunc mocks the ClusterCatalogs method.
	ClusterCatalogsFunc func(namespace string) v3.ClusterCatalogInterface
	// contains filtered or unexported fields
}

ClusterCatalogsGetterMock is a mock implementation of ClusterCatalogsGetter.

    func TestSomethingThatUsesClusterCatalogsGetter(t *testing.T) {

        // make and configure a mocked ClusterCatalogsGetter
        mockedClusterCatalogsGetter := &ClusterCatalogsGetterMock{
            ClusterCatalogsFunc: func(namespace string) v3.ClusterCatalogInterface {
	               panic("mock out the ClusterCatalogs method")
            },
        }

        // use mockedClusterCatalogsGetter in code that requires ClusterCatalogsGetter
        // and then make assertions.

    }

func (*ClusterCatalogsGetterMock) ClusterCatalogs

func (mock *ClusterCatalogsGetterMock) ClusterCatalogs(namespace string) v3.ClusterCatalogInterface

ClusterCatalogs calls ClusterCatalogsFunc.

func (*ClusterCatalogsGetterMock) ClusterCatalogsCalls

func (mock *ClusterCatalogsGetterMock) ClusterCatalogsCalls() []struct {
	Namespace string
}

ClusterCatalogsCalls gets all the calls that were made to ClusterCatalogs. Check the length with:

len(mockedClusterCatalogsGetter.ClusterCatalogsCalls())

type ClusterControllerMock

type ClusterControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterControllerMock is a mock implementation of ClusterController.

    func TestSomethingThatUsesClusterController(t *testing.T) {

        // make and configure a mocked ClusterController
        mockedClusterController := &ClusterControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterHandlerFunc)  {
	               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.ClusterLister {
	               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 mockedClusterController in code that requires ClusterController
        // and then make assertions.

    }

func (*ClusterControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterControllerMock) AddClusterScopedHandler

func (mock *ClusterControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterController.AddClusterScopedHandlerCalls())

func (*ClusterControllerMock) AddFeatureHandler

func (mock *ClusterControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterControllerMock) AddFeatureHandlerCalls

func (mock *ClusterControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterController.AddFeatureHandlerCalls())

func (*ClusterControllerMock) AddHandler

func (mock *ClusterControllerMock) AddHandler(ctx context.Context, name string, handler v3.ClusterHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterControllerMock) AddHandlerCalls

func (mock *ClusterControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterController.AddHandlerCalls())

func (*ClusterControllerMock) Enqueue

func (mock *ClusterControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterControllerMock) EnqueueAfter

func (mock *ClusterControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterControllerMock) EnqueueAfterCalls

func (mock *ClusterControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterController.EnqueueAfterCalls())

func (*ClusterControllerMock) EnqueueCalls

func (mock *ClusterControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterController.EnqueueCalls())

func (*ClusterControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterControllerMock) GenericCalls

func (mock *ClusterControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterController.GenericCalls())

func (*ClusterControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterControllerMock) InformerCalls

func (mock *ClusterControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterController.InformerCalls())

func (*ClusterControllerMock) Lister

func (mock *ClusterControllerMock) Lister() v3.ClusterLister

Lister calls ListerFunc.

func (*ClusterControllerMock) ListerCalls

func (mock *ClusterControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterController.ListerCalls())

func (*ClusterControllerMock) Start

func (mock *ClusterControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterControllerMock) StartCalls

func (mock *ClusterControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterController.StartCalls())

func (*ClusterControllerMock) Sync

func (mock *ClusterControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*ClusterControllerMock) SyncCalls

func (mock *ClusterControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterController.SyncCalls())

type ClusterInterfaceMock

type ClusterInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterInterfaceMock is a mock implementation of ClusterInterface.

    func TestSomethingThatUsesClusterInterface(t *testing.T) {

        // make and configure a mocked ClusterInterface
        mockedClusterInterface := &ClusterInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Cluster) (*v3.Cluster, 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.Cluster, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Cluster, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Cluster) (*v3.Cluster, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterInterface in code that requires ClusterInterface
        // and then make assertions.

    }

func (*ClusterInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterInterfaceMock) AddClusterScopedHandler

func (mock *ClusterInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterInterface.AddClusterScopedHandlerCalls())

func (*ClusterInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterInterface.AddClusterScopedLifecycleCalls())

func (*ClusterInterfaceMock) AddFeatureHandler

func (mock *ClusterInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterInterface.AddFeatureHandlerCalls())

func (*ClusterInterfaceMock) AddFeatureLifecycle

func (mock *ClusterInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterInterface.AddFeatureLifecycleCalls())

func (*ClusterInterfaceMock) AddHandler

func (mock *ClusterInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ClusterHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterInterfaceMock) AddHandlerCalls

func (mock *ClusterInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterInterface.AddHandlerCalls())

func (*ClusterInterfaceMock) AddLifecycle

func (mock *ClusterInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterInterfaceMock) AddLifecycleCalls

func (mock *ClusterInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterInterface.AddLifecycleCalls())

func (*ClusterInterfaceMock) Controller

func (mock *ClusterInterfaceMock) Controller() v3.ClusterController

Controller calls ControllerFunc.

func (*ClusterInterfaceMock) ControllerCalls

func (mock *ClusterInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterInterface.ControllerCalls())

func (*ClusterInterfaceMock) Create

func (mock *ClusterInterfaceMock) Create(in1 *v3.Cluster) (*v3.Cluster, error)

Create calls CreateFunc.

func (*ClusterInterfaceMock) CreateCalls

func (mock *ClusterInterfaceMock) CreateCalls() []struct {
	In1 *v3.Cluster
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterInterface.CreateCalls())

func (*ClusterInterfaceMock) Delete

func (mock *ClusterInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterInterfaceMock) DeleteCalls

func (mock *ClusterInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterInterface.DeleteCalls())

func (*ClusterInterfaceMock) DeleteCollection

func (mock *ClusterInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterInterfaceMock) DeleteCollectionCalls

func (mock *ClusterInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterInterface.DeleteCollectionCalls())

func (*ClusterInterfaceMock) DeleteNamespaced

func (mock *ClusterInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterInterface.DeleteNamespacedCalls())

func (*ClusterInterfaceMock) Get

func (mock *ClusterInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Cluster, error)

Get calls GetFunc.

func (*ClusterInterfaceMock) GetCalls

func (mock *ClusterInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterInterface.GetCalls())

func (*ClusterInterfaceMock) GetNamespaced

func (mock *ClusterInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Cluster, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterInterfaceMock) GetNamespacedCalls

func (mock *ClusterInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterInterface.GetNamespacedCalls())

func (*ClusterInterfaceMock) List

func (mock *ClusterInterfaceMock) List(opts v1.ListOptions) (*v3.ClusterList, error)

List calls ListFunc.

func (*ClusterInterfaceMock) ListCalls

func (mock *ClusterInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterInterface.ListCalls())

func (*ClusterInterfaceMock) ListNamespaced

func (mock *ClusterInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterInterfaceMock) ListNamespacedCalls

func (mock *ClusterInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterInterface.ListNamespacedCalls())

func (*ClusterInterfaceMock) ObjectClient

func (mock *ClusterInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterInterfaceMock) ObjectClientCalls

func (mock *ClusterInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterInterface.ObjectClientCalls())

func (*ClusterInterfaceMock) Update

func (mock *ClusterInterfaceMock) Update(in1 *v3.Cluster) (*v3.Cluster, error)

Update calls UpdateFunc.

func (*ClusterInterfaceMock) UpdateCalls

func (mock *ClusterInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Cluster
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterInterface.UpdateCalls())

func (*ClusterInterfaceMock) Watch

func (mock *ClusterInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*ClusterInterfaceMock) WatchCalls

func (mock *ClusterInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterInterface.WatchCalls())

type ClusterListerMock

type ClusterListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Cluster, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Cluster, error)
	// contains filtered or unexported fields
}

ClusterListerMock is a mock implementation of ClusterLister.

    func TestSomethingThatUsesClusterLister(t *testing.T) {

        // make and configure a mocked ClusterLister
        mockedClusterLister := &ClusterListerMock{
            GetFunc: func(namespace string, name string) (*v3.Cluster, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Cluster, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterLister in code that requires ClusterLister
        // and then make assertions.

    }

func (*ClusterListerMock) Get

func (mock *ClusterListerMock) Get(namespace string, name string) (*v3.Cluster, error)

Get calls GetFunc.

func (*ClusterListerMock) GetCalls

func (mock *ClusterListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterLister.GetCalls())

func (*ClusterListerMock) List

func (mock *ClusterListerMock) List(namespace string, selector labels.Selector) ([]*v3.Cluster, error)

List calls ListFunc.

func (*ClusterListerMock) ListCalls

func (mock *ClusterListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterLister.ListCalls())

type ClusterLoggingControllerMock

type ClusterLoggingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterLoggingHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterLoggingControllerMock is a mock implementation of ClusterLoggingController.

    func TestSomethingThatUsesClusterLoggingController(t *testing.T) {

        // make and configure a mocked ClusterLoggingController
        mockedClusterLoggingController := &ClusterLoggingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterLoggingHandlerFunc)  {
	               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.ClusterLoggingLister {
	               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 mockedClusterLoggingController in code that requires ClusterLoggingController
        // and then make assertions.

    }

func (*ClusterLoggingControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterLoggingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterLoggingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterLoggingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterLoggingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterLoggingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterLoggingController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterLoggingControllerMock) AddClusterScopedHandler

func (mock *ClusterLoggingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterLoggingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterLoggingControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterLoggingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterLoggingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterLoggingController.AddClusterScopedHandlerCalls())

func (*ClusterLoggingControllerMock) AddFeatureHandler

func (mock *ClusterLoggingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterLoggingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterLoggingControllerMock) AddFeatureHandlerCalls

func (mock *ClusterLoggingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterLoggingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterLoggingController.AddFeatureHandlerCalls())

func (*ClusterLoggingControllerMock) AddHandler

func (mock *ClusterLoggingControllerMock) AddHandler(ctx context.Context, name string, handler v3.ClusterLoggingHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterLoggingControllerMock) AddHandlerCalls

func (mock *ClusterLoggingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterLoggingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterLoggingController.AddHandlerCalls())

func (*ClusterLoggingControllerMock) Enqueue

func (mock *ClusterLoggingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterLoggingControllerMock) EnqueueAfter

func (mock *ClusterLoggingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterLoggingControllerMock) EnqueueAfterCalls

func (mock *ClusterLoggingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterLoggingController.EnqueueAfterCalls())

func (*ClusterLoggingControllerMock) EnqueueCalls

func (mock *ClusterLoggingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterLoggingController.EnqueueCalls())

func (*ClusterLoggingControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterLoggingControllerMock) GenericCalls

func (mock *ClusterLoggingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterLoggingController.GenericCalls())

func (*ClusterLoggingControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterLoggingControllerMock) InformerCalls

func (mock *ClusterLoggingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterLoggingController.InformerCalls())

func (*ClusterLoggingControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterLoggingControllerMock) ListerCalls

func (mock *ClusterLoggingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterLoggingController.ListerCalls())

func (*ClusterLoggingControllerMock) Start

func (mock *ClusterLoggingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterLoggingControllerMock) StartCalls

func (mock *ClusterLoggingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterLoggingController.StartCalls())

func (*ClusterLoggingControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterLoggingControllerMock) SyncCalls

func (mock *ClusterLoggingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterLoggingController.SyncCalls())

type ClusterLoggingInterfaceMock

type ClusterLoggingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterLoggingHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterLoggingInterfaceMock is a mock implementation of ClusterLoggingInterface.

    func TestSomethingThatUsesClusterLoggingInterface(t *testing.T) {

        // make and configure a mocked ClusterLoggingInterface
        mockedClusterLoggingInterface := &ClusterLoggingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterLoggingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterLoggingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterLoggingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterLoggingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterLoggingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterLogging) (*v3.ClusterLogging, 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.ClusterLogging, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterLogging, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterLoggingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterLoggingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterLogging) (*v3.ClusterLogging, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterLoggingInterface in code that requires ClusterLoggingInterface
        // and then make assertions.

    }

func (*ClusterLoggingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterLoggingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterLoggingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterLoggingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterLoggingInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterLoggingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterLoggingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterLoggingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterLoggingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterLoggingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterLoggingInterfaceMock) AddClusterScopedHandler

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterLoggingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterLoggingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterLoggingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterLoggingInterface.AddClusterScopedHandlerCalls())

func (*ClusterLoggingInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterLoggingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterLoggingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterLoggingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterLoggingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterLoggingInterface.AddClusterScopedLifecycleCalls())

func (*ClusterLoggingInterfaceMock) AddFeatureHandler

func (mock *ClusterLoggingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterLoggingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterLoggingInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterLoggingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterLoggingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterLoggingInterface.AddFeatureHandlerCalls())

func (*ClusterLoggingInterfaceMock) AddFeatureLifecycle

func (mock *ClusterLoggingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterLoggingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterLoggingInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterLoggingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterLoggingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterLoggingInterface.AddFeatureLifecycleCalls())

func (*ClusterLoggingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterLoggingInterfaceMock) AddHandlerCalls

func (mock *ClusterLoggingInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterLoggingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterLoggingInterface.AddHandlerCalls())

func (*ClusterLoggingInterfaceMock) AddLifecycle

func (mock *ClusterLoggingInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterLoggingLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterLoggingInterfaceMock) AddLifecycleCalls

func (mock *ClusterLoggingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterLoggingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterLoggingInterface.AddLifecycleCalls())

func (*ClusterLoggingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterLoggingInterfaceMock) ControllerCalls

func (mock *ClusterLoggingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterLoggingInterface.ControllerCalls())

func (*ClusterLoggingInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterLoggingInterfaceMock) CreateCalls

func (mock *ClusterLoggingInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterLogging
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterLoggingInterface.CreateCalls())

func (*ClusterLoggingInterfaceMock) Delete

func (mock *ClusterLoggingInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterLoggingInterfaceMock) DeleteCalls

func (mock *ClusterLoggingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterLoggingInterface.DeleteCalls())

func (*ClusterLoggingInterfaceMock) DeleteCollection

func (mock *ClusterLoggingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterLoggingInterfaceMock) DeleteCollectionCalls

func (mock *ClusterLoggingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterLoggingInterface.DeleteCollectionCalls())

func (*ClusterLoggingInterfaceMock) DeleteNamespaced

func (mock *ClusterLoggingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterLoggingInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterLoggingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterLoggingInterface.DeleteNamespacedCalls())

func (*ClusterLoggingInterfaceMock) Get

Get calls GetFunc.

func (*ClusterLoggingInterfaceMock) GetCalls

func (mock *ClusterLoggingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterLoggingInterface.GetCalls())

func (*ClusterLoggingInterfaceMock) GetNamespaced

func (mock *ClusterLoggingInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterLogging, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterLoggingInterfaceMock) GetNamespacedCalls

func (mock *ClusterLoggingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterLoggingInterface.GetNamespacedCalls())

func (*ClusterLoggingInterfaceMock) List

List calls ListFunc.

func (*ClusterLoggingInterfaceMock) ListCalls

func (mock *ClusterLoggingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterLoggingInterface.ListCalls())

func (*ClusterLoggingInterfaceMock) ListNamespaced

func (mock *ClusterLoggingInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterLoggingList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterLoggingInterfaceMock) ListNamespacedCalls

func (mock *ClusterLoggingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterLoggingInterface.ListNamespacedCalls())

func (*ClusterLoggingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterLoggingInterfaceMock) ObjectClientCalls

func (mock *ClusterLoggingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterLoggingInterface.ObjectClientCalls())

func (*ClusterLoggingInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterLoggingInterfaceMock) UpdateCalls

func (mock *ClusterLoggingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterLogging
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterLoggingInterface.UpdateCalls())

func (*ClusterLoggingInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterLoggingInterfaceMock) WatchCalls

func (mock *ClusterLoggingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterLoggingInterface.WatchCalls())

type ClusterLoggingListerMock

type ClusterLoggingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterLogging, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterLogging, error)
	// contains filtered or unexported fields
}

ClusterLoggingListerMock is a mock implementation of ClusterLoggingLister.

    func TestSomethingThatUsesClusterLoggingLister(t *testing.T) {

        // make and configure a mocked ClusterLoggingLister
        mockedClusterLoggingLister := &ClusterLoggingListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterLogging, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterLogging, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterLoggingLister in code that requires ClusterLoggingLister
        // and then make assertions.

    }

func (*ClusterLoggingListerMock) Get

func (mock *ClusterLoggingListerMock) Get(namespace string, name string) (*v3.ClusterLogging, error)

Get calls GetFunc.

func (*ClusterLoggingListerMock) GetCalls

func (mock *ClusterLoggingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterLoggingLister.GetCalls())

func (*ClusterLoggingListerMock) List

func (mock *ClusterLoggingListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterLogging, error)

List calls ListFunc.

func (*ClusterLoggingListerMock) ListCalls

func (mock *ClusterLoggingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterLoggingLister.ListCalls())

type ClusterLoggingsGetterMock

type ClusterLoggingsGetterMock struct {
	// ClusterLoggingsFunc mocks the ClusterLoggings method.
	ClusterLoggingsFunc func(namespace string) v3.ClusterLoggingInterface
	// contains filtered or unexported fields
}

ClusterLoggingsGetterMock is a mock implementation of ClusterLoggingsGetter.

    func TestSomethingThatUsesClusterLoggingsGetter(t *testing.T) {

        // make and configure a mocked ClusterLoggingsGetter
        mockedClusterLoggingsGetter := &ClusterLoggingsGetterMock{
            ClusterLoggingsFunc: func(namespace string) v3.ClusterLoggingInterface {
	               panic("mock out the ClusterLoggings method")
            },
        }

        // use mockedClusterLoggingsGetter in code that requires ClusterLoggingsGetter
        // and then make assertions.

    }

func (*ClusterLoggingsGetterMock) ClusterLoggings

func (mock *ClusterLoggingsGetterMock) ClusterLoggings(namespace string) v3.ClusterLoggingInterface

ClusterLoggings calls ClusterLoggingsFunc.

func (*ClusterLoggingsGetterMock) ClusterLoggingsCalls

func (mock *ClusterLoggingsGetterMock) ClusterLoggingsCalls() []struct {
	Namespace string
}

ClusterLoggingsCalls gets all the calls that were made to ClusterLoggings. Check the length with:

len(mockedClusterLoggingsGetter.ClusterLoggingsCalls())

type ClusterMonitorGraphControllerMock

type ClusterMonitorGraphControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterMonitorGraphHandlerFunc)

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

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

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

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

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.ClusterMonitorGraphLister

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterMonitorGraphControllerMock is a mock implementation of ClusterMonitorGraphController.

    func TestSomethingThatUsesClusterMonitorGraphController(t *testing.T) {

        // make and configure a mocked ClusterMonitorGraphController
        mockedClusterMonitorGraphController := &ClusterMonitorGraphControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.ClusterMonitorGraphLister {
	               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 mockedClusterMonitorGraphController in code that requires ClusterMonitorGraphController
        // and then make assertions.

    }

func (*ClusterMonitorGraphControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterMonitorGraphControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterMonitorGraphHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterMonitorGraphControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterMonitorGraphControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterMonitorGraphHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterMonitorGraphController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterMonitorGraphControllerMock) AddClusterScopedHandler

func (mock *ClusterMonitorGraphControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterMonitorGraphHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterMonitorGraphControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterMonitorGraphControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterMonitorGraphHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterMonitorGraphController.AddClusterScopedHandlerCalls())

func (*ClusterMonitorGraphControllerMock) AddFeatureHandler

func (mock *ClusterMonitorGraphControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterMonitorGraphHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterMonitorGraphControllerMock) AddFeatureHandlerCalls

func (mock *ClusterMonitorGraphControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterMonitorGraphHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterMonitorGraphController.AddFeatureHandlerCalls())

func (*ClusterMonitorGraphControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterMonitorGraphControllerMock) AddHandlerCalls

func (mock *ClusterMonitorGraphControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterMonitorGraphHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterMonitorGraphController.AddHandlerCalls())

func (*ClusterMonitorGraphControllerMock) Enqueue

func (mock *ClusterMonitorGraphControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterMonitorGraphControllerMock) EnqueueAfter

func (mock *ClusterMonitorGraphControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterMonitorGraphControllerMock) EnqueueAfterCalls

func (mock *ClusterMonitorGraphControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterMonitorGraphController.EnqueueAfterCalls())

func (*ClusterMonitorGraphControllerMock) EnqueueCalls

func (mock *ClusterMonitorGraphControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterMonitorGraphController.EnqueueCalls())

func (*ClusterMonitorGraphControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterMonitorGraphControllerMock) GenericCalls

func (mock *ClusterMonitorGraphControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterMonitorGraphController.GenericCalls())

func (*ClusterMonitorGraphControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterMonitorGraphControllerMock) InformerCalls

func (mock *ClusterMonitorGraphControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterMonitorGraphController.InformerCalls())

func (*ClusterMonitorGraphControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterMonitorGraphControllerMock) ListerCalls

func (mock *ClusterMonitorGraphControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterMonitorGraphController.ListerCalls())

func (*ClusterMonitorGraphControllerMock) Start

func (mock *ClusterMonitorGraphControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterMonitorGraphControllerMock) StartCalls

func (mock *ClusterMonitorGraphControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterMonitorGraphController.StartCalls())

func (*ClusterMonitorGraphControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterMonitorGraphControllerMock) SyncCalls

func (mock *ClusterMonitorGraphControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterMonitorGraphController.SyncCalls())

type ClusterMonitorGraphInterfaceMock

type ClusterMonitorGraphInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterMonitorGraphHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterMonitorGraphInterfaceMock is a mock implementation of ClusterMonitorGraphInterface.

    func TestSomethingThatUsesClusterMonitorGraphInterface(t *testing.T) {

        // make and configure a mocked ClusterMonitorGraphInterface
        mockedClusterMonitorGraphInterface := &ClusterMonitorGraphInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterMonitorGraphLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterMonitorGraphLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterMonitorGraphLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterMonitorGraphLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterMonitorGraphController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterMonitorGraph) (*v3.ClusterMonitorGraph, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *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.ClusterMonitorGraph, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterMonitorGraph, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterMonitorGraphList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterMonitorGraphList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterMonitorGraph) (*v3.ClusterMonitorGraph, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterMonitorGraphInterface in code that requires ClusterMonitorGraphInterface
        // and then make assertions.

    }

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterMonitorGraphHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterMonitorGraphHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterMonitorGraphInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterMonitorGraphLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterMonitorGraphLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterMonitorGraphInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedHandler

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterMonitorGraphHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterMonitorGraphHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterMonitorGraphInterface.AddClusterScopedHandlerCalls())

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterMonitorGraphLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterMonitorGraphInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterMonitorGraphLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterMonitorGraphInterface.AddClusterScopedLifecycleCalls())

func (*ClusterMonitorGraphInterfaceMock) AddFeatureHandler

func (mock *ClusterMonitorGraphInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterMonitorGraphHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterMonitorGraphInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterMonitorGraphHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterMonitorGraphInterface.AddFeatureHandlerCalls())

func (*ClusterMonitorGraphInterfaceMock) AddFeatureLifecycle

func (mock *ClusterMonitorGraphInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterMonitorGraphLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterMonitorGraphInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterMonitorGraphLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterMonitorGraphInterface.AddFeatureLifecycleCalls())

func (*ClusterMonitorGraphInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterMonitorGraphInterfaceMock) AddHandlerCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterMonitorGraphHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterMonitorGraphInterface.AddHandlerCalls())

func (*ClusterMonitorGraphInterfaceMock) AddLifecycle

func (mock *ClusterMonitorGraphInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterMonitorGraphLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterMonitorGraphInterfaceMock) AddLifecycleCalls

func (mock *ClusterMonitorGraphInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterMonitorGraphLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterMonitorGraphInterface.AddLifecycleCalls())

func (*ClusterMonitorGraphInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterMonitorGraphInterfaceMock) ControllerCalls

func (mock *ClusterMonitorGraphInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterMonitorGraphInterface.ControllerCalls())

func (*ClusterMonitorGraphInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterMonitorGraphInterfaceMock) CreateCalls

func (mock *ClusterMonitorGraphInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterMonitorGraph
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterMonitorGraphInterface.CreateCalls())

func (*ClusterMonitorGraphInterfaceMock) Delete

func (mock *ClusterMonitorGraphInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterMonitorGraphInterfaceMock) DeleteCalls

func (mock *ClusterMonitorGraphInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterMonitorGraphInterface.DeleteCalls())

func (*ClusterMonitorGraphInterfaceMock) DeleteCollection

func (mock *ClusterMonitorGraphInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterMonitorGraphInterfaceMock) DeleteCollectionCalls

func (mock *ClusterMonitorGraphInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterMonitorGraphInterface.DeleteCollectionCalls())

func (*ClusterMonitorGraphInterfaceMock) DeleteNamespaced

func (mock *ClusterMonitorGraphInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterMonitorGraphInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterMonitorGraphInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterMonitorGraphInterface.DeleteNamespacedCalls())

func (*ClusterMonitorGraphInterfaceMock) Get

Get calls GetFunc.

func (*ClusterMonitorGraphInterfaceMock) GetCalls

func (mock *ClusterMonitorGraphInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterMonitorGraphInterface.GetCalls())

func (*ClusterMonitorGraphInterfaceMock) GetNamespaced

func (mock *ClusterMonitorGraphInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterMonitorGraph, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterMonitorGraphInterfaceMock) GetNamespacedCalls

func (mock *ClusterMonitorGraphInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterMonitorGraphInterface.GetNamespacedCalls())

func (*ClusterMonitorGraphInterfaceMock) List

List calls ListFunc.

func (*ClusterMonitorGraphInterfaceMock) ListCalls

func (mock *ClusterMonitorGraphInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterMonitorGraphInterface.ListCalls())

func (*ClusterMonitorGraphInterfaceMock) ListNamespaced

func (mock *ClusterMonitorGraphInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterMonitorGraphList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterMonitorGraphInterfaceMock) ListNamespacedCalls

func (mock *ClusterMonitorGraphInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterMonitorGraphInterface.ListNamespacedCalls())

func (*ClusterMonitorGraphInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterMonitorGraphInterfaceMock) ObjectClientCalls

func (mock *ClusterMonitorGraphInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterMonitorGraphInterface.ObjectClientCalls())

func (*ClusterMonitorGraphInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterMonitorGraphInterfaceMock) UpdateCalls

func (mock *ClusterMonitorGraphInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterMonitorGraph
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterMonitorGraphInterface.UpdateCalls())

func (*ClusterMonitorGraphInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterMonitorGraphInterfaceMock) WatchCalls

func (mock *ClusterMonitorGraphInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterMonitorGraphInterface.WatchCalls())

type ClusterMonitorGraphListerMock

type ClusterMonitorGraphListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterMonitorGraph, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterMonitorGraph, error)
	// contains filtered or unexported fields
}

ClusterMonitorGraphListerMock is a mock implementation of ClusterMonitorGraphLister.

    func TestSomethingThatUsesClusterMonitorGraphLister(t *testing.T) {

        // make and configure a mocked ClusterMonitorGraphLister
        mockedClusterMonitorGraphLister := &ClusterMonitorGraphListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterMonitorGraph, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterMonitorGraph, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterMonitorGraphLister in code that requires ClusterMonitorGraphLister
        // and then make assertions.

    }

func (*ClusterMonitorGraphListerMock) Get

func (mock *ClusterMonitorGraphListerMock) Get(namespace string, name string) (*v3.ClusterMonitorGraph, error)

Get calls GetFunc.

func (*ClusterMonitorGraphListerMock) GetCalls

func (mock *ClusterMonitorGraphListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterMonitorGraphLister.GetCalls())

func (*ClusterMonitorGraphListerMock) List

func (mock *ClusterMonitorGraphListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterMonitorGraph, error)

List calls ListFunc.

func (*ClusterMonitorGraphListerMock) ListCalls

func (mock *ClusterMonitorGraphListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterMonitorGraphLister.ListCalls())

type ClusterMonitorGraphsGetterMock

type ClusterMonitorGraphsGetterMock struct {
	// ClusterMonitorGraphsFunc mocks the ClusterMonitorGraphs method.
	ClusterMonitorGraphsFunc func(namespace string) v3.ClusterMonitorGraphInterface
	// contains filtered or unexported fields
}

ClusterMonitorGraphsGetterMock is a mock implementation of ClusterMonitorGraphsGetter.

    func TestSomethingThatUsesClusterMonitorGraphsGetter(t *testing.T) {

        // make and configure a mocked ClusterMonitorGraphsGetter
        mockedClusterMonitorGraphsGetter := &ClusterMonitorGraphsGetterMock{
            ClusterMonitorGraphsFunc: func(namespace string) v3.ClusterMonitorGraphInterface {
	               panic("mock out the ClusterMonitorGraphs method")
            },
        }

        // use mockedClusterMonitorGraphsGetter in code that requires ClusterMonitorGraphsGetter
        // and then make assertions.

    }

func (*ClusterMonitorGraphsGetterMock) ClusterMonitorGraphs

func (mock *ClusterMonitorGraphsGetterMock) ClusterMonitorGraphs(namespace string) v3.ClusterMonitorGraphInterface

ClusterMonitorGraphs calls ClusterMonitorGraphsFunc.

func (*ClusterMonitorGraphsGetterMock) ClusterMonitorGraphsCalls

func (mock *ClusterMonitorGraphsGetterMock) ClusterMonitorGraphsCalls() []struct {
	Namespace string
}

ClusterMonitorGraphsCalls gets all the calls that were made to ClusterMonitorGraphs. Check the length with:

len(mockedClusterMonitorGraphsGetter.ClusterMonitorGraphsCalls())

type ClusterRegistrationTokenControllerMock

type ClusterRegistrationTokenControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterRegistrationTokenHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterRegistrationTokenControllerMock is a mock implementation of ClusterRegistrationTokenController.

    func TestSomethingThatUsesClusterRegistrationTokenController(t *testing.T) {

        // make and configure a mocked ClusterRegistrationTokenController
        mockedClusterRegistrationTokenController := &ClusterRegistrationTokenControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterRegistrationTokenHandlerFunc)  {
	               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.ClusterRegistrationTokenLister {
	               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 mockedClusterRegistrationTokenController in code that requires ClusterRegistrationTokenController
        // and then make assertions.

    }

func (*ClusterRegistrationTokenControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterRegistrationTokenControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterRegistrationTokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterRegistrationTokenControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterRegistrationTokenControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterRegistrationTokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterRegistrationTokenController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterRegistrationTokenControllerMock) AddClusterScopedHandler

func (mock *ClusterRegistrationTokenControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterRegistrationTokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterRegistrationTokenControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterRegistrationTokenControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterRegistrationTokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterRegistrationTokenController.AddClusterScopedHandlerCalls())

func (*ClusterRegistrationTokenControllerMock) AddFeatureHandler

func (mock *ClusterRegistrationTokenControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRegistrationTokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterRegistrationTokenControllerMock) AddFeatureHandlerCalls

func (mock *ClusterRegistrationTokenControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterRegistrationTokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterRegistrationTokenController.AddFeatureHandlerCalls())

func (*ClusterRegistrationTokenControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterRegistrationTokenControllerMock) AddHandlerCalls

func (mock *ClusterRegistrationTokenControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterRegistrationTokenHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterRegistrationTokenController.AddHandlerCalls())

func (*ClusterRegistrationTokenControllerMock) Enqueue

func (mock *ClusterRegistrationTokenControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterRegistrationTokenControllerMock) EnqueueAfter

func (mock *ClusterRegistrationTokenControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterRegistrationTokenControllerMock) EnqueueAfterCalls

func (mock *ClusterRegistrationTokenControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterRegistrationTokenController.EnqueueAfterCalls())

func (*ClusterRegistrationTokenControllerMock) EnqueueCalls

func (mock *ClusterRegistrationTokenControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterRegistrationTokenController.EnqueueCalls())

func (*ClusterRegistrationTokenControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterRegistrationTokenControllerMock) GenericCalls

func (mock *ClusterRegistrationTokenControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterRegistrationTokenController.GenericCalls())

func (*ClusterRegistrationTokenControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterRegistrationTokenControllerMock) InformerCalls

func (mock *ClusterRegistrationTokenControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterRegistrationTokenController.InformerCalls())

func (*ClusterRegistrationTokenControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterRegistrationTokenControllerMock) ListerCalls

func (mock *ClusterRegistrationTokenControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterRegistrationTokenController.ListerCalls())

func (*ClusterRegistrationTokenControllerMock) Start

func (mock *ClusterRegistrationTokenControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterRegistrationTokenControllerMock) StartCalls

func (mock *ClusterRegistrationTokenControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterRegistrationTokenController.StartCalls())

func (*ClusterRegistrationTokenControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterRegistrationTokenControllerMock) SyncCalls

func (mock *ClusterRegistrationTokenControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterRegistrationTokenController.SyncCalls())

type ClusterRegistrationTokenInterfaceMock

type ClusterRegistrationTokenInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterRegistrationTokenHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterRegistrationTokenInterfaceMock is a mock implementation of ClusterRegistrationTokenInterface.

    func TestSomethingThatUsesClusterRegistrationTokenInterface(t *testing.T) {

        // make and configure a mocked ClusterRegistrationTokenInterface
        mockedClusterRegistrationTokenInterface := &ClusterRegistrationTokenInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterRegistrationTokenLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterRegistrationTokenLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterRegistrationTokenLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterRegistrationTokenLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterRegistrationTokenController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, 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.ClusterRegistrationToken, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterRegistrationToken, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterRegistrationTokenList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterRegistrationTokenList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterRegistrationToken) (*v3.ClusterRegistrationToken, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterRegistrationTokenInterface in code that requires ClusterRegistrationTokenInterface
        // and then make assertions.

    }

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterRegistrationTokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterRegistrationTokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterRegistrationTokenLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterRegistrationTokenLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedHandler

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterRegistrationTokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterRegistrationTokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddClusterScopedHandlerCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterRegistrationTokenLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterRegistrationTokenLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddClusterScopedLifecycleCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddFeatureHandler

func (mock *ClusterRegistrationTokenInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRegistrationTokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterRegistrationTokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddFeatureHandlerCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddFeatureLifecycle

func (mock *ClusterRegistrationTokenInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterRegistrationTokenLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterRegistrationTokenLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddFeatureLifecycleCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddHandlerCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterRegistrationTokenHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddHandlerCalls())

func (*ClusterRegistrationTokenInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*ClusterRegistrationTokenInterfaceMock) AddLifecycleCalls

func (mock *ClusterRegistrationTokenInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterRegistrationTokenLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterRegistrationTokenInterface.AddLifecycleCalls())

func (*ClusterRegistrationTokenInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterRegistrationTokenInterfaceMock) ControllerCalls

func (mock *ClusterRegistrationTokenInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterRegistrationTokenInterface.ControllerCalls())

func (*ClusterRegistrationTokenInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterRegistrationTokenInterfaceMock) CreateCalls

func (mock *ClusterRegistrationTokenInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterRegistrationToken
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterRegistrationTokenInterface.CreateCalls())

func (*ClusterRegistrationTokenInterfaceMock) Delete

func (mock *ClusterRegistrationTokenInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterRegistrationTokenInterfaceMock) DeleteCalls

func (mock *ClusterRegistrationTokenInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterRegistrationTokenInterface.DeleteCalls())

func (*ClusterRegistrationTokenInterfaceMock) DeleteCollection

func (mock *ClusterRegistrationTokenInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterRegistrationTokenInterfaceMock) DeleteCollectionCalls

func (mock *ClusterRegistrationTokenInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterRegistrationTokenInterface.DeleteCollectionCalls())

func (*ClusterRegistrationTokenInterfaceMock) DeleteNamespaced

func (mock *ClusterRegistrationTokenInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterRegistrationTokenInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterRegistrationTokenInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterRegistrationTokenInterface.DeleteNamespacedCalls())

func (*ClusterRegistrationTokenInterfaceMock) Get

Get calls GetFunc.

func (*ClusterRegistrationTokenInterfaceMock) GetCalls

func (mock *ClusterRegistrationTokenInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterRegistrationTokenInterface.GetCalls())

func (*ClusterRegistrationTokenInterfaceMock) GetNamespaced

func (mock *ClusterRegistrationTokenInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterRegistrationToken, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterRegistrationTokenInterfaceMock) GetNamespacedCalls

func (mock *ClusterRegistrationTokenInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterRegistrationTokenInterface.GetNamespacedCalls())

func (*ClusterRegistrationTokenInterfaceMock) List

List calls ListFunc.

func (*ClusterRegistrationTokenInterfaceMock) ListCalls

func (mock *ClusterRegistrationTokenInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterRegistrationTokenInterface.ListCalls())

func (*ClusterRegistrationTokenInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*ClusterRegistrationTokenInterfaceMock) ListNamespacedCalls

func (mock *ClusterRegistrationTokenInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterRegistrationTokenInterface.ListNamespacedCalls())

func (*ClusterRegistrationTokenInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterRegistrationTokenInterfaceMock) ObjectClientCalls

func (mock *ClusterRegistrationTokenInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterRegistrationTokenInterface.ObjectClientCalls())

func (*ClusterRegistrationTokenInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterRegistrationTokenInterfaceMock) UpdateCalls

func (mock *ClusterRegistrationTokenInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterRegistrationToken
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterRegistrationTokenInterface.UpdateCalls())

func (*ClusterRegistrationTokenInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterRegistrationTokenInterfaceMock) WatchCalls

func (mock *ClusterRegistrationTokenInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterRegistrationTokenInterface.WatchCalls())

type ClusterRegistrationTokenListerMock

type ClusterRegistrationTokenListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterRegistrationToken, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterRegistrationToken, error)
	// contains filtered or unexported fields
}

ClusterRegistrationTokenListerMock is a mock implementation of ClusterRegistrationTokenLister.

    func TestSomethingThatUsesClusterRegistrationTokenLister(t *testing.T) {

        // make and configure a mocked ClusterRegistrationTokenLister
        mockedClusterRegistrationTokenLister := &ClusterRegistrationTokenListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterRegistrationToken, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterRegistrationToken, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterRegistrationTokenLister in code that requires ClusterRegistrationTokenLister
        // and then make assertions.

    }

func (*ClusterRegistrationTokenListerMock) Get

Get calls GetFunc.

func (*ClusterRegistrationTokenListerMock) GetCalls

func (mock *ClusterRegistrationTokenListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterRegistrationTokenLister.GetCalls())

func (*ClusterRegistrationTokenListerMock) List

List calls ListFunc.

func (*ClusterRegistrationTokenListerMock) ListCalls

func (mock *ClusterRegistrationTokenListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterRegistrationTokenLister.ListCalls())

type ClusterRegistrationTokensGetterMock

type ClusterRegistrationTokensGetterMock struct {
	// ClusterRegistrationTokensFunc mocks the ClusterRegistrationTokens method.
	ClusterRegistrationTokensFunc func(namespace string) v3.ClusterRegistrationTokenInterface
	// contains filtered or unexported fields
}

ClusterRegistrationTokensGetterMock is a mock implementation of ClusterRegistrationTokensGetter.

    func TestSomethingThatUsesClusterRegistrationTokensGetter(t *testing.T) {

        // make and configure a mocked ClusterRegistrationTokensGetter
        mockedClusterRegistrationTokensGetter := &ClusterRegistrationTokensGetterMock{
            ClusterRegistrationTokensFunc: func(namespace string) v3.ClusterRegistrationTokenInterface {
	               panic("mock out the ClusterRegistrationTokens method")
            },
        }

        // use mockedClusterRegistrationTokensGetter in code that requires ClusterRegistrationTokensGetter
        // and then make assertions.

    }

func (*ClusterRegistrationTokensGetterMock) ClusterRegistrationTokens

func (mock *ClusterRegistrationTokensGetterMock) ClusterRegistrationTokens(namespace string) v3.ClusterRegistrationTokenInterface

ClusterRegistrationTokens calls ClusterRegistrationTokensFunc.

func (*ClusterRegistrationTokensGetterMock) ClusterRegistrationTokensCalls

func (mock *ClusterRegistrationTokensGetterMock) ClusterRegistrationTokensCalls() []struct {
	Namespace string
}

ClusterRegistrationTokensCalls gets all the calls that were made to ClusterRegistrationTokens. Check the length with:

len(mockedClusterRegistrationTokensGetter.ClusterRegistrationTokensCalls())

type ClusterRoleTemplateBindingControllerMock

type ClusterRoleTemplateBindingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterRoleTemplateBindingHandlerFunc)

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

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

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

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

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.ClusterRoleTemplateBindingLister

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterRoleTemplateBindingControllerMock is a mock implementation of ClusterRoleTemplateBindingController.

    func TestSomethingThatUsesClusterRoleTemplateBindingController(t *testing.T) {

        // make and configure a mocked ClusterRoleTemplateBindingController
        mockedClusterRoleTemplateBindingController := &ClusterRoleTemplateBindingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.ClusterRoleTemplateBindingLister {
	               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 mockedClusterRoleTemplateBindingController in code that requires ClusterRoleTemplateBindingController
        // and then make assertions.

    }

func (*ClusterRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterRoleTemplateBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterRoleTemplateBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterRoleTemplateBindingController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterRoleTemplateBindingControllerMock) AddClusterScopedHandler

func (mock *ClusterRoleTemplateBindingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterRoleTemplateBindingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterRoleTemplateBindingControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterRoleTemplateBindingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterRoleTemplateBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterRoleTemplateBindingController.AddClusterScopedHandlerCalls())

func (*ClusterRoleTemplateBindingControllerMock) AddFeatureHandler

func (mock *ClusterRoleTemplateBindingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRoleTemplateBindingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterRoleTemplateBindingControllerMock) AddFeatureHandlerCalls

func (mock *ClusterRoleTemplateBindingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterRoleTemplateBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterRoleTemplateBindingController.AddFeatureHandlerCalls())

func (*ClusterRoleTemplateBindingControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterRoleTemplateBindingControllerMock) AddHandlerCalls

func (mock *ClusterRoleTemplateBindingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterRoleTemplateBindingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterRoleTemplateBindingController.AddHandlerCalls())

func (*ClusterRoleTemplateBindingControllerMock) Enqueue

func (mock *ClusterRoleTemplateBindingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterRoleTemplateBindingControllerMock) EnqueueAfter

func (mock *ClusterRoleTemplateBindingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterRoleTemplateBindingControllerMock) EnqueueAfterCalls

func (mock *ClusterRoleTemplateBindingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterRoleTemplateBindingController.EnqueueAfterCalls())

func (*ClusterRoleTemplateBindingControllerMock) EnqueueCalls

func (mock *ClusterRoleTemplateBindingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterRoleTemplateBindingController.EnqueueCalls())

func (*ClusterRoleTemplateBindingControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterRoleTemplateBindingControllerMock) GenericCalls

func (mock *ClusterRoleTemplateBindingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterRoleTemplateBindingController.GenericCalls())

func (*ClusterRoleTemplateBindingControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterRoleTemplateBindingControllerMock) InformerCalls

func (mock *ClusterRoleTemplateBindingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterRoleTemplateBindingController.InformerCalls())

func (*ClusterRoleTemplateBindingControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterRoleTemplateBindingControllerMock) ListerCalls

func (mock *ClusterRoleTemplateBindingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterRoleTemplateBindingController.ListerCalls())

func (*ClusterRoleTemplateBindingControllerMock) Start

func (mock *ClusterRoleTemplateBindingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterRoleTemplateBindingControllerMock) StartCalls

func (mock *ClusterRoleTemplateBindingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterRoleTemplateBindingController.StartCalls())

func (*ClusterRoleTemplateBindingControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterRoleTemplateBindingControllerMock) SyncCalls

func (mock *ClusterRoleTemplateBindingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterRoleTemplateBindingController.SyncCalls())

type ClusterRoleTemplateBindingInterfaceMock

type ClusterRoleTemplateBindingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterRoleTemplateBindingHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterRoleTemplateBindingInterfaceMock is a mock implementation of ClusterRoleTemplateBindingInterface.

    func TestSomethingThatUsesClusterRoleTemplateBindingInterface(t *testing.T) {

        // make and configure a mocked ClusterRoleTemplateBindingInterface
        mockedClusterRoleTemplateBindingInterface := &ClusterRoleTemplateBindingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterRoleTemplateBindingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterRoleTemplateBinding) (*v3.ClusterRoleTemplateBinding, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *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.ClusterRoleTemplateBinding, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterRoleTemplateBinding, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterRoleTemplateBindingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterRoleTemplateBindingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterRoleTemplateBinding) (*v3.ClusterRoleTemplateBinding, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterRoleTemplateBindingInterface in code that requires ClusterRoleTemplateBindingInterface
        // and then make assertions.

    }

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterRoleTemplateBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterRoleTemplateBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterRoleTemplateBindingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedHandler

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterRoleTemplateBindingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterRoleTemplateBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddClusterScopedHandlerCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterRoleTemplateBindingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddClusterScopedLifecycleCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddFeatureHandler

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterRoleTemplateBindingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterRoleTemplateBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddFeatureHandlerCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddFeatureLifecycle

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterRoleTemplateBindingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterRoleTemplateBindingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddFeatureLifecycleCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddHandlerCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) AddLifecycleCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterRoleTemplateBindingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.AddLifecycleCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) ControllerCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.ControllerCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) CreateCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterRoleTemplateBinding
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.CreateCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) Delete

Delete calls DeleteFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) DeleteCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.DeleteCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) DeleteCollection

func (mock *ClusterRoleTemplateBindingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) DeleteCollectionCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.DeleteCollectionCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) DeleteNamespaced

func (mock *ClusterRoleTemplateBindingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.DeleteNamespacedCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) Get

Get calls GetFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) GetCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.GetCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) GetNamespaced

GetNamespaced calls GetNamespacedFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) GetNamespacedCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.GetNamespacedCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) List

List calls ListFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) ListCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.ListCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) ListNamespacedCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.ListNamespacedCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) ObjectClientCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.ObjectClientCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) UpdateCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterRoleTemplateBinding
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.UpdateCalls())

func (*ClusterRoleTemplateBindingInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterRoleTemplateBindingInterfaceMock) WatchCalls

func (mock *ClusterRoleTemplateBindingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterRoleTemplateBindingInterface.WatchCalls())

type ClusterRoleTemplateBindingListerMock

type ClusterRoleTemplateBindingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterRoleTemplateBinding, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterRoleTemplateBinding, error)
	// contains filtered or unexported fields
}

ClusterRoleTemplateBindingListerMock is a mock implementation of ClusterRoleTemplateBindingLister.

    func TestSomethingThatUsesClusterRoleTemplateBindingLister(t *testing.T) {

        // make and configure a mocked ClusterRoleTemplateBindingLister
        mockedClusterRoleTemplateBindingLister := &ClusterRoleTemplateBindingListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterRoleTemplateBinding, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterRoleTemplateBinding, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterRoleTemplateBindingLister in code that requires ClusterRoleTemplateBindingLister
        // and then make assertions.

    }

func (*ClusterRoleTemplateBindingListerMock) Get

Get calls GetFunc.

func (*ClusterRoleTemplateBindingListerMock) GetCalls

func (mock *ClusterRoleTemplateBindingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterRoleTemplateBindingLister.GetCalls())

func (*ClusterRoleTemplateBindingListerMock) List

List calls ListFunc.

func (*ClusterRoleTemplateBindingListerMock) ListCalls

func (mock *ClusterRoleTemplateBindingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterRoleTemplateBindingLister.ListCalls())

type ClusterRoleTemplateBindingsGetterMock

type ClusterRoleTemplateBindingsGetterMock struct {
	// ClusterRoleTemplateBindingsFunc mocks the ClusterRoleTemplateBindings method.
	ClusterRoleTemplateBindingsFunc func(namespace string) v3.ClusterRoleTemplateBindingInterface
	// contains filtered or unexported fields
}

ClusterRoleTemplateBindingsGetterMock is a mock implementation of ClusterRoleTemplateBindingsGetter.

    func TestSomethingThatUsesClusterRoleTemplateBindingsGetter(t *testing.T) {

        // make and configure a mocked ClusterRoleTemplateBindingsGetter
        mockedClusterRoleTemplateBindingsGetter := &ClusterRoleTemplateBindingsGetterMock{
            ClusterRoleTemplateBindingsFunc: func(namespace string) v3.ClusterRoleTemplateBindingInterface {
	               panic("mock out the ClusterRoleTemplateBindings method")
            },
        }

        // use mockedClusterRoleTemplateBindingsGetter in code that requires ClusterRoleTemplateBindingsGetter
        // and then make assertions.

    }

func (*ClusterRoleTemplateBindingsGetterMock) ClusterRoleTemplateBindings

func (mock *ClusterRoleTemplateBindingsGetterMock) ClusterRoleTemplateBindings(namespace string) v3.ClusterRoleTemplateBindingInterface

ClusterRoleTemplateBindings calls ClusterRoleTemplateBindingsFunc.

func (*ClusterRoleTemplateBindingsGetterMock) ClusterRoleTemplateBindingsCalls

func (mock *ClusterRoleTemplateBindingsGetterMock) ClusterRoleTemplateBindingsCalls() []struct {
	Namespace string
}

ClusterRoleTemplateBindingsCalls gets all the calls that were made to ClusterRoleTemplateBindings. Check the length with:

len(mockedClusterRoleTemplateBindingsGetter.ClusterRoleTemplateBindingsCalls())

type ClusterScanControllerMock

type ClusterScanControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterScanHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterScanControllerMock is a mock implementation of ClusterScanController.

    func TestSomethingThatUsesClusterScanController(t *testing.T) {

        // make and configure a mocked ClusterScanController
        mockedClusterScanController := &ClusterScanControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterScanHandlerFunc)  {
	               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.ClusterScanLister {
	               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 mockedClusterScanController in code that requires ClusterScanController
        // and then make assertions.

    }

func (*ClusterScanControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterScanControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterScanHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterScanControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterScanControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterScanHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterScanController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterScanControllerMock) AddClusterScopedHandler

func (mock *ClusterScanControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterScanHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterScanControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterScanControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterScanHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterScanController.AddClusterScopedHandlerCalls())

func (*ClusterScanControllerMock) AddFeatureHandler

func (mock *ClusterScanControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterScanHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterScanControllerMock) AddFeatureHandlerCalls

func (mock *ClusterScanControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterScanHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterScanController.AddFeatureHandlerCalls())

func (*ClusterScanControllerMock) AddHandler

func (mock *ClusterScanControllerMock) AddHandler(ctx context.Context, name string, handler v3.ClusterScanHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterScanControllerMock) AddHandlerCalls

func (mock *ClusterScanControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterScanHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterScanController.AddHandlerCalls())

func (*ClusterScanControllerMock) Enqueue

func (mock *ClusterScanControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterScanControllerMock) EnqueueAfter

func (mock *ClusterScanControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterScanControllerMock) EnqueueAfterCalls

func (mock *ClusterScanControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterScanController.EnqueueAfterCalls())

func (*ClusterScanControllerMock) EnqueueCalls

func (mock *ClusterScanControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterScanController.EnqueueCalls())

func (*ClusterScanControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterScanControllerMock) GenericCalls

func (mock *ClusterScanControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterScanController.GenericCalls())

func (*ClusterScanControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterScanControllerMock) InformerCalls

func (mock *ClusterScanControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterScanController.InformerCalls())

func (*ClusterScanControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterScanControllerMock) ListerCalls

func (mock *ClusterScanControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterScanController.ListerCalls())

func (*ClusterScanControllerMock) Start

func (mock *ClusterScanControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterScanControllerMock) StartCalls

func (mock *ClusterScanControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterScanController.StartCalls())

func (*ClusterScanControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterScanControllerMock) SyncCalls

func (mock *ClusterScanControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterScanController.SyncCalls())

type ClusterScanInterfaceMock

type ClusterScanInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterScanHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterScanInterfaceMock is a mock implementation of ClusterScanInterface.

    func TestSomethingThatUsesClusterScanInterface(t *testing.T) {

        // make and configure a mocked ClusterScanInterface
        mockedClusterScanInterface := &ClusterScanInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterScanLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterScanLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterScanLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterScanHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterScanLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterScanController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterScan) (*v3.ClusterScan, 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.ClusterScan, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterScan, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterScanList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterScanList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterScan) (*v3.ClusterScan, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterScanInterface in code that requires ClusterScanInterface
        // and then make assertions.

    }

func (*ClusterScanInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterScanInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterScanHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterScanInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterScanInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterScanHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterScanInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterScanInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterScanInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterScanLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterScanInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterScanInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterScanLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterScanInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterScanInterfaceMock) AddClusterScopedHandler

func (mock *ClusterScanInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterScanHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterScanInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterScanInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterScanHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterScanInterface.AddClusterScopedHandlerCalls())

func (*ClusterScanInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterScanInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterScanLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterScanInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterScanInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterScanLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterScanInterface.AddClusterScopedLifecycleCalls())

func (*ClusterScanInterfaceMock) AddFeatureHandler

func (mock *ClusterScanInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterScanHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterScanInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterScanInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterScanHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterScanInterface.AddFeatureHandlerCalls())

func (*ClusterScanInterfaceMock) AddFeatureLifecycle

func (mock *ClusterScanInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterScanLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterScanInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterScanInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterScanLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterScanInterface.AddFeatureLifecycleCalls())

func (*ClusterScanInterfaceMock) AddHandler

func (mock *ClusterScanInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ClusterScanHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ClusterScanInterfaceMock) AddHandlerCalls

func (mock *ClusterScanInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterScanHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterScanInterface.AddHandlerCalls())

func (*ClusterScanInterfaceMock) AddLifecycle

func (mock *ClusterScanInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterScanLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterScanInterfaceMock) AddLifecycleCalls

func (mock *ClusterScanInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterScanLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterScanInterface.AddLifecycleCalls())

func (*ClusterScanInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterScanInterfaceMock) ControllerCalls

func (mock *ClusterScanInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterScanInterface.ControllerCalls())

func (*ClusterScanInterfaceMock) Create

func (mock *ClusterScanInterfaceMock) Create(in1 *v3.ClusterScan) (*v3.ClusterScan, error)

Create calls CreateFunc.

func (*ClusterScanInterfaceMock) CreateCalls

func (mock *ClusterScanInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterScan
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterScanInterface.CreateCalls())

func (*ClusterScanInterfaceMock) Delete

func (mock *ClusterScanInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterScanInterfaceMock) DeleteCalls

func (mock *ClusterScanInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterScanInterface.DeleteCalls())

func (*ClusterScanInterfaceMock) DeleteCollection

func (mock *ClusterScanInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterScanInterfaceMock) DeleteCollectionCalls

func (mock *ClusterScanInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterScanInterface.DeleteCollectionCalls())

func (*ClusterScanInterfaceMock) DeleteNamespaced

func (mock *ClusterScanInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterScanInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterScanInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterScanInterface.DeleteNamespacedCalls())

func (*ClusterScanInterfaceMock) Get

func (mock *ClusterScanInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.ClusterScan, error)

Get calls GetFunc.

func (*ClusterScanInterfaceMock) GetCalls

func (mock *ClusterScanInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterScanInterface.GetCalls())

func (*ClusterScanInterfaceMock) GetNamespaced

func (mock *ClusterScanInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterScan, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterScanInterfaceMock) GetNamespacedCalls

func (mock *ClusterScanInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterScanInterface.GetNamespacedCalls())

func (*ClusterScanInterfaceMock) List

List calls ListFunc.

func (*ClusterScanInterfaceMock) ListCalls

func (mock *ClusterScanInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterScanInterface.ListCalls())

func (*ClusterScanInterfaceMock) ListNamespaced

func (mock *ClusterScanInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterScanList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterScanInterfaceMock) ListNamespacedCalls

func (mock *ClusterScanInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterScanInterface.ListNamespacedCalls())

func (*ClusterScanInterfaceMock) ObjectClient

func (mock *ClusterScanInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterScanInterfaceMock) ObjectClientCalls

func (mock *ClusterScanInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterScanInterface.ObjectClientCalls())

func (*ClusterScanInterfaceMock) Update

func (mock *ClusterScanInterfaceMock) Update(in1 *v3.ClusterScan) (*v3.ClusterScan, error)

Update calls UpdateFunc.

func (*ClusterScanInterfaceMock) UpdateCalls

func (mock *ClusterScanInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterScan
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterScanInterface.UpdateCalls())

func (*ClusterScanInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterScanInterfaceMock) WatchCalls

func (mock *ClusterScanInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterScanInterface.WatchCalls())

type ClusterScanListerMock

type ClusterScanListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterScan, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterScan, error)
	// contains filtered or unexported fields
}

ClusterScanListerMock is a mock implementation of ClusterScanLister.

    func TestSomethingThatUsesClusterScanLister(t *testing.T) {

        // make and configure a mocked ClusterScanLister
        mockedClusterScanLister := &ClusterScanListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterScan, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterScan, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterScanLister in code that requires ClusterScanLister
        // and then make assertions.

    }

func (*ClusterScanListerMock) Get

func (mock *ClusterScanListerMock) Get(namespace string, name string) (*v3.ClusterScan, error)

Get calls GetFunc.

func (*ClusterScanListerMock) GetCalls

func (mock *ClusterScanListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterScanLister.GetCalls())

func (*ClusterScanListerMock) List

func (mock *ClusterScanListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterScan, error)

List calls ListFunc.

func (*ClusterScanListerMock) ListCalls

func (mock *ClusterScanListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterScanLister.ListCalls())

type ClusterScansGetterMock

type ClusterScansGetterMock struct {
	// ClusterScansFunc mocks the ClusterScans method.
	ClusterScansFunc func(namespace string) v3.ClusterScanInterface
	// contains filtered or unexported fields
}

ClusterScansGetterMock is a mock implementation of ClusterScansGetter.

    func TestSomethingThatUsesClusterScansGetter(t *testing.T) {

        // make and configure a mocked ClusterScansGetter
        mockedClusterScansGetter := &ClusterScansGetterMock{
            ClusterScansFunc: func(namespace string) v3.ClusterScanInterface {
	               panic("mock out the ClusterScans method")
            },
        }

        // use mockedClusterScansGetter in code that requires ClusterScansGetter
        // and then make assertions.

    }

func (*ClusterScansGetterMock) ClusterScans

func (mock *ClusterScansGetterMock) ClusterScans(namespace string) v3.ClusterScanInterface

ClusterScans calls ClusterScansFunc.

func (*ClusterScansGetterMock) ClusterScansCalls

func (mock *ClusterScansGetterMock) ClusterScansCalls() []struct {
	Namespace string
}

ClusterScansCalls gets all the calls that were made to ClusterScans. Check the length with:

len(mockedClusterScansGetter.ClusterScansCalls())

type ClusterTemplateControllerMock

type ClusterTemplateControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterTemplateHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterTemplateControllerMock is a mock implementation of ClusterTemplateController.

    func TestSomethingThatUsesClusterTemplateController(t *testing.T) {

        // make and configure a mocked ClusterTemplateController
        mockedClusterTemplateController := &ClusterTemplateControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterTemplateHandlerFunc)  {
	               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.ClusterTemplateLister {
	               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 mockedClusterTemplateController in code that requires ClusterTemplateController
        // and then make assertions.

    }

func (*ClusterTemplateControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterTemplateControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterTemplateControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterTemplateControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterTemplateController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterTemplateControllerMock) AddClusterScopedHandler

func (mock *ClusterTemplateControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterTemplateControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterTemplateControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterTemplateController.AddClusterScopedHandlerCalls())

func (*ClusterTemplateControllerMock) AddFeatureHandler

func (mock *ClusterTemplateControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterTemplateControllerMock) AddFeatureHandlerCalls

func (mock *ClusterTemplateControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterTemplateController.AddFeatureHandlerCalls())

func (*ClusterTemplateControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterTemplateControllerMock) AddHandlerCalls

func (mock *ClusterTemplateControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterTemplateController.AddHandlerCalls())

func (*ClusterTemplateControllerMock) Enqueue

func (mock *ClusterTemplateControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterTemplateControllerMock) EnqueueAfter

func (mock *ClusterTemplateControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterTemplateControllerMock) EnqueueAfterCalls

func (mock *ClusterTemplateControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterTemplateController.EnqueueAfterCalls())

func (*ClusterTemplateControllerMock) EnqueueCalls

func (mock *ClusterTemplateControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterTemplateController.EnqueueCalls())

func (*ClusterTemplateControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterTemplateControllerMock) GenericCalls

func (mock *ClusterTemplateControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterTemplateController.GenericCalls())

func (*ClusterTemplateControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterTemplateControllerMock) InformerCalls

func (mock *ClusterTemplateControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterTemplateController.InformerCalls())

func (*ClusterTemplateControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterTemplateControllerMock) ListerCalls

func (mock *ClusterTemplateControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterTemplateController.ListerCalls())

func (*ClusterTemplateControllerMock) Start

func (mock *ClusterTemplateControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterTemplateControllerMock) StartCalls

func (mock *ClusterTemplateControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterTemplateController.StartCalls())

func (*ClusterTemplateControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterTemplateControllerMock) SyncCalls

func (mock *ClusterTemplateControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterTemplateController.SyncCalls())

type ClusterTemplateInterfaceMock

type ClusterTemplateInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterTemplateHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterTemplateInterfaceMock is a mock implementation of ClusterTemplateInterface.

    func TestSomethingThatUsesClusterTemplateInterface(t *testing.T) {

        // make and configure a mocked ClusterTemplateInterface
        mockedClusterTemplateInterface := &ClusterTemplateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterTemplateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterTemplateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterTemplateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterTemplateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterTemplate) (*v3.ClusterTemplate, 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.ClusterTemplate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterTemplate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterTemplateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterTemplateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterTemplate) (*v3.ClusterTemplate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterTemplateInterface in code that requires ClusterTemplateInterface
        // and then make assertions.

    }

func (*ClusterTemplateInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterTemplateInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterTemplateInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterTemplateLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterTemplateLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterTemplateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterTemplateInterfaceMock) AddClusterScopedHandler

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterTemplateInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterTemplateInterface.AddClusterScopedHandlerCalls())

func (*ClusterTemplateInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterTemplateLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterTemplateInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterTemplateInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterTemplateLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterTemplateInterface.AddClusterScopedLifecycleCalls())

func (*ClusterTemplateInterfaceMock) AddFeatureHandler

func (mock *ClusterTemplateInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterTemplateInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterTemplateInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterTemplateInterface.AddFeatureHandlerCalls())

func (*ClusterTemplateInterfaceMock) AddFeatureLifecycle

func (mock *ClusterTemplateInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterTemplateLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterTemplateInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterTemplateInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterTemplateLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterTemplateInterface.AddFeatureLifecycleCalls())

func (*ClusterTemplateInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterTemplateInterfaceMock) AddHandlerCalls

func (mock *ClusterTemplateInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterTemplateInterface.AddHandlerCalls())

func (*ClusterTemplateInterfaceMock) AddLifecycle

func (mock *ClusterTemplateInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ClusterTemplateLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ClusterTemplateInterfaceMock) AddLifecycleCalls

func (mock *ClusterTemplateInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterTemplateLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterTemplateInterface.AddLifecycleCalls())

func (*ClusterTemplateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterTemplateInterfaceMock) ControllerCalls

func (mock *ClusterTemplateInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterTemplateInterface.ControllerCalls())

func (*ClusterTemplateInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterTemplateInterfaceMock) CreateCalls

func (mock *ClusterTemplateInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterTemplate
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterTemplateInterface.CreateCalls())

func (*ClusterTemplateInterfaceMock) Delete

func (mock *ClusterTemplateInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterTemplateInterfaceMock) DeleteCalls

func (mock *ClusterTemplateInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterTemplateInterface.DeleteCalls())

func (*ClusterTemplateInterfaceMock) DeleteCollection

func (mock *ClusterTemplateInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterTemplateInterfaceMock) DeleteCollectionCalls

func (mock *ClusterTemplateInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterTemplateInterface.DeleteCollectionCalls())

func (*ClusterTemplateInterfaceMock) DeleteNamespaced

func (mock *ClusterTemplateInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterTemplateInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterTemplateInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterTemplateInterface.DeleteNamespacedCalls())

func (*ClusterTemplateInterfaceMock) Get

Get calls GetFunc.

func (*ClusterTemplateInterfaceMock) GetCalls

func (mock *ClusterTemplateInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterTemplateInterface.GetCalls())

func (*ClusterTemplateInterfaceMock) GetNamespaced

func (mock *ClusterTemplateInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterTemplate, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterTemplateInterfaceMock) GetNamespacedCalls

func (mock *ClusterTemplateInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterTemplateInterface.GetNamespacedCalls())

func (*ClusterTemplateInterfaceMock) List

List calls ListFunc.

func (*ClusterTemplateInterfaceMock) ListCalls

func (mock *ClusterTemplateInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterTemplateInterface.ListCalls())

func (*ClusterTemplateInterfaceMock) ListNamespaced

func (mock *ClusterTemplateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ClusterTemplateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ClusterTemplateInterfaceMock) ListNamespacedCalls

func (mock *ClusterTemplateInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterTemplateInterface.ListNamespacedCalls())

func (*ClusterTemplateInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterTemplateInterfaceMock) ObjectClientCalls

func (mock *ClusterTemplateInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterTemplateInterface.ObjectClientCalls())

func (*ClusterTemplateInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterTemplateInterfaceMock) UpdateCalls

func (mock *ClusterTemplateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterTemplate
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterTemplateInterface.UpdateCalls())

func (*ClusterTemplateInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterTemplateInterfaceMock) WatchCalls

func (mock *ClusterTemplateInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterTemplateInterface.WatchCalls())

type ClusterTemplateListerMock

type ClusterTemplateListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterTemplate, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterTemplate, error)
	// contains filtered or unexported fields
}

ClusterTemplateListerMock is a mock implementation of ClusterTemplateLister.

    func TestSomethingThatUsesClusterTemplateLister(t *testing.T) {

        // make and configure a mocked ClusterTemplateLister
        mockedClusterTemplateLister := &ClusterTemplateListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterTemplate, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterTemplate, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterTemplateLister in code that requires ClusterTemplateLister
        // and then make assertions.

    }

func (*ClusterTemplateListerMock) Get

func (mock *ClusterTemplateListerMock) Get(namespace string, name string) (*v3.ClusterTemplate, error)

Get calls GetFunc.

func (*ClusterTemplateListerMock) GetCalls

func (mock *ClusterTemplateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterTemplateLister.GetCalls())

func (*ClusterTemplateListerMock) List

func (mock *ClusterTemplateListerMock) List(namespace string, selector labels.Selector) ([]*v3.ClusterTemplate, error)

List calls ListFunc.

func (*ClusterTemplateListerMock) ListCalls

func (mock *ClusterTemplateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterTemplateLister.ListCalls())

type ClusterTemplateRevisionControllerMock

type ClusterTemplateRevisionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterTemplateRevisionHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ClusterTemplateRevisionControllerMock is a mock implementation of ClusterTemplateRevisionController.

    func TestSomethingThatUsesClusterTemplateRevisionController(t *testing.T) {

        // make and configure a mocked ClusterTemplateRevisionController
        mockedClusterTemplateRevisionController := &ClusterTemplateRevisionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ClusterTemplateRevisionHandlerFunc)  {
	               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.ClusterTemplateRevisionLister {
	               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 mockedClusterTemplateRevisionController in code that requires ClusterTemplateRevisionController
        // and then make assertions.

    }

func (*ClusterTemplateRevisionControllerMock) AddClusterScopedFeatureHandler

func (mock *ClusterTemplateRevisionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ClusterTemplateRevisionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterTemplateRevisionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterTemplateRevisionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ClusterTemplateRevisionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterTemplateRevisionController.AddClusterScopedFeatureHandlerCalls())

func (*ClusterTemplateRevisionControllerMock) AddClusterScopedHandler

func (mock *ClusterTemplateRevisionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ClusterTemplateRevisionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterTemplateRevisionControllerMock) AddClusterScopedHandlerCalls

func (mock *ClusterTemplateRevisionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ClusterTemplateRevisionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterTemplateRevisionController.AddClusterScopedHandlerCalls())

func (*ClusterTemplateRevisionControllerMock) AddFeatureHandler

func (mock *ClusterTemplateRevisionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateRevisionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterTemplateRevisionControllerMock) AddFeatureHandlerCalls

func (mock *ClusterTemplateRevisionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterTemplateRevisionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterTemplateRevisionController.AddFeatureHandlerCalls())

func (*ClusterTemplateRevisionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterTemplateRevisionControllerMock) AddHandlerCalls

func (mock *ClusterTemplateRevisionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ClusterTemplateRevisionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterTemplateRevisionController.AddHandlerCalls())

func (*ClusterTemplateRevisionControllerMock) Enqueue

func (mock *ClusterTemplateRevisionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ClusterTemplateRevisionControllerMock) EnqueueAfter

func (mock *ClusterTemplateRevisionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ClusterTemplateRevisionControllerMock) EnqueueAfterCalls

func (mock *ClusterTemplateRevisionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedClusterTemplateRevisionController.EnqueueAfterCalls())

func (*ClusterTemplateRevisionControllerMock) EnqueueCalls

func (mock *ClusterTemplateRevisionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedClusterTemplateRevisionController.EnqueueCalls())

func (*ClusterTemplateRevisionControllerMock) Generic

Generic calls GenericFunc.

func (*ClusterTemplateRevisionControllerMock) GenericCalls

func (mock *ClusterTemplateRevisionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedClusterTemplateRevisionController.GenericCalls())

func (*ClusterTemplateRevisionControllerMock) Informer

Informer calls InformerFunc.

func (*ClusterTemplateRevisionControllerMock) InformerCalls

func (mock *ClusterTemplateRevisionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedClusterTemplateRevisionController.InformerCalls())

func (*ClusterTemplateRevisionControllerMock) Lister

Lister calls ListerFunc.

func (*ClusterTemplateRevisionControllerMock) ListerCalls

func (mock *ClusterTemplateRevisionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedClusterTemplateRevisionController.ListerCalls())

func (*ClusterTemplateRevisionControllerMock) Start

func (mock *ClusterTemplateRevisionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ClusterTemplateRevisionControllerMock) StartCalls

func (mock *ClusterTemplateRevisionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedClusterTemplateRevisionController.StartCalls())

func (*ClusterTemplateRevisionControllerMock) Sync

Sync calls SyncFunc.

func (*ClusterTemplateRevisionControllerMock) SyncCalls

func (mock *ClusterTemplateRevisionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedClusterTemplateRevisionController.SyncCalls())

type ClusterTemplateRevisionInterfaceMock

type ClusterTemplateRevisionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterTemplateRevisionHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ClusterTemplateRevisionInterfaceMock is a mock implementation of ClusterTemplateRevisionInterface.

    func TestSomethingThatUsesClusterTemplateRevisionInterface(t *testing.T) {

        // make and configure a mocked ClusterTemplateRevisionInterface
        mockedClusterTemplateRevisionInterface := &ClusterTemplateRevisionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterTemplateRevisionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterTemplateRevisionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterTemplateRevisionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ClusterTemplateRevisionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ClusterTemplateRevisionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ClusterTemplateRevisionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ClusterTemplateRevision) (*v3.ClusterTemplateRevision, 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.ClusterTemplateRevision, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ClusterTemplateRevision, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ClusterTemplateRevisionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ClusterTemplateRevisionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ClusterTemplateRevision) (*v3.ClusterTemplateRevision, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedClusterTemplateRevisionInterface in code that requires ClusterTemplateRevisionInterface
        // and then make assertions.

    }

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ClusterTemplateRevisionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ClusterTemplateRevisionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddClusterScopedFeatureHandlerCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ClusterTemplateRevisionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterTemplateRevisionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedHandler

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ClusterTemplateRevisionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ClusterTemplateRevisionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddClusterScopedHandlerCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedLifecycle

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ClusterTemplateRevisionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ClusterTemplateRevisionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddClusterScopedLifecycleCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddFeatureHandler

func (mock *ClusterTemplateRevisionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ClusterTemplateRevisionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddFeatureHandlerCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ClusterTemplateRevisionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddFeatureHandlerCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddFeatureLifecycle

func (mock *ClusterTemplateRevisionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ClusterTemplateRevisionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddFeatureLifecycleCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ClusterTemplateRevisionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddFeatureLifecycleCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddHandlerCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ClusterTemplateRevisionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddHandlerCalls())

func (*ClusterTemplateRevisionInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*ClusterTemplateRevisionInterfaceMock) AddLifecycleCalls

func (mock *ClusterTemplateRevisionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ClusterTemplateRevisionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedClusterTemplateRevisionInterface.AddLifecycleCalls())

func (*ClusterTemplateRevisionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ClusterTemplateRevisionInterfaceMock) ControllerCalls

func (mock *ClusterTemplateRevisionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedClusterTemplateRevisionInterface.ControllerCalls())

func (*ClusterTemplateRevisionInterfaceMock) Create

Create calls CreateFunc.

func (*ClusterTemplateRevisionInterfaceMock) CreateCalls

func (mock *ClusterTemplateRevisionInterfaceMock) CreateCalls() []struct {
	In1 *v3.ClusterTemplateRevision
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedClusterTemplateRevisionInterface.CreateCalls())

func (*ClusterTemplateRevisionInterfaceMock) Delete

func (mock *ClusterTemplateRevisionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ClusterTemplateRevisionInterfaceMock) DeleteCalls

func (mock *ClusterTemplateRevisionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedClusterTemplateRevisionInterface.DeleteCalls())

func (*ClusterTemplateRevisionInterfaceMock) DeleteCollection

func (mock *ClusterTemplateRevisionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ClusterTemplateRevisionInterfaceMock) DeleteCollectionCalls

func (mock *ClusterTemplateRevisionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedClusterTemplateRevisionInterface.DeleteCollectionCalls())

func (*ClusterTemplateRevisionInterfaceMock) DeleteNamespaced

func (mock *ClusterTemplateRevisionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ClusterTemplateRevisionInterfaceMock) DeleteNamespacedCalls

func (mock *ClusterTemplateRevisionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedClusterTemplateRevisionInterface.DeleteNamespacedCalls())

func (*ClusterTemplateRevisionInterfaceMock) Get

Get calls GetFunc.

func (*ClusterTemplateRevisionInterfaceMock) GetCalls

func (mock *ClusterTemplateRevisionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterTemplateRevisionInterface.GetCalls())

func (*ClusterTemplateRevisionInterfaceMock) GetNamespaced

func (mock *ClusterTemplateRevisionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ClusterTemplateRevision, error)

GetNamespaced calls GetNamespacedFunc.

func (*ClusterTemplateRevisionInterfaceMock) GetNamespacedCalls

func (mock *ClusterTemplateRevisionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedClusterTemplateRevisionInterface.GetNamespacedCalls())

func (*ClusterTemplateRevisionInterfaceMock) List

List calls ListFunc.

func (*ClusterTemplateRevisionInterfaceMock) ListCalls

func (mock *ClusterTemplateRevisionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterTemplateRevisionInterface.ListCalls())

func (*ClusterTemplateRevisionInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*ClusterTemplateRevisionInterfaceMock) ListNamespacedCalls

func (mock *ClusterTemplateRevisionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedClusterTemplateRevisionInterface.ListNamespacedCalls())

func (*ClusterTemplateRevisionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ClusterTemplateRevisionInterfaceMock) ObjectClientCalls

func (mock *ClusterTemplateRevisionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedClusterTemplateRevisionInterface.ObjectClientCalls())

func (*ClusterTemplateRevisionInterfaceMock) Update

Update calls UpdateFunc.

func (*ClusterTemplateRevisionInterfaceMock) UpdateCalls

func (mock *ClusterTemplateRevisionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ClusterTemplateRevision
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedClusterTemplateRevisionInterface.UpdateCalls())

func (*ClusterTemplateRevisionInterfaceMock) Watch

Watch calls WatchFunc.

func (*ClusterTemplateRevisionInterfaceMock) WatchCalls

func (mock *ClusterTemplateRevisionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedClusterTemplateRevisionInterface.WatchCalls())

type ClusterTemplateRevisionListerMock

type ClusterTemplateRevisionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ClusterTemplateRevision, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ClusterTemplateRevision, error)
	// contains filtered or unexported fields
}

ClusterTemplateRevisionListerMock is a mock implementation of ClusterTemplateRevisionLister.

    func TestSomethingThatUsesClusterTemplateRevisionLister(t *testing.T) {

        // make and configure a mocked ClusterTemplateRevisionLister
        mockedClusterTemplateRevisionLister := &ClusterTemplateRevisionListerMock{
            GetFunc: func(namespace string, name string) (*v3.ClusterTemplateRevision, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ClusterTemplateRevision, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedClusterTemplateRevisionLister in code that requires ClusterTemplateRevisionLister
        // and then make assertions.

    }

func (*ClusterTemplateRevisionListerMock) Get

Get calls GetFunc.

func (*ClusterTemplateRevisionListerMock) GetCalls

func (mock *ClusterTemplateRevisionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedClusterTemplateRevisionLister.GetCalls())

func (*ClusterTemplateRevisionListerMock) List

List calls ListFunc.

func (*ClusterTemplateRevisionListerMock) ListCalls

func (mock *ClusterTemplateRevisionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedClusterTemplateRevisionLister.ListCalls())

type ClusterTemplateRevisionsGetterMock

type ClusterTemplateRevisionsGetterMock struct {
	// ClusterTemplateRevisionsFunc mocks the ClusterTemplateRevisions method.
	ClusterTemplateRevisionsFunc func(namespace string) v3.ClusterTemplateRevisionInterface
	// contains filtered or unexported fields
}

ClusterTemplateRevisionsGetterMock is a mock implementation of ClusterTemplateRevisionsGetter.

    func TestSomethingThatUsesClusterTemplateRevisionsGetter(t *testing.T) {

        // make and configure a mocked ClusterTemplateRevisionsGetter
        mockedClusterTemplateRevisionsGetter := &ClusterTemplateRevisionsGetterMock{
            ClusterTemplateRevisionsFunc: func(namespace string) v3.ClusterTemplateRevisionInterface {
	               panic("mock out the ClusterTemplateRevisions method")
            },
        }

        // use mockedClusterTemplateRevisionsGetter in code that requires ClusterTemplateRevisionsGetter
        // and then make assertions.

    }

func (*ClusterTemplateRevisionsGetterMock) ClusterTemplateRevisions

func (mock *ClusterTemplateRevisionsGetterMock) ClusterTemplateRevisions(namespace string) v3.ClusterTemplateRevisionInterface

ClusterTemplateRevisions calls ClusterTemplateRevisionsFunc.

func (*ClusterTemplateRevisionsGetterMock) ClusterTemplateRevisionsCalls

func (mock *ClusterTemplateRevisionsGetterMock) ClusterTemplateRevisionsCalls() []struct {
	Namespace string
}

ClusterTemplateRevisionsCalls gets all the calls that were made to ClusterTemplateRevisions. Check the length with:

len(mockedClusterTemplateRevisionsGetter.ClusterTemplateRevisionsCalls())

type ClusterTemplatesGetterMock

type ClusterTemplatesGetterMock struct {
	// ClusterTemplatesFunc mocks the ClusterTemplates method.
	ClusterTemplatesFunc func(namespace string) v3.ClusterTemplateInterface
	// contains filtered or unexported fields
}

ClusterTemplatesGetterMock is a mock implementation of ClusterTemplatesGetter.

    func TestSomethingThatUsesClusterTemplatesGetter(t *testing.T) {

        // make and configure a mocked ClusterTemplatesGetter
        mockedClusterTemplatesGetter := &ClusterTemplatesGetterMock{
            ClusterTemplatesFunc: func(namespace string) v3.ClusterTemplateInterface {
	               panic("mock out the ClusterTemplates method")
            },
        }

        // use mockedClusterTemplatesGetter in code that requires ClusterTemplatesGetter
        // and then make assertions.

    }

func (*ClusterTemplatesGetterMock) ClusterTemplates

func (mock *ClusterTemplatesGetterMock) ClusterTemplates(namespace string) v3.ClusterTemplateInterface

ClusterTemplates calls ClusterTemplatesFunc.

func (*ClusterTemplatesGetterMock) ClusterTemplatesCalls

func (mock *ClusterTemplatesGetterMock) ClusterTemplatesCalls() []struct {
	Namespace string
}

ClusterTemplatesCalls gets all the calls that were made to ClusterTemplates. Check the length with:

len(mockedClusterTemplatesGetter.ClusterTemplatesCalls())

type ClustersGetterMock

type ClustersGetterMock struct {
	// ClustersFunc mocks the Clusters method.
	ClustersFunc func(namespace string) v3.ClusterInterface
	// contains filtered or unexported fields
}

ClustersGetterMock is a mock implementation of ClustersGetter.

    func TestSomethingThatUsesClustersGetter(t *testing.T) {

        // make and configure a mocked ClustersGetter
        mockedClustersGetter := &ClustersGetterMock{
            ClustersFunc: func(namespace string) v3.ClusterInterface {
	               panic("mock out the Clusters method")
            },
        }

        // use mockedClustersGetter in code that requires ClustersGetter
        // and then make assertions.

    }

func (*ClustersGetterMock) Clusters

func (mock *ClustersGetterMock) Clusters(namespace string) v3.ClusterInterface

Clusters calls ClustersFunc.

func (*ClustersGetterMock) ClustersCalls

func (mock *ClustersGetterMock) ClustersCalls() []struct {
	Namespace string
}

ClustersCalls gets all the calls that were made to Clusters. Check the length with:

len(mockedClustersGetter.ClustersCalls())

type ComposeConfigControllerMock

type ComposeConfigControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ComposeConfigHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ComposeConfigControllerMock is a mock implementation of ComposeConfigController.

    func TestSomethingThatUsesComposeConfigController(t *testing.T) {

        // make and configure a mocked ComposeConfigController
        mockedComposeConfigController := &ComposeConfigControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ComposeConfigHandlerFunc)  {
	               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.ComposeConfigLister {
	               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 mockedComposeConfigController in code that requires ComposeConfigController
        // and then make assertions.

    }

func (*ComposeConfigControllerMock) AddClusterScopedFeatureHandler

func (mock *ComposeConfigControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ComposeConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ComposeConfigControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ComposeConfigControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ComposeConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedComposeConfigController.AddClusterScopedFeatureHandlerCalls())

func (*ComposeConfigControllerMock) AddClusterScopedHandler

func (mock *ComposeConfigControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ComposeConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ComposeConfigControllerMock) AddClusterScopedHandlerCalls

func (mock *ComposeConfigControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ComposeConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedComposeConfigController.AddClusterScopedHandlerCalls())

func (*ComposeConfigControllerMock) AddFeatureHandler

func (mock *ComposeConfigControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ComposeConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ComposeConfigControllerMock) AddFeatureHandlerCalls

func (mock *ComposeConfigControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ComposeConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedComposeConfigController.AddFeatureHandlerCalls())

func (*ComposeConfigControllerMock) AddHandler

func (mock *ComposeConfigControllerMock) AddHandler(ctx context.Context, name string, handler v3.ComposeConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ComposeConfigControllerMock) AddHandlerCalls

func (mock *ComposeConfigControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ComposeConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedComposeConfigController.AddHandlerCalls())

func (*ComposeConfigControllerMock) Enqueue

func (mock *ComposeConfigControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ComposeConfigControllerMock) EnqueueAfter

func (mock *ComposeConfigControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ComposeConfigControllerMock) EnqueueAfterCalls

func (mock *ComposeConfigControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedComposeConfigController.EnqueueAfterCalls())

func (*ComposeConfigControllerMock) EnqueueCalls

func (mock *ComposeConfigControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedComposeConfigController.EnqueueCalls())

func (*ComposeConfigControllerMock) Generic

Generic calls GenericFunc.

func (*ComposeConfigControllerMock) GenericCalls

func (mock *ComposeConfigControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedComposeConfigController.GenericCalls())

func (*ComposeConfigControllerMock) Informer

Informer calls InformerFunc.

func (*ComposeConfigControllerMock) InformerCalls

func (mock *ComposeConfigControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedComposeConfigController.InformerCalls())

func (*ComposeConfigControllerMock) Lister

Lister calls ListerFunc.

func (*ComposeConfigControllerMock) ListerCalls

func (mock *ComposeConfigControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedComposeConfigController.ListerCalls())

func (*ComposeConfigControllerMock) Start

func (mock *ComposeConfigControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ComposeConfigControllerMock) StartCalls

func (mock *ComposeConfigControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedComposeConfigController.StartCalls())

func (*ComposeConfigControllerMock) Sync

Sync calls SyncFunc.

func (*ComposeConfigControllerMock) SyncCalls

func (mock *ComposeConfigControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedComposeConfigController.SyncCalls())

type ComposeConfigInterfaceMock

type ComposeConfigInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ComposeConfigHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ComposeConfigInterfaceMock is a mock implementation of ComposeConfigInterface.

    func TestSomethingThatUsesComposeConfigInterface(t *testing.T) {

        // make and configure a mocked ComposeConfigInterface
        mockedComposeConfigInterface := &ComposeConfigInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ComposeConfigLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ComposeConfigLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ComposeConfigLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ComposeConfigLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ComposeConfigController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ComposeConfig) (*v3.ComposeConfig, 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.ComposeConfig, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ComposeConfig, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ComposeConfigList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ComposeConfigList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ComposeConfig) (*v3.ComposeConfig, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedComposeConfigInterface in code that requires ComposeConfigInterface
        // and then make assertions.

    }

func (*ComposeConfigInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ComposeConfigInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ComposeConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ComposeConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ComposeConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ComposeConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedComposeConfigInterface.AddClusterScopedFeatureHandlerCalls())

func (*ComposeConfigInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ComposeConfigInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ComposeConfigLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ComposeConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ComposeConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ComposeConfigLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedComposeConfigInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ComposeConfigInterfaceMock) AddClusterScopedHandler

func (mock *ComposeConfigInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ComposeConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ComposeConfigInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ComposeConfigInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ComposeConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedComposeConfigInterface.AddClusterScopedHandlerCalls())

func (*ComposeConfigInterfaceMock) AddClusterScopedLifecycle

func (mock *ComposeConfigInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ComposeConfigLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ComposeConfigInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ComposeConfigInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ComposeConfigLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedComposeConfigInterface.AddClusterScopedLifecycleCalls())

func (*ComposeConfigInterfaceMock) AddFeatureHandler

func (mock *ComposeConfigInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ComposeConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ComposeConfigInterfaceMock) AddFeatureHandlerCalls

func (mock *ComposeConfigInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ComposeConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedComposeConfigInterface.AddFeatureHandlerCalls())

func (*ComposeConfigInterfaceMock) AddFeatureLifecycle

func (mock *ComposeConfigInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ComposeConfigLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ComposeConfigInterfaceMock) AddFeatureLifecycleCalls

func (mock *ComposeConfigInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ComposeConfigLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedComposeConfigInterface.AddFeatureLifecycleCalls())

func (*ComposeConfigInterfaceMock) AddHandler

func (mock *ComposeConfigInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ComposeConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ComposeConfigInterfaceMock) AddHandlerCalls

func (mock *ComposeConfigInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ComposeConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedComposeConfigInterface.AddHandlerCalls())

func (*ComposeConfigInterfaceMock) AddLifecycle

func (mock *ComposeConfigInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ComposeConfigLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ComposeConfigInterfaceMock) AddLifecycleCalls

func (mock *ComposeConfigInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ComposeConfigLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedComposeConfigInterface.AddLifecycleCalls())

func (*ComposeConfigInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ComposeConfigInterfaceMock) ControllerCalls

func (mock *ComposeConfigInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedComposeConfigInterface.ControllerCalls())

func (*ComposeConfigInterfaceMock) Create

Create calls CreateFunc.

func (*ComposeConfigInterfaceMock) CreateCalls

func (mock *ComposeConfigInterfaceMock) CreateCalls() []struct {
	In1 *v3.ComposeConfig
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedComposeConfigInterface.CreateCalls())

func (*ComposeConfigInterfaceMock) Delete

func (mock *ComposeConfigInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ComposeConfigInterfaceMock) DeleteCalls

func (mock *ComposeConfigInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedComposeConfigInterface.DeleteCalls())

func (*ComposeConfigInterfaceMock) DeleteCollection

func (mock *ComposeConfigInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ComposeConfigInterfaceMock) DeleteCollectionCalls

func (mock *ComposeConfigInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedComposeConfigInterface.DeleteCollectionCalls())

func (*ComposeConfigInterfaceMock) DeleteNamespaced

func (mock *ComposeConfigInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ComposeConfigInterfaceMock) DeleteNamespacedCalls

func (mock *ComposeConfigInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedComposeConfigInterface.DeleteNamespacedCalls())

func (*ComposeConfigInterfaceMock) Get

Get calls GetFunc.

func (*ComposeConfigInterfaceMock) GetCalls

func (mock *ComposeConfigInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedComposeConfigInterface.GetCalls())

func (*ComposeConfigInterfaceMock) GetNamespaced

func (mock *ComposeConfigInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ComposeConfig, error)

GetNamespaced calls GetNamespacedFunc.

func (*ComposeConfigInterfaceMock) GetNamespacedCalls

func (mock *ComposeConfigInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedComposeConfigInterface.GetNamespacedCalls())

func (*ComposeConfigInterfaceMock) List

List calls ListFunc.

func (*ComposeConfigInterfaceMock) ListCalls

func (mock *ComposeConfigInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedComposeConfigInterface.ListCalls())

func (*ComposeConfigInterfaceMock) ListNamespaced

func (mock *ComposeConfigInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ComposeConfigList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ComposeConfigInterfaceMock) ListNamespacedCalls

func (mock *ComposeConfigInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedComposeConfigInterface.ListNamespacedCalls())

func (*ComposeConfigInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ComposeConfigInterfaceMock) ObjectClientCalls

func (mock *ComposeConfigInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedComposeConfigInterface.ObjectClientCalls())

func (*ComposeConfigInterfaceMock) Update

Update calls UpdateFunc.

func (*ComposeConfigInterfaceMock) UpdateCalls

func (mock *ComposeConfigInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ComposeConfig
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedComposeConfigInterface.UpdateCalls())

func (*ComposeConfigInterfaceMock) Watch

Watch calls WatchFunc.

func (*ComposeConfigInterfaceMock) WatchCalls

func (mock *ComposeConfigInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedComposeConfigInterface.WatchCalls())

type ComposeConfigListerMock

type ComposeConfigListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ComposeConfig, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ComposeConfig, error)
	// contains filtered or unexported fields
}

ComposeConfigListerMock is a mock implementation of ComposeConfigLister.

    func TestSomethingThatUsesComposeConfigLister(t *testing.T) {

        // make and configure a mocked ComposeConfigLister
        mockedComposeConfigLister := &ComposeConfigListerMock{
            GetFunc: func(namespace string, name string) (*v3.ComposeConfig, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ComposeConfig, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedComposeConfigLister in code that requires ComposeConfigLister
        // and then make assertions.

    }

func (*ComposeConfigListerMock) Get

func (mock *ComposeConfigListerMock) Get(namespace string, name string) (*v3.ComposeConfig, error)

Get calls GetFunc.

func (*ComposeConfigListerMock) GetCalls

func (mock *ComposeConfigListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedComposeConfigLister.GetCalls())

func (*ComposeConfigListerMock) List

func (mock *ComposeConfigListerMock) List(namespace string, selector labels.Selector) ([]*v3.ComposeConfig, error)

List calls ListFunc.

func (*ComposeConfigListerMock) ListCalls

func (mock *ComposeConfigListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedComposeConfigLister.ListCalls())

type ComposeConfigsGetterMock

type ComposeConfigsGetterMock struct {
	// ComposeConfigsFunc mocks the ComposeConfigs method.
	ComposeConfigsFunc func(namespace string) v3.ComposeConfigInterface
	// contains filtered or unexported fields
}

ComposeConfigsGetterMock is a mock implementation of ComposeConfigsGetter.

    func TestSomethingThatUsesComposeConfigsGetter(t *testing.T) {

        // make and configure a mocked ComposeConfigsGetter
        mockedComposeConfigsGetter := &ComposeConfigsGetterMock{
            ComposeConfigsFunc: func(namespace string) v3.ComposeConfigInterface {
	               panic("mock out the ComposeConfigs method")
            },
        }

        // use mockedComposeConfigsGetter in code that requires ComposeConfigsGetter
        // and then make assertions.

    }

func (*ComposeConfigsGetterMock) ComposeConfigs

func (mock *ComposeConfigsGetterMock) ComposeConfigs(namespace string) v3.ComposeConfigInterface

ComposeConfigs calls ComposeConfigsFunc.

func (*ComposeConfigsGetterMock) ComposeConfigsCalls

func (mock *ComposeConfigsGetterMock) ComposeConfigsCalls() []struct {
	Namespace string
}

ComposeConfigsCalls gets all the calls that were made to ComposeConfigs. Check the length with:

len(mockedComposeConfigsGetter.ComposeConfigsCalls())

type DynamicSchemaControllerMock

type DynamicSchemaControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.DynamicSchemaHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

DynamicSchemaControllerMock is a mock implementation of DynamicSchemaController.

    func TestSomethingThatUsesDynamicSchemaController(t *testing.T) {

        // make and configure a mocked DynamicSchemaController
        mockedDynamicSchemaController := &DynamicSchemaControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.DynamicSchemaHandlerFunc)  {
	               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.DynamicSchemaLister {
	               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 mockedDynamicSchemaController in code that requires DynamicSchemaController
        // and then make assertions.

    }

func (*DynamicSchemaControllerMock) AddClusterScopedFeatureHandler

func (mock *DynamicSchemaControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.DynamicSchemaHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DynamicSchemaControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *DynamicSchemaControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.DynamicSchemaHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedDynamicSchemaController.AddClusterScopedFeatureHandlerCalls())

func (*DynamicSchemaControllerMock) AddClusterScopedHandler

func (mock *DynamicSchemaControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.DynamicSchemaHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DynamicSchemaControllerMock) AddClusterScopedHandlerCalls

func (mock *DynamicSchemaControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.DynamicSchemaHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedDynamicSchemaController.AddClusterScopedHandlerCalls())

func (*DynamicSchemaControllerMock) AddFeatureHandler

func (mock *DynamicSchemaControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.DynamicSchemaHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DynamicSchemaControllerMock) AddFeatureHandlerCalls

func (mock *DynamicSchemaControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.DynamicSchemaHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedDynamicSchemaController.AddFeatureHandlerCalls())

func (*DynamicSchemaControllerMock) AddHandler

func (mock *DynamicSchemaControllerMock) AddHandler(ctx context.Context, name string, handler v3.DynamicSchemaHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*DynamicSchemaControllerMock) AddHandlerCalls

func (mock *DynamicSchemaControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.DynamicSchemaHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedDynamicSchemaController.AddHandlerCalls())

func (*DynamicSchemaControllerMock) Enqueue

func (mock *DynamicSchemaControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*DynamicSchemaControllerMock) EnqueueAfter

func (mock *DynamicSchemaControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*DynamicSchemaControllerMock) EnqueueAfterCalls

func (mock *DynamicSchemaControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedDynamicSchemaController.EnqueueAfterCalls())

func (*DynamicSchemaControllerMock) EnqueueCalls

func (mock *DynamicSchemaControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedDynamicSchemaController.EnqueueCalls())

func (*DynamicSchemaControllerMock) Generic

Generic calls GenericFunc.

func (*DynamicSchemaControllerMock) GenericCalls

func (mock *DynamicSchemaControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedDynamicSchemaController.GenericCalls())

func (*DynamicSchemaControllerMock) Informer

Informer calls InformerFunc.

func (*DynamicSchemaControllerMock) InformerCalls

func (mock *DynamicSchemaControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedDynamicSchemaController.InformerCalls())

func (*DynamicSchemaControllerMock) Lister

Lister calls ListerFunc.

func (*DynamicSchemaControllerMock) ListerCalls

func (mock *DynamicSchemaControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedDynamicSchemaController.ListerCalls())

func (*DynamicSchemaControllerMock) Start

func (mock *DynamicSchemaControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*DynamicSchemaControllerMock) StartCalls

func (mock *DynamicSchemaControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedDynamicSchemaController.StartCalls())

func (*DynamicSchemaControllerMock) Sync

Sync calls SyncFunc.

func (*DynamicSchemaControllerMock) SyncCalls

func (mock *DynamicSchemaControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedDynamicSchemaController.SyncCalls())

type DynamicSchemaInterfaceMock

type DynamicSchemaInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.DynamicSchemaHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

DynamicSchemaInterfaceMock is a mock implementation of DynamicSchemaInterface.

    func TestSomethingThatUsesDynamicSchemaInterface(t *testing.T) {

        // make and configure a mocked DynamicSchemaInterface
        mockedDynamicSchemaInterface := &DynamicSchemaInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.DynamicSchemaLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.DynamicSchemaLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.DynamicSchemaLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.DynamicSchemaLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.DynamicSchemaController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.DynamicSchema) (*v3.DynamicSchema, 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.DynamicSchema, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.DynamicSchema, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.DynamicSchemaList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.DynamicSchemaList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.DynamicSchema) (*v3.DynamicSchema, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedDynamicSchemaInterface in code that requires DynamicSchemaInterface
        // and then make assertions.

    }

func (*DynamicSchemaInterfaceMock) AddClusterScopedFeatureHandler

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.DynamicSchemaHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DynamicSchemaInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.DynamicSchemaHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedDynamicSchemaInterface.AddClusterScopedFeatureHandlerCalls())

func (*DynamicSchemaInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.DynamicSchemaLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*DynamicSchemaInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.DynamicSchemaLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedDynamicSchemaInterface.AddClusterScopedFeatureLifecycleCalls())

func (*DynamicSchemaInterfaceMock) AddClusterScopedHandler

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.DynamicSchemaHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DynamicSchemaInterfaceMock) AddClusterScopedHandlerCalls

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.DynamicSchemaHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedDynamicSchemaInterface.AddClusterScopedHandlerCalls())

func (*DynamicSchemaInterfaceMock) AddClusterScopedLifecycle

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.DynamicSchemaLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*DynamicSchemaInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *DynamicSchemaInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.DynamicSchemaLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedDynamicSchemaInterface.AddClusterScopedLifecycleCalls())

func (*DynamicSchemaInterfaceMock) AddFeatureHandler

func (mock *DynamicSchemaInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.DynamicSchemaHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DynamicSchemaInterfaceMock) AddFeatureHandlerCalls

func (mock *DynamicSchemaInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.DynamicSchemaHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedDynamicSchemaInterface.AddFeatureHandlerCalls())

func (*DynamicSchemaInterfaceMock) AddFeatureLifecycle

func (mock *DynamicSchemaInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.DynamicSchemaLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*DynamicSchemaInterfaceMock) AddFeatureLifecycleCalls

func (mock *DynamicSchemaInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.DynamicSchemaLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedDynamicSchemaInterface.AddFeatureLifecycleCalls())

func (*DynamicSchemaInterfaceMock) AddHandler

func (mock *DynamicSchemaInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.DynamicSchemaHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*DynamicSchemaInterfaceMock) AddHandlerCalls

func (mock *DynamicSchemaInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.DynamicSchemaHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedDynamicSchemaInterface.AddHandlerCalls())

func (*DynamicSchemaInterfaceMock) AddLifecycle

func (mock *DynamicSchemaInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.DynamicSchemaLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*DynamicSchemaInterfaceMock) AddLifecycleCalls

func (mock *DynamicSchemaInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.DynamicSchemaLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedDynamicSchemaInterface.AddLifecycleCalls())

func (*DynamicSchemaInterfaceMock) Controller

Controller calls ControllerFunc.

func (*DynamicSchemaInterfaceMock) ControllerCalls

func (mock *DynamicSchemaInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedDynamicSchemaInterface.ControllerCalls())

func (*DynamicSchemaInterfaceMock) Create

Create calls CreateFunc.

func (*DynamicSchemaInterfaceMock) CreateCalls

func (mock *DynamicSchemaInterfaceMock) CreateCalls() []struct {
	In1 *v3.DynamicSchema
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedDynamicSchemaInterface.CreateCalls())

func (*DynamicSchemaInterfaceMock) Delete

func (mock *DynamicSchemaInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*DynamicSchemaInterfaceMock) DeleteCalls

func (mock *DynamicSchemaInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedDynamicSchemaInterface.DeleteCalls())

func (*DynamicSchemaInterfaceMock) DeleteCollection

func (mock *DynamicSchemaInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*DynamicSchemaInterfaceMock) DeleteCollectionCalls

func (mock *DynamicSchemaInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedDynamicSchemaInterface.DeleteCollectionCalls())

func (*DynamicSchemaInterfaceMock) DeleteNamespaced

func (mock *DynamicSchemaInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*DynamicSchemaInterfaceMock) DeleteNamespacedCalls

func (mock *DynamicSchemaInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedDynamicSchemaInterface.DeleteNamespacedCalls())

func (*DynamicSchemaInterfaceMock) Get

Get calls GetFunc.

func (*DynamicSchemaInterfaceMock) GetCalls

func (mock *DynamicSchemaInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedDynamicSchemaInterface.GetCalls())

func (*DynamicSchemaInterfaceMock) GetNamespaced

func (mock *DynamicSchemaInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.DynamicSchema, error)

GetNamespaced calls GetNamespacedFunc.

func (*DynamicSchemaInterfaceMock) GetNamespacedCalls

func (mock *DynamicSchemaInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedDynamicSchemaInterface.GetNamespacedCalls())

func (*DynamicSchemaInterfaceMock) List

List calls ListFunc.

func (*DynamicSchemaInterfaceMock) ListCalls

func (mock *DynamicSchemaInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedDynamicSchemaInterface.ListCalls())

func (*DynamicSchemaInterfaceMock) ListNamespaced

func (mock *DynamicSchemaInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.DynamicSchemaList, error)

ListNamespaced calls ListNamespacedFunc.

func (*DynamicSchemaInterfaceMock) ListNamespacedCalls

func (mock *DynamicSchemaInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedDynamicSchemaInterface.ListNamespacedCalls())

func (*DynamicSchemaInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*DynamicSchemaInterfaceMock) ObjectClientCalls

func (mock *DynamicSchemaInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedDynamicSchemaInterface.ObjectClientCalls())

func (*DynamicSchemaInterfaceMock) Update

Update calls UpdateFunc.

func (*DynamicSchemaInterfaceMock) UpdateCalls

func (mock *DynamicSchemaInterfaceMock) UpdateCalls() []struct {
	In1 *v3.DynamicSchema
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedDynamicSchemaInterface.UpdateCalls())

func (*DynamicSchemaInterfaceMock) Watch

Watch calls WatchFunc.

func (*DynamicSchemaInterfaceMock) WatchCalls

func (mock *DynamicSchemaInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedDynamicSchemaInterface.WatchCalls())

type DynamicSchemaListerMock

type DynamicSchemaListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.DynamicSchema, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.DynamicSchema, error)
	// contains filtered or unexported fields
}

DynamicSchemaListerMock is a mock implementation of DynamicSchemaLister.

    func TestSomethingThatUsesDynamicSchemaLister(t *testing.T) {

        // make and configure a mocked DynamicSchemaLister
        mockedDynamicSchemaLister := &DynamicSchemaListerMock{
            GetFunc: func(namespace string, name string) (*v3.DynamicSchema, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.DynamicSchema, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedDynamicSchemaLister in code that requires DynamicSchemaLister
        // and then make assertions.

    }

func (*DynamicSchemaListerMock) Get

func (mock *DynamicSchemaListerMock) Get(namespace string, name string) (*v3.DynamicSchema, error)

Get calls GetFunc.

func (*DynamicSchemaListerMock) GetCalls

func (mock *DynamicSchemaListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedDynamicSchemaLister.GetCalls())

func (*DynamicSchemaListerMock) List

func (mock *DynamicSchemaListerMock) List(namespace string, selector labels.Selector) ([]*v3.DynamicSchema, error)

List calls ListFunc.

func (*DynamicSchemaListerMock) ListCalls

func (mock *DynamicSchemaListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedDynamicSchemaLister.ListCalls())

type DynamicSchemasGetterMock

type DynamicSchemasGetterMock struct {
	// DynamicSchemasFunc mocks the DynamicSchemas method.
	DynamicSchemasFunc func(namespace string) v3.DynamicSchemaInterface
	// contains filtered or unexported fields
}

DynamicSchemasGetterMock is a mock implementation of DynamicSchemasGetter.

    func TestSomethingThatUsesDynamicSchemasGetter(t *testing.T) {

        // make and configure a mocked DynamicSchemasGetter
        mockedDynamicSchemasGetter := &DynamicSchemasGetterMock{
            DynamicSchemasFunc: func(namespace string) v3.DynamicSchemaInterface {
	               panic("mock out the DynamicSchemas method")
            },
        }

        // use mockedDynamicSchemasGetter in code that requires DynamicSchemasGetter
        // and then make assertions.

    }

func (*DynamicSchemasGetterMock) DynamicSchemas

func (mock *DynamicSchemasGetterMock) DynamicSchemas(namespace string) v3.DynamicSchemaInterface

DynamicSchemas calls DynamicSchemasFunc.

func (*DynamicSchemasGetterMock) DynamicSchemasCalls

func (mock *DynamicSchemasGetterMock) DynamicSchemasCalls() []struct {
	Namespace string
}

DynamicSchemasCalls gets all the calls that were made to DynamicSchemas. Check the length with:

len(mockedDynamicSchemasGetter.DynamicSchemasCalls())

type EtcdBackupControllerMock

type EtcdBackupControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.EtcdBackupHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

EtcdBackupControllerMock is a mock implementation of EtcdBackupController.

    func TestSomethingThatUsesEtcdBackupController(t *testing.T) {

        // make and configure a mocked EtcdBackupController
        mockedEtcdBackupController := &EtcdBackupControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.EtcdBackupHandlerFunc)  {
	               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.EtcdBackupLister {
	               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 mockedEtcdBackupController in code that requires EtcdBackupController
        // and then make assertions.

    }

func (*EtcdBackupControllerMock) AddClusterScopedFeatureHandler

func (mock *EtcdBackupControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.EtcdBackupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*EtcdBackupControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *EtcdBackupControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.EtcdBackupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedEtcdBackupController.AddClusterScopedFeatureHandlerCalls())

func (*EtcdBackupControllerMock) AddClusterScopedHandler

func (mock *EtcdBackupControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.EtcdBackupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*EtcdBackupControllerMock) AddClusterScopedHandlerCalls

func (mock *EtcdBackupControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.EtcdBackupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedEtcdBackupController.AddClusterScopedHandlerCalls())

func (*EtcdBackupControllerMock) AddFeatureHandler

func (mock *EtcdBackupControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.EtcdBackupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*EtcdBackupControllerMock) AddFeatureHandlerCalls

func (mock *EtcdBackupControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.EtcdBackupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedEtcdBackupController.AddFeatureHandlerCalls())

func (*EtcdBackupControllerMock) AddHandler

func (mock *EtcdBackupControllerMock) AddHandler(ctx context.Context, name string, handler v3.EtcdBackupHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*EtcdBackupControllerMock) AddHandlerCalls

func (mock *EtcdBackupControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.EtcdBackupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedEtcdBackupController.AddHandlerCalls())

func (*EtcdBackupControllerMock) Enqueue

func (mock *EtcdBackupControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*EtcdBackupControllerMock) EnqueueAfter

func (mock *EtcdBackupControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*EtcdBackupControllerMock) EnqueueAfterCalls

func (mock *EtcdBackupControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedEtcdBackupController.EnqueueAfterCalls())

func (*EtcdBackupControllerMock) EnqueueCalls

func (mock *EtcdBackupControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedEtcdBackupController.EnqueueCalls())

func (*EtcdBackupControllerMock) Generic

Generic calls GenericFunc.

func (*EtcdBackupControllerMock) GenericCalls

func (mock *EtcdBackupControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedEtcdBackupController.GenericCalls())

func (*EtcdBackupControllerMock) Informer

Informer calls InformerFunc.

func (*EtcdBackupControllerMock) InformerCalls

func (mock *EtcdBackupControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedEtcdBackupController.InformerCalls())

func (*EtcdBackupControllerMock) Lister

Lister calls ListerFunc.

func (*EtcdBackupControllerMock) ListerCalls

func (mock *EtcdBackupControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedEtcdBackupController.ListerCalls())

func (*EtcdBackupControllerMock) Start

func (mock *EtcdBackupControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*EtcdBackupControllerMock) StartCalls

func (mock *EtcdBackupControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedEtcdBackupController.StartCalls())

func (*EtcdBackupControllerMock) Sync

Sync calls SyncFunc.

func (*EtcdBackupControllerMock) SyncCalls

func (mock *EtcdBackupControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedEtcdBackupController.SyncCalls())

type EtcdBackupInterfaceMock

type EtcdBackupInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.EtcdBackupHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

EtcdBackupInterfaceMock is a mock implementation of EtcdBackupInterface.

    func TestSomethingThatUsesEtcdBackupInterface(t *testing.T) {

        // make and configure a mocked EtcdBackupInterface
        mockedEtcdBackupInterface := &EtcdBackupInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.EtcdBackupLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.EtcdBackupLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.EtcdBackupLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.EtcdBackupLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.EtcdBackupController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.EtcdBackup) (*v3.EtcdBackup, 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.EtcdBackup, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.EtcdBackup, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.EtcdBackupList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.EtcdBackupList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.EtcdBackup) (*v3.EtcdBackup, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedEtcdBackupInterface in code that requires EtcdBackupInterface
        // and then make assertions.

    }

func (*EtcdBackupInterfaceMock) AddClusterScopedFeatureHandler

func (mock *EtcdBackupInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.EtcdBackupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*EtcdBackupInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *EtcdBackupInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.EtcdBackupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedEtcdBackupInterface.AddClusterScopedFeatureHandlerCalls())

func (*EtcdBackupInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *EtcdBackupInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.EtcdBackupLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*EtcdBackupInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *EtcdBackupInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.EtcdBackupLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedEtcdBackupInterface.AddClusterScopedFeatureLifecycleCalls())

func (*EtcdBackupInterfaceMock) AddClusterScopedHandler

func (mock *EtcdBackupInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.EtcdBackupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*EtcdBackupInterfaceMock) AddClusterScopedHandlerCalls

func (mock *EtcdBackupInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.EtcdBackupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedEtcdBackupInterface.AddClusterScopedHandlerCalls())

func (*EtcdBackupInterfaceMock) AddClusterScopedLifecycle

func (mock *EtcdBackupInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.EtcdBackupLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*EtcdBackupInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *EtcdBackupInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.EtcdBackupLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedEtcdBackupInterface.AddClusterScopedLifecycleCalls())

func (*EtcdBackupInterfaceMock) AddFeatureHandler

func (mock *EtcdBackupInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.EtcdBackupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*EtcdBackupInterfaceMock) AddFeatureHandlerCalls

func (mock *EtcdBackupInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.EtcdBackupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedEtcdBackupInterface.AddFeatureHandlerCalls())

func (*EtcdBackupInterfaceMock) AddFeatureLifecycle

func (mock *EtcdBackupInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.EtcdBackupLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*EtcdBackupInterfaceMock) AddFeatureLifecycleCalls

func (mock *EtcdBackupInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.EtcdBackupLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedEtcdBackupInterface.AddFeatureLifecycleCalls())

func (*EtcdBackupInterfaceMock) AddHandler

func (mock *EtcdBackupInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.EtcdBackupHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*EtcdBackupInterfaceMock) AddHandlerCalls

func (mock *EtcdBackupInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.EtcdBackupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedEtcdBackupInterface.AddHandlerCalls())

func (*EtcdBackupInterfaceMock) AddLifecycle

func (mock *EtcdBackupInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.EtcdBackupLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*EtcdBackupInterfaceMock) AddLifecycleCalls

func (mock *EtcdBackupInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.EtcdBackupLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedEtcdBackupInterface.AddLifecycleCalls())

func (*EtcdBackupInterfaceMock) Controller

func (mock *EtcdBackupInterfaceMock) Controller() v3.EtcdBackupController

Controller calls ControllerFunc.

func (*EtcdBackupInterfaceMock) ControllerCalls

func (mock *EtcdBackupInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedEtcdBackupInterface.ControllerCalls())

func (*EtcdBackupInterfaceMock) Create

func (mock *EtcdBackupInterfaceMock) Create(in1 *v3.EtcdBackup) (*v3.EtcdBackup, error)

Create calls CreateFunc.

func (*EtcdBackupInterfaceMock) CreateCalls

func (mock *EtcdBackupInterfaceMock) CreateCalls() []struct {
	In1 *v3.EtcdBackup
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedEtcdBackupInterface.CreateCalls())

func (*EtcdBackupInterfaceMock) Delete

func (mock *EtcdBackupInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*EtcdBackupInterfaceMock) DeleteCalls

func (mock *EtcdBackupInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedEtcdBackupInterface.DeleteCalls())

func (*EtcdBackupInterfaceMock) DeleteCollection

func (mock *EtcdBackupInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*EtcdBackupInterfaceMock) DeleteCollectionCalls

func (mock *EtcdBackupInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedEtcdBackupInterface.DeleteCollectionCalls())

func (*EtcdBackupInterfaceMock) DeleteNamespaced

func (mock *EtcdBackupInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*EtcdBackupInterfaceMock) DeleteNamespacedCalls

func (mock *EtcdBackupInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedEtcdBackupInterface.DeleteNamespacedCalls())

func (*EtcdBackupInterfaceMock) Get

func (mock *EtcdBackupInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.EtcdBackup, error)

Get calls GetFunc.

func (*EtcdBackupInterfaceMock) GetCalls

func (mock *EtcdBackupInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedEtcdBackupInterface.GetCalls())

func (*EtcdBackupInterfaceMock) GetNamespaced

func (mock *EtcdBackupInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.EtcdBackup, error)

GetNamespaced calls GetNamespacedFunc.

func (*EtcdBackupInterfaceMock) GetNamespacedCalls

func (mock *EtcdBackupInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedEtcdBackupInterface.GetNamespacedCalls())

func (*EtcdBackupInterfaceMock) List

List calls ListFunc.

func (*EtcdBackupInterfaceMock) ListCalls

func (mock *EtcdBackupInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedEtcdBackupInterface.ListCalls())

func (*EtcdBackupInterfaceMock) ListNamespaced

func (mock *EtcdBackupInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.EtcdBackupList, error)

ListNamespaced calls ListNamespacedFunc.

func (*EtcdBackupInterfaceMock) ListNamespacedCalls

func (mock *EtcdBackupInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedEtcdBackupInterface.ListNamespacedCalls())

func (*EtcdBackupInterfaceMock) ObjectClient

func (mock *EtcdBackupInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*EtcdBackupInterfaceMock) ObjectClientCalls

func (mock *EtcdBackupInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedEtcdBackupInterface.ObjectClientCalls())

func (*EtcdBackupInterfaceMock) Update

func (mock *EtcdBackupInterfaceMock) Update(in1 *v3.EtcdBackup) (*v3.EtcdBackup, error)

Update calls UpdateFunc.

func (*EtcdBackupInterfaceMock) UpdateCalls

func (mock *EtcdBackupInterfaceMock) UpdateCalls() []struct {
	In1 *v3.EtcdBackup
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedEtcdBackupInterface.UpdateCalls())

func (*EtcdBackupInterfaceMock) Watch

Watch calls WatchFunc.

func (*EtcdBackupInterfaceMock) WatchCalls

func (mock *EtcdBackupInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedEtcdBackupInterface.WatchCalls())

type EtcdBackupListerMock

type EtcdBackupListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.EtcdBackup, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.EtcdBackup, error)
	// contains filtered or unexported fields
}

EtcdBackupListerMock is a mock implementation of EtcdBackupLister.

    func TestSomethingThatUsesEtcdBackupLister(t *testing.T) {

        // make and configure a mocked EtcdBackupLister
        mockedEtcdBackupLister := &EtcdBackupListerMock{
            GetFunc: func(namespace string, name string) (*v3.EtcdBackup, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.EtcdBackup, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedEtcdBackupLister in code that requires EtcdBackupLister
        // and then make assertions.

    }

func (*EtcdBackupListerMock) Get

func (mock *EtcdBackupListerMock) Get(namespace string, name string) (*v3.EtcdBackup, error)

Get calls GetFunc.

func (*EtcdBackupListerMock) GetCalls

func (mock *EtcdBackupListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedEtcdBackupLister.GetCalls())

func (*EtcdBackupListerMock) List

func (mock *EtcdBackupListerMock) List(namespace string, selector labels.Selector) ([]*v3.EtcdBackup, error)

List calls ListFunc.

func (*EtcdBackupListerMock) ListCalls

func (mock *EtcdBackupListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedEtcdBackupLister.ListCalls())

type EtcdBackupsGetterMock

type EtcdBackupsGetterMock struct {
	// EtcdBackupsFunc mocks the EtcdBackups method.
	EtcdBackupsFunc func(namespace string) v3.EtcdBackupInterface
	// contains filtered or unexported fields
}

EtcdBackupsGetterMock is a mock implementation of EtcdBackupsGetter.

    func TestSomethingThatUsesEtcdBackupsGetter(t *testing.T) {

        // make and configure a mocked EtcdBackupsGetter
        mockedEtcdBackupsGetter := &EtcdBackupsGetterMock{
            EtcdBackupsFunc: func(namespace string) v3.EtcdBackupInterface {
	               panic("mock out the EtcdBackups method")
            },
        }

        // use mockedEtcdBackupsGetter in code that requires EtcdBackupsGetter
        // and then make assertions.

    }

func (*EtcdBackupsGetterMock) EtcdBackups

func (mock *EtcdBackupsGetterMock) EtcdBackups(namespace string) v3.EtcdBackupInterface

EtcdBackups calls EtcdBackupsFunc.

func (*EtcdBackupsGetterMock) EtcdBackupsCalls

func (mock *EtcdBackupsGetterMock) EtcdBackupsCalls() []struct {
	Namespace string
}

EtcdBackupsCalls gets all the calls that were made to EtcdBackups. Check the length with:

len(mockedEtcdBackupsGetter.EtcdBackupsCalls())

type FeatureControllerMock

type FeatureControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.FeatureHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

FeatureControllerMock is a mock implementation of FeatureController.

    func TestSomethingThatUsesFeatureController(t *testing.T) {

        // make and configure a mocked FeatureController
        mockedFeatureController := &FeatureControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.FeatureHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.FeatureHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.FeatureHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.FeatureHandlerFunc)  {
	               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.FeatureLister {
	               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 mockedFeatureController in code that requires FeatureController
        // and then make assertions.

    }

func (*FeatureControllerMock) AddClusterScopedFeatureHandler

func (mock *FeatureControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.FeatureHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*FeatureControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *FeatureControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.FeatureHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedFeatureController.AddClusterScopedFeatureHandlerCalls())

func (*FeatureControllerMock) AddClusterScopedHandler

func (mock *FeatureControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.FeatureHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*FeatureControllerMock) AddClusterScopedHandlerCalls

func (mock *FeatureControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.FeatureHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedFeatureController.AddClusterScopedHandlerCalls())

func (*FeatureControllerMock) AddFeatureHandler

func (mock *FeatureControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.FeatureHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*FeatureControllerMock) AddFeatureHandlerCalls

func (mock *FeatureControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.FeatureHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedFeatureController.AddFeatureHandlerCalls())

func (*FeatureControllerMock) AddHandler

func (mock *FeatureControllerMock) AddHandler(ctx context.Context, name string, handler v3.FeatureHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*FeatureControllerMock) AddHandlerCalls

func (mock *FeatureControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.FeatureHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedFeatureController.AddHandlerCalls())

func (*FeatureControllerMock) Enqueue

func (mock *FeatureControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*FeatureControllerMock) EnqueueAfter

func (mock *FeatureControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*FeatureControllerMock) EnqueueAfterCalls

func (mock *FeatureControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedFeatureController.EnqueueAfterCalls())

func (*FeatureControllerMock) EnqueueCalls

func (mock *FeatureControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedFeatureController.EnqueueCalls())

func (*FeatureControllerMock) Generic

Generic calls GenericFunc.

func (*FeatureControllerMock) GenericCalls

func (mock *FeatureControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedFeatureController.GenericCalls())

func (*FeatureControllerMock) Informer

Informer calls InformerFunc.

func (*FeatureControllerMock) InformerCalls

func (mock *FeatureControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedFeatureController.InformerCalls())

func (*FeatureControllerMock) Lister

func (mock *FeatureControllerMock) Lister() v3.FeatureLister

Lister calls ListerFunc.

func (*FeatureControllerMock) ListerCalls

func (mock *FeatureControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedFeatureController.ListerCalls())

func (*FeatureControllerMock) Start

func (mock *FeatureControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*FeatureControllerMock) StartCalls

func (mock *FeatureControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedFeatureController.StartCalls())

func (*FeatureControllerMock) Sync

func (mock *FeatureControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*FeatureControllerMock) SyncCalls

func (mock *FeatureControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedFeatureController.SyncCalls())

type FeatureInterfaceMock

type FeatureInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.FeatureHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

FeatureInterfaceMock is a mock implementation of FeatureInterface.

    func TestSomethingThatUsesFeatureInterface(t *testing.T) {

        // make and configure a mocked FeatureInterface
        mockedFeatureInterface := &FeatureInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.FeatureHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.FeatureLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.FeatureHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.FeatureLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.FeatureHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.FeatureLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.FeatureHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.FeatureLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.FeatureController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Feature) (*v3.Feature, 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.Feature, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Feature, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.FeatureList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.FeatureList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Feature) (*v3.Feature, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedFeatureInterface in code that requires FeatureInterface
        // and then make assertions.

    }

func (*FeatureInterfaceMock) AddClusterScopedFeatureHandler

func (mock *FeatureInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.FeatureHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*FeatureInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *FeatureInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.FeatureHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedFeatureInterface.AddClusterScopedFeatureHandlerCalls())

func (*FeatureInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *FeatureInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.FeatureLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*FeatureInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *FeatureInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.FeatureLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedFeatureInterface.AddClusterScopedFeatureLifecycleCalls())

func (*FeatureInterfaceMock) AddClusterScopedHandler

func (mock *FeatureInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.FeatureHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*FeatureInterfaceMock) AddClusterScopedHandlerCalls

func (mock *FeatureInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.FeatureHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedFeatureInterface.AddClusterScopedHandlerCalls())

func (*FeatureInterfaceMock) AddClusterScopedLifecycle

func (mock *FeatureInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.FeatureLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*FeatureInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *FeatureInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.FeatureLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedFeatureInterface.AddClusterScopedLifecycleCalls())

func (*FeatureInterfaceMock) AddFeatureHandler

func (mock *FeatureInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.FeatureHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*FeatureInterfaceMock) AddFeatureHandlerCalls

func (mock *FeatureInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.FeatureHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedFeatureInterface.AddFeatureHandlerCalls())

func (*FeatureInterfaceMock) AddFeatureLifecycle

func (mock *FeatureInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.FeatureLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*FeatureInterfaceMock) AddFeatureLifecycleCalls

func (mock *FeatureInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.FeatureLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedFeatureInterface.AddFeatureLifecycleCalls())

func (*FeatureInterfaceMock) AddHandler

func (mock *FeatureInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.FeatureHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*FeatureInterfaceMock) AddHandlerCalls

func (mock *FeatureInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.FeatureHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedFeatureInterface.AddHandlerCalls())

func (*FeatureInterfaceMock) AddLifecycle

func (mock *FeatureInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.FeatureLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*FeatureInterfaceMock) AddLifecycleCalls

func (mock *FeatureInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.FeatureLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedFeatureInterface.AddLifecycleCalls())

func (*FeatureInterfaceMock) Controller

func (mock *FeatureInterfaceMock) Controller() v3.FeatureController

Controller calls ControllerFunc.

func (*FeatureInterfaceMock) ControllerCalls

func (mock *FeatureInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedFeatureInterface.ControllerCalls())

func (*FeatureInterfaceMock) Create

func (mock *FeatureInterfaceMock) Create(in1 *v3.Feature) (*v3.Feature, error)

Create calls CreateFunc.

func (*FeatureInterfaceMock) CreateCalls

func (mock *FeatureInterfaceMock) CreateCalls() []struct {
	In1 *v3.Feature
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedFeatureInterface.CreateCalls())

func (*FeatureInterfaceMock) Delete

func (mock *FeatureInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*FeatureInterfaceMock) DeleteCalls

func (mock *FeatureInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedFeatureInterface.DeleteCalls())

func (*FeatureInterfaceMock) DeleteCollection

func (mock *FeatureInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*FeatureInterfaceMock) DeleteCollectionCalls

func (mock *FeatureInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedFeatureInterface.DeleteCollectionCalls())

func (*FeatureInterfaceMock) DeleteNamespaced

func (mock *FeatureInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*FeatureInterfaceMock) DeleteNamespacedCalls

func (mock *FeatureInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedFeatureInterface.DeleteNamespacedCalls())

func (*FeatureInterfaceMock) Get

func (mock *FeatureInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Feature, error)

Get calls GetFunc.

func (*FeatureInterfaceMock) GetCalls

func (mock *FeatureInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedFeatureInterface.GetCalls())

func (*FeatureInterfaceMock) GetNamespaced

func (mock *FeatureInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Feature, error)

GetNamespaced calls GetNamespacedFunc.

func (*FeatureInterfaceMock) GetNamespacedCalls

func (mock *FeatureInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedFeatureInterface.GetNamespacedCalls())

func (*FeatureInterfaceMock) List

func (mock *FeatureInterfaceMock) List(opts v1.ListOptions) (*v3.FeatureList, error)

List calls ListFunc.

func (*FeatureInterfaceMock) ListCalls

func (mock *FeatureInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedFeatureInterface.ListCalls())

func (*FeatureInterfaceMock) ListNamespaced

func (mock *FeatureInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.FeatureList, error)

ListNamespaced calls ListNamespacedFunc.

func (*FeatureInterfaceMock) ListNamespacedCalls

func (mock *FeatureInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedFeatureInterface.ListNamespacedCalls())

func (*FeatureInterfaceMock) ObjectClient

func (mock *FeatureInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*FeatureInterfaceMock) ObjectClientCalls

func (mock *FeatureInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedFeatureInterface.ObjectClientCalls())

func (*FeatureInterfaceMock) Update

func (mock *FeatureInterfaceMock) Update(in1 *v3.Feature) (*v3.Feature, error)

Update calls UpdateFunc.

func (*FeatureInterfaceMock) UpdateCalls

func (mock *FeatureInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Feature
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedFeatureInterface.UpdateCalls())

func (*FeatureInterfaceMock) Watch

func (mock *FeatureInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*FeatureInterfaceMock) WatchCalls

func (mock *FeatureInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedFeatureInterface.WatchCalls())

type FeatureListerMock

type FeatureListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Feature, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Feature, error)
	// contains filtered or unexported fields
}

FeatureListerMock is a mock implementation of FeatureLister.

    func TestSomethingThatUsesFeatureLister(t *testing.T) {

        // make and configure a mocked FeatureLister
        mockedFeatureLister := &FeatureListerMock{
            GetFunc: func(namespace string, name string) (*v3.Feature, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Feature, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedFeatureLister in code that requires FeatureLister
        // and then make assertions.

    }

func (*FeatureListerMock) Get

func (mock *FeatureListerMock) Get(namespace string, name string) (*v3.Feature, error)

Get calls GetFunc.

func (*FeatureListerMock) GetCalls

func (mock *FeatureListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedFeatureLister.GetCalls())

func (*FeatureListerMock) List

func (mock *FeatureListerMock) List(namespace string, selector labels.Selector) ([]*v3.Feature, error)

List calls ListFunc.

func (*FeatureListerMock) ListCalls

func (mock *FeatureListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedFeatureLister.ListCalls())

type FeaturesGetterMock

type FeaturesGetterMock struct {
	// FeaturesFunc mocks the Features method.
	FeaturesFunc func(namespace string) v3.FeatureInterface
	// contains filtered or unexported fields
}

FeaturesGetterMock is a mock implementation of FeaturesGetter.

    func TestSomethingThatUsesFeaturesGetter(t *testing.T) {

        // make and configure a mocked FeaturesGetter
        mockedFeaturesGetter := &FeaturesGetterMock{
            FeaturesFunc: func(namespace string) v3.FeatureInterface {
	               panic("mock out the Features method")
            },
        }

        // use mockedFeaturesGetter in code that requires FeaturesGetter
        // and then make assertions.

    }

func (*FeaturesGetterMock) Features

func (mock *FeaturesGetterMock) Features(namespace string) v3.FeatureInterface

Features calls FeaturesFunc.

func (*FeaturesGetterMock) FeaturesCalls

func (mock *FeaturesGetterMock) FeaturesCalls() []struct {
	Namespace string
}

FeaturesCalls gets all the calls that were made to Features. Check the length with:

len(mockedFeaturesGetter.FeaturesCalls())

type GlobalDNSControllerMock

type GlobalDNSControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalDNSHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

GlobalDNSControllerMock is a mock implementation of GlobalDNSController.

    func TestSomethingThatUsesGlobalDNSController(t *testing.T) {

        // make and configure a mocked GlobalDNSController
        mockedGlobalDNSController := &GlobalDNSControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.GlobalDNSHandlerFunc)  {
	               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.GlobalDNSLister {
	               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 mockedGlobalDNSController in code that requires GlobalDNSController
        // and then make assertions.

    }

func (*GlobalDNSControllerMock) AddClusterScopedFeatureHandler

func (mock *GlobalDNSControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalDNSHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalDNSControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalDNSControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.GlobalDNSHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalDNSController.AddClusterScopedFeatureHandlerCalls())

func (*GlobalDNSControllerMock) AddClusterScopedHandler

func (mock *GlobalDNSControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.GlobalDNSHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalDNSControllerMock) AddClusterScopedHandlerCalls

func (mock *GlobalDNSControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.GlobalDNSHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalDNSController.AddClusterScopedHandlerCalls())

func (*GlobalDNSControllerMock) AddFeatureHandler

func (mock *GlobalDNSControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalDNSControllerMock) AddFeatureHandlerCalls

func (mock *GlobalDNSControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalDNSHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalDNSController.AddFeatureHandlerCalls())

func (*GlobalDNSControllerMock) AddHandler

func (mock *GlobalDNSControllerMock) AddHandler(ctx context.Context, name string, handler v3.GlobalDNSHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GlobalDNSControllerMock) AddHandlerCalls

func (mock *GlobalDNSControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.GlobalDNSHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalDNSController.AddHandlerCalls())

func (*GlobalDNSControllerMock) Enqueue

func (mock *GlobalDNSControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*GlobalDNSControllerMock) EnqueueAfter

func (mock *GlobalDNSControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*GlobalDNSControllerMock) EnqueueAfterCalls

func (mock *GlobalDNSControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedGlobalDNSController.EnqueueAfterCalls())

func (*GlobalDNSControllerMock) EnqueueCalls

func (mock *GlobalDNSControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedGlobalDNSController.EnqueueCalls())

func (*GlobalDNSControllerMock) Generic

Generic calls GenericFunc.

func (*GlobalDNSControllerMock) GenericCalls

func (mock *GlobalDNSControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedGlobalDNSController.GenericCalls())

func (*GlobalDNSControllerMock) Informer

Informer calls InformerFunc.

func (*GlobalDNSControllerMock) InformerCalls

func (mock *GlobalDNSControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedGlobalDNSController.InformerCalls())

func (*GlobalDNSControllerMock) Lister

Lister calls ListerFunc.

func (*GlobalDNSControllerMock) ListerCalls

func (mock *GlobalDNSControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedGlobalDNSController.ListerCalls())

func (*GlobalDNSControllerMock) Start

func (mock *GlobalDNSControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*GlobalDNSControllerMock) StartCalls

func (mock *GlobalDNSControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedGlobalDNSController.StartCalls())

func (*GlobalDNSControllerMock) Sync

func (mock *GlobalDNSControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*GlobalDNSControllerMock) SyncCalls

func (mock *GlobalDNSControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedGlobalDNSController.SyncCalls())

type GlobalDNSInterfaceMock

type GlobalDNSInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalDNSHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

GlobalDNSInterfaceMock is a mock implementation of GlobalDNSInterface.

    func TestSomethingThatUsesGlobalDNSInterface(t *testing.T) {

        // make and configure a mocked GlobalDNSInterface
        mockedGlobalDNSInterface := &GlobalDNSInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalDNSLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalDNSLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalDNSLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.GlobalDNSLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.GlobalDNSController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.GlobalDNS) (*v3.GlobalDNS, 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.GlobalDNS, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.GlobalDNS, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.GlobalDNSList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.GlobalDNSList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.GlobalDNS) (*v3.GlobalDNS, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGlobalDNSInterface in code that requires GlobalDNSInterface
        // and then make assertions.

    }

func (*GlobalDNSInterfaceMock) AddClusterScopedFeatureHandler

func (mock *GlobalDNSInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalDNSHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalDNSInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalDNSInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.GlobalDNSHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalDNSInterface.AddClusterScopedFeatureHandlerCalls())

func (*GlobalDNSInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *GlobalDNSInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalDNSLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*GlobalDNSInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *GlobalDNSInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalDNSLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedGlobalDNSInterface.AddClusterScopedFeatureLifecycleCalls())

func (*GlobalDNSInterfaceMock) AddClusterScopedHandler

func (mock *GlobalDNSInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.GlobalDNSHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalDNSInterfaceMock) AddClusterScopedHandlerCalls

func (mock *GlobalDNSInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.GlobalDNSHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalDNSInterface.AddClusterScopedHandlerCalls())

func (*GlobalDNSInterfaceMock) AddClusterScopedLifecycle

func (mock *GlobalDNSInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalDNSLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*GlobalDNSInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *GlobalDNSInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalDNSLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedGlobalDNSInterface.AddClusterScopedLifecycleCalls())

func (*GlobalDNSInterfaceMock) AddFeatureHandler

func (mock *GlobalDNSInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalDNSInterfaceMock) AddFeatureHandlerCalls

func (mock *GlobalDNSInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalDNSHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalDNSInterface.AddFeatureHandlerCalls())

func (*GlobalDNSInterfaceMock) AddFeatureLifecycle

func (mock *GlobalDNSInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalDNSLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*GlobalDNSInterfaceMock) AddFeatureLifecycleCalls

func (mock *GlobalDNSInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.GlobalDNSLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedGlobalDNSInterface.AddFeatureLifecycleCalls())

func (*GlobalDNSInterfaceMock) AddHandler

func (mock *GlobalDNSInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.GlobalDNSHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GlobalDNSInterfaceMock) AddHandlerCalls

func (mock *GlobalDNSInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.GlobalDNSHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalDNSInterface.AddHandlerCalls())

func (*GlobalDNSInterfaceMock) AddLifecycle

func (mock *GlobalDNSInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.GlobalDNSLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*GlobalDNSInterfaceMock) AddLifecycleCalls

func (mock *GlobalDNSInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.GlobalDNSLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedGlobalDNSInterface.AddLifecycleCalls())

func (*GlobalDNSInterfaceMock) Controller

func (mock *GlobalDNSInterfaceMock) Controller() v3.GlobalDNSController

Controller calls ControllerFunc.

func (*GlobalDNSInterfaceMock) ControllerCalls

func (mock *GlobalDNSInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedGlobalDNSInterface.ControllerCalls())

func (*GlobalDNSInterfaceMock) Create

func (mock *GlobalDNSInterfaceMock) Create(in1 *v3.GlobalDNS) (*v3.GlobalDNS, error)

Create calls CreateFunc.

func (*GlobalDNSInterfaceMock) CreateCalls

func (mock *GlobalDNSInterfaceMock) CreateCalls() []struct {
	In1 *v3.GlobalDNS
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedGlobalDNSInterface.CreateCalls())

func (*GlobalDNSInterfaceMock) Delete

func (mock *GlobalDNSInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*GlobalDNSInterfaceMock) DeleteCalls

func (mock *GlobalDNSInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedGlobalDNSInterface.DeleteCalls())

func (*GlobalDNSInterfaceMock) DeleteCollection

func (mock *GlobalDNSInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*GlobalDNSInterfaceMock) DeleteCollectionCalls

func (mock *GlobalDNSInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedGlobalDNSInterface.DeleteCollectionCalls())

func (*GlobalDNSInterfaceMock) DeleteNamespaced

func (mock *GlobalDNSInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*GlobalDNSInterfaceMock) DeleteNamespacedCalls

func (mock *GlobalDNSInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedGlobalDNSInterface.DeleteNamespacedCalls())

func (*GlobalDNSInterfaceMock) Get

func (mock *GlobalDNSInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.GlobalDNS, error)

Get calls GetFunc.

func (*GlobalDNSInterfaceMock) GetCalls

func (mock *GlobalDNSInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalDNSInterface.GetCalls())

func (*GlobalDNSInterfaceMock) GetNamespaced

func (mock *GlobalDNSInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.GlobalDNS, error)

GetNamespaced calls GetNamespacedFunc.

func (*GlobalDNSInterfaceMock) GetNamespacedCalls

func (mock *GlobalDNSInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedGlobalDNSInterface.GetNamespacedCalls())

func (*GlobalDNSInterfaceMock) List

List calls ListFunc.

func (*GlobalDNSInterfaceMock) ListCalls

func (mock *GlobalDNSInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalDNSInterface.ListCalls())

func (*GlobalDNSInterfaceMock) ListNamespaced

func (mock *GlobalDNSInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.GlobalDNSList, error)

ListNamespaced calls ListNamespacedFunc.

func (*GlobalDNSInterfaceMock) ListNamespacedCalls

func (mock *GlobalDNSInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedGlobalDNSInterface.ListNamespacedCalls())

func (*GlobalDNSInterfaceMock) ObjectClient

func (mock *GlobalDNSInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*GlobalDNSInterfaceMock) ObjectClientCalls

func (mock *GlobalDNSInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedGlobalDNSInterface.ObjectClientCalls())

func (*GlobalDNSInterfaceMock) Update

func (mock *GlobalDNSInterfaceMock) Update(in1 *v3.GlobalDNS) (*v3.GlobalDNS, error)

Update calls UpdateFunc.

func (*GlobalDNSInterfaceMock) UpdateCalls

func (mock *GlobalDNSInterfaceMock) UpdateCalls() []struct {
	In1 *v3.GlobalDNS
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedGlobalDNSInterface.UpdateCalls())

func (*GlobalDNSInterfaceMock) Watch

Watch calls WatchFunc.

func (*GlobalDNSInterfaceMock) WatchCalls

func (mock *GlobalDNSInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedGlobalDNSInterface.WatchCalls())

type GlobalDNSListerMock

type GlobalDNSListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.GlobalDNS, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.GlobalDNS, error)
	// contains filtered or unexported fields
}

GlobalDNSListerMock is a mock implementation of GlobalDNSLister.

    func TestSomethingThatUsesGlobalDNSLister(t *testing.T) {

        // make and configure a mocked GlobalDNSLister
        mockedGlobalDNSLister := &GlobalDNSListerMock{
            GetFunc: func(namespace string, name string) (*v3.GlobalDNS, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.GlobalDNS, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGlobalDNSLister in code that requires GlobalDNSLister
        // and then make assertions.

    }

func (*GlobalDNSListerMock) Get

func (mock *GlobalDNSListerMock) Get(namespace string, name string) (*v3.GlobalDNS, error)

Get calls GetFunc.

func (*GlobalDNSListerMock) GetCalls

func (mock *GlobalDNSListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalDNSLister.GetCalls())

func (*GlobalDNSListerMock) List

func (mock *GlobalDNSListerMock) List(namespace string, selector labels.Selector) ([]*v3.GlobalDNS, error)

List calls ListFunc.

func (*GlobalDNSListerMock) ListCalls

func (mock *GlobalDNSListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalDNSLister.ListCalls())

type GlobalDNSProviderControllerMock

type GlobalDNSProviderControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalDNSProviderHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

GlobalDNSProviderControllerMock is a mock implementation of GlobalDNSProviderController.

    func TestSomethingThatUsesGlobalDNSProviderController(t *testing.T) {

        // make and configure a mocked GlobalDNSProviderController
        mockedGlobalDNSProviderController := &GlobalDNSProviderControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.GlobalDNSProviderHandlerFunc)  {
	               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.GlobalDNSProviderLister {
	               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 mockedGlobalDNSProviderController in code that requires GlobalDNSProviderController
        // and then make assertions.

    }

func (*GlobalDNSProviderControllerMock) AddClusterScopedFeatureHandler

func (mock *GlobalDNSProviderControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalDNSProviderHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalDNSProviderControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalDNSProviderControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.GlobalDNSProviderHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalDNSProviderController.AddClusterScopedFeatureHandlerCalls())

func (*GlobalDNSProviderControllerMock) AddClusterScopedHandler

func (mock *GlobalDNSProviderControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.GlobalDNSProviderHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalDNSProviderControllerMock) AddClusterScopedHandlerCalls

func (mock *GlobalDNSProviderControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.GlobalDNSProviderHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalDNSProviderController.AddClusterScopedHandlerCalls())

func (*GlobalDNSProviderControllerMock) AddFeatureHandler

func (mock *GlobalDNSProviderControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSProviderHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalDNSProviderControllerMock) AddFeatureHandlerCalls

func (mock *GlobalDNSProviderControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalDNSProviderHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalDNSProviderController.AddFeatureHandlerCalls())

func (*GlobalDNSProviderControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*GlobalDNSProviderControllerMock) AddHandlerCalls

func (mock *GlobalDNSProviderControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.GlobalDNSProviderHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalDNSProviderController.AddHandlerCalls())

func (*GlobalDNSProviderControllerMock) Enqueue

func (mock *GlobalDNSProviderControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*GlobalDNSProviderControllerMock) EnqueueAfter

func (mock *GlobalDNSProviderControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*GlobalDNSProviderControllerMock) EnqueueAfterCalls

func (mock *GlobalDNSProviderControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedGlobalDNSProviderController.EnqueueAfterCalls())

func (*GlobalDNSProviderControllerMock) EnqueueCalls

func (mock *GlobalDNSProviderControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedGlobalDNSProviderController.EnqueueCalls())

func (*GlobalDNSProviderControllerMock) Generic

Generic calls GenericFunc.

func (*GlobalDNSProviderControllerMock) GenericCalls

func (mock *GlobalDNSProviderControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedGlobalDNSProviderController.GenericCalls())

func (*GlobalDNSProviderControllerMock) Informer

Informer calls InformerFunc.

func (*GlobalDNSProviderControllerMock) InformerCalls

func (mock *GlobalDNSProviderControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedGlobalDNSProviderController.InformerCalls())

func (*GlobalDNSProviderControllerMock) Lister

Lister calls ListerFunc.

func (*GlobalDNSProviderControllerMock) ListerCalls

func (mock *GlobalDNSProviderControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedGlobalDNSProviderController.ListerCalls())

func (*GlobalDNSProviderControllerMock) Start

func (mock *GlobalDNSProviderControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*GlobalDNSProviderControllerMock) StartCalls

func (mock *GlobalDNSProviderControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedGlobalDNSProviderController.StartCalls())

func (*GlobalDNSProviderControllerMock) Sync

Sync calls SyncFunc.

func (*GlobalDNSProviderControllerMock) SyncCalls

func (mock *GlobalDNSProviderControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedGlobalDNSProviderController.SyncCalls())

type GlobalDNSProviderInterfaceMock

type GlobalDNSProviderInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalDNSProviderHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

GlobalDNSProviderInterfaceMock is a mock implementation of GlobalDNSProviderInterface.

    func TestSomethingThatUsesGlobalDNSProviderInterface(t *testing.T) {

        // make and configure a mocked GlobalDNSProviderInterface
        mockedGlobalDNSProviderInterface := &GlobalDNSProviderInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalDNSProviderLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalDNSProviderLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalDNSProviderLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.GlobalDNSProviderLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.GlobalDNSProviderController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.GlobalDNSProvider) (*v3.GlobalDNSProvider, 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.GlobalDNSProvider, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.GlobalDNSProvider, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.GlobalDNSProviderList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.GlobalDNSProviderList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.GlobalDNSProvider) (*v3.GlobalDNSProvider, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGlobalDNSProviderInterface in code that requires GlobalDNSProviderInterface
        // and then make assertions.

    }

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureHandler

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalDNSProviderHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.GlobalDNSProviderHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalDNSProviderInterface.AddClusterScopedFeatureHandlerCalls())

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalDNSProviderLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalDNSProviderLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedGlobalDNSProviderInterface.AddClusterScopedFeatureLifecycleCalls())

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedHandler

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.GlobalDNSProviderHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedHandlerCalls

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.GlobalDNSProviderHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalDNSProviderInterface.AddClusterScopedHandlerCalls())

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedLifecycle

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalDNSProviderLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*GlobalDNSProviderInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *GlobalDNSProviderInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalDNSProviderLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedGlobalDNSProviderInterface.AddClusterScopedLifecycleCalls())

func (*GlobalDNSProviderInterfaceMock) AddFeatureHandler

func (mock *GlobalDNSProviderInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalDNSProviderHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalDNSProviderInterfaceMock) AddFeatureHandlerCalls

func (mock *GlobalDNSProviderInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalDNSProviderHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalDNSProviderInterface.AddFeatureHandlerCalls())

func (*GlobalDNSProviderInterfaceMock) AddFeatureLifecycle

func (mock *GlobalDNSProviderInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalDNSProviderLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*GlobalDNSProviderInterfaceMock) AddFeatureLifecycleCalls

func (mock *GlobalDNSProviderInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.GlobalDNSProviderLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedGlobalDNSProviderInterface.AddFeatureLifecycleCalls())

func (*GlobalDNSProviderInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*GlobalDNSProviderInterfaceMock) AddHandlerCalls

func (mock *GlobalDNSProviderInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.GlobalDNSProviderHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalDNSProviderInterface.AddHandlerCalls())

func (*GlobalDNSProviderInterfaceMock) AddLifecycle

func (mock *GlobalDNSProviderInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.GlobalDNSProviderLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*GlobalDNSProviderInterfaceMock) AddLifecycleCalls

func (mock *GlobalDNSProviderInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.GlobalDNSProviderLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedGlobalDNSProviderInterface.AddLifecycleCalls())

func (*GlobalDNSProviderInterfaceMock) Controller

Controller calls ControllerFunc.

func (*GlobalDNSProviderInterfaceMock) ControllerCalls

func (mock *GlobalDNSProviderInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedGlobalDNSProviderInterface.ControllerCalls())

func (*GlobalDNSProviderInterfaceMock) Create

Create calls CreateFunc.

func (*GlobalDNSProviderInterfaceMock) CreateCalls

func (mock *GlobalDNSProviderInterfaceMock) CreateCalls() []struct {
	In1 *v3.GlobalDNSProvider
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedGlobalDNSProviderInterface.CreateCalls())

func (*GlobalDNSProviderInterfaceMock) Delete

func (mock *GlobalDNSProviderInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*GlobalDNSProviderInterfaceMock) DeleteCalls

func (mock *GlobalDNSProviderInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedGlobalDNSProviderInterface.DeleteCalls())

func (*GlobalDNSProviderInterfaceMock) DeleteCollection

func (mock *GlobalDNSProviderInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*GlobalDNSProviderInterfaceMock) DeleteCollectionCalls

func (mock *GlobalDNSProviderInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedGlobalDNSProviderInterface.DeleteCollectionCalls())

func (*GlobalDNSProviderInterfaceMock) DeleteNamespaced

func (mock *GlobalDNSProviderInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*GlobalDNSProviderInterfaceMock) DeleteNamespacedCalls

func (mock *GlobalDNSProviderInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedGlobalDNSProviderInterface.DeleteNamespacedCalls())

func (*GlobalDNSProviderInterfaceMock) Get

Get calls GetFunc.

func (*GlobalDNSProviderInterfaceMock) GetCalls

func (mock *GlobalDNSProviderInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalDNSProviderInterface.GetCalls())

func (*GlobalDNSProviderInterfaceMock) GetNamespaced

func (mock *GlobalDNSProviderInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.GlobalDNSProvider, error)

GetNamespaced calls GetNamespacedFunc.

func (*GlobalDNSProviderInterfaceMock) GetNamespacedCalls

func (mock *GlobalDNSProviderInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedGlobalDNSProviderInterface.GetNamespacedCalls())

func (*GlobalDNSProviderInterfaceMock) List

List calls ListFunc.

func (*GlobalDNSProviderInterfaceMock) ListCalls

func (mock *GlobalDNSProviderInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalDNSProviderInterface.ListCalls())

func (*GlobalDNSProviderInterfaceMock) ListNamespaced

func (mock *GlobalDNSProviderInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.GlobalDNSProviderList, error)

ListNamespaced calls ListNamespacedFunc.

func (*GlobalDNSProviderInterfaceMock) ListNamespacedCalls

func (mock *GlobalDNSProviderInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedGlobalDNSProviderInterface.ListNamespacedCalls())

func (*GlobalDNSProviderInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*GlobalDNSProviderInterfaceMock) ObjectClientCalls

func (mock *GlobalDNSProviderInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedGlobalDNSProviderInterface.ObjectClientCalls())

func (*GlobalDNSProviderInterfaceMock) Update

Update calls UpdateFunc.

func (*GlobalDNSProviderInterfaceMock) UpdateCalls

func (mock *GlobalDNSProviderInterfaceMock) UpdateCalls() []struct {
	In1 *v3.GlobalDNSProvider
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedGlobalDNSProviderInterface.UpdateCalls())

func (*GlobalDNSProviderInterfaceMock) Watch

Watch calls WatchFunc.

func (*GlobalDNSProviderInterfaceMock) WatchCalls

func (mock *GlobalDNSProviderInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedGlobalDNSProviderInterface.WatchCalls())

type GlobalDNSProviderListerMock

type GlobalDNSProviderListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.GlobalDNSProvider, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.GlobalDNSProvider, error)
	// contains filtered or unexported fields
}

GlobalDNSProviderListerMock is a mock implementation of GlobalDNSProviderLister.

    func TestSomethingThatUsesGlobalDNSProviderLister(t *testing.T) {

        // make and configure a mocked GlobalDNSProviderLister
        mockedGlobalDNSProviderLister := &GlobalDNSProviderListerMock{
            GetFunc: func(namespace string, name string) (*v3.GlobalDNSProvider, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.GlobalDNSProvider, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGlobalDNSProviderLister in code that requires GlobalDNSProviderLister
        // and then make assertions.

    }

func (*GlobalDNSProviderListerMock) Get

func (mock *GlobalDNSProviderListerMock) Get(namespace string, name string) (*v3.GlobalDNSProvider, error)

Get calls GetFunc.

func (*GlobalDNSProviderListerMock) GetCalls

func (mock *GlobalDNSProviderListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalDNSProviderLister.GetCalls())

func (*GlobalDNSProviderListerMock) List

func (mock *GlobalDNSProviderListerMock) List(namespace string, selector labels.Selector) ([]*v3.GlobalDNSProvider, error)

List calls ListFunc.

func (*GlobalDNSProviderListerMock) ListCalls

func (mock *GlobalDNSProviderListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalDNSProviderLister.ListCalls())

type GlobalDNSProvidersGetterMock

type GlobalDNSProvidersGetterMock struct {
	// GlobalDNSProvidersFunc mocks the GlobalDNSProviders method.
	GlobalDNSProvidersFunc func(namespace string) v3.GlobalDNSProviderInterface
	// contains filtered or unexported fields
}

GlobalDNSProvidersGetterMock is a mock implementation of GlobalDNSProvidersGetter.

    func TestSomethingThatUsesGlobalDNSProvidersGetter(t *testing.T) {

        // make and configure a mocked GlobalDNSProvidersGetter
        mockedGlobalDNSProvidersGetter := &GlobalDNSProvidersGetterMock{
            GlobalDNSProvidersFunc: func(namespace string) v3.GlobalDNSProviderInterface {
	               panic("mock out the GlobalDNSProviders method")
            },
        }

        // use mockedGlobalDNSProvidersGetter in code that requires GlobalDNSProvidersGetter
        // and then make assertions.

    }

func (*GlobalDNSProvidersGetterMock) GlobalDNSProviders

func (mock *GlobalDNSProvidersGetterMock) GlobalDNSProviders(namespace string) v3.GlobalDNSProviderInterface

GlobalDNSProviders calls GlobalDNSProvidersFunc.

func (*GlobalDNSProvidersGetterMock) GlobalDNSProvidersCalls

func (mock *GlobalDNSProvidersGetterMock) GlobalDNSProvidersCalls() []struct {
	Namespace string
}

GlobalDNSProvidersCalls gets all the calls that were made to GlobalDNSProviders. Check the length with:

len(mockedGlobalDNSProvidersGetter.GlobalDNSProvidersCalls())

type GlobalDNSsGetterMock

type GlobalDNSsGetterMock struct {
	// GlobalDNSsFunc mocks the GlobalDNSs method.
	GlobalDNSsFunc func(namespace string) v3.GlobalDNSInterface
	// contains filtered or unexported fields
}

GlobalDNSsGetterMock is a mock implementation of GlobalDNSsGetter.

    func TestSomethingThatUsesGlobalDNSsGetter(t *testing.T) {

        // make and configure a mocked GlobalDNSsGetter
        mockedGlobalDNSsGetter := &GlobalDNSsGetterMock{
            GlobalDNSsFunc: func(namespace string) v3.GlobalDNSInterface {
	               panic("mock out the GlobalDNSs method")
            },
        }

        // use mockedGlobalDNSsGetter in code that requires GlobalDNSsGetter
        // and then make assertions.

    }

func (*GlobalDNSsGetterMock) GlobalDNSs

func (mock *GlobalDNSsGetterMock) GlobalDNSs(namespace string) v3.GlobalDNSInterface

GlobalDNSs calls GlobalDNSsFunc.

func (*GlobalDNSsGetterMock) GlobalDNSsCalls

func (mock *GlobalDNSsGetterMock) GlobalDNSsCalls() []struct {
	Namespace string
}

GlobalDNSsCalls gets all the calls that were made to GlobalDNSs. Check the length with:

len(mockedGlobalDNSsGetter.GlobalDNSsCalls())

type GlobalRoleBindingControllerMock

type GlobalRoleBindingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalRoleBindingHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

GlobalRoleBindingControllerMock is a mock implementation of GlobalRoleBindingController.

    func TestSomethingThatUsesGlobalRoleBindingController(t *testing.T) {

        // make and configure a mocked GlobalRoleBindingController
        mockedGlobalRoleBindingController := &GlobalRoleBindingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.GlobalRoleBindingHandlerFunc)  {
	               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.GlobalRoleBindingLister {
	               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 mockedGlobalRoleBindingController in code that requires GlobalRoleBindingController
        // and then make assertions.

    }

func (*GlobalRoleBindingControllerMock) AddClusterScopedFeatureHandler

func (mock *GlobalRoleBindingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalRoleBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalRoleBindingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalRoleBindingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.GlobalRoleBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalRoleBindingController.AddClusterScopedFeatureHandlerCalls())

func (*GlobalRoleBindingControllerMock) AddClusterScopedHandler

func (mock *GlobalRoleBindingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.GlobalRoleBindingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalRoleBindingControllerMock) AddClusterScopedHandlerCalls

func (mock *GlobalRoleBindingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.GlobalRoleBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalRoleBindingController.AddClusterScopedHandlerCalls())

func (*GlobalRoleBindingControllerMock) AddFeatureHandler

func (mock *GlobalRoleBindingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleBindingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalRoleBindingControllerMock) AddFeatureHandlerCalls

func (mock *GlobalRoleBindingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalRoleBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalRoleBindingController.AddFeatureHandlerCalls())

func (*GlobalRoleBindingControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*GlobalRoleBindingControllerMock) AddHandlerCalls

func (mock *GlobalRoleBindingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.GlobalRoleBindingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalRoleBindingController.AddHandlerCalls())

func (*GlobalRoleBindingControllerMock) Enqueue

func (mock *GlobalRoleBindingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*GlobalRoleBindingControllerMock) EnqueueAfter

func (mock *GlobalRoleBindingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*GlobalRoleBindingControllerMock) EnqueueAfterCalls

func (mock *GlobalRoleBindingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedGlobalRoleBindingController.EnqueueAfterCalls())

func (*GlobalRoleBindingControllerMock) EnqueueCalls

func (mock *GlobalRoleBindingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedGlobalRoleBindingController.EnqueueCalls())

func (*GlobalRoleBindingControllerMock) Generic

Generic calls GenericFunc.

func (*GlobalRoleBindingControllerMock) GenericCalls

func (mock *GlobalRoleBindingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedGlobalRoleBindingController.GenericCalls())

func (*GlobalRoleBindingControllerMock) Informer

Informer calls InformerFunc.

func (*GlobalRoleBindingControllerMock) InformerCalls

func (mock *GlobalRoleBindingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedGlobalRoleBindingController.InformerCalls())

func (*GlobalRoleBindingControllerMock) Lister

Lister calls ListerFunc.

func (*GlobalRoleBindingControllerMock) ListerCalls

func (mock *GlobalRoleBindingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedGlobalRoleBindingController.ListerCalls())

func (*GlobalRoleBindingControllerMock) Start

func (mock *GlobalRoleBindingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*GlobalRoleBindingControllerMock) StartCalls

func (mock *GlobalRoleBindingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedGlobalRoleBindingController.StartCalls())

func (*GlobalRoleBindingControllerMock) Sync

Sync calls SyncFunc.

func (*GlobalRoleBindingControllerMock) SyncCalls

func (mock *GlobalRoleBindingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedGlobalRoleBindingController.SyncCalls())

type GlobalRoleBindingInterfaceMock

type GlobalRoleBindingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalRoleBindingHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

GlobalRoleBindingInterfaceMock is a mock implementation of GlobalRoleBindingInterface.

    func TestSomethingThatUsesGlobalRoleBindingInterface(t *testing.T) {

        // make and configure a mocked GlobalRoleBindingInterface
        mockedGlobalRoleBindingInterface := &GlobalRoleBindingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalRoleBindingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalRoleBindingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalRoleBindingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.GlobalRoleBindingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.GlobalRoleBindingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.GlobalRoleBinding) (*v3.GlobalRoleBinding, 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.GlobalRoleBinding, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.GlobalRoleBinding, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.GlobalRoleBindingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.GlobalRoleBindingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.GlobalRoleBinding) (*v3.GlobalRoleBinding, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGlobalRoleBindingInterface in code that requires GlobalRoleBindingInterface
        // and then make assertions.

    }

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalRoleBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.GlobalRoleBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalRoleBindingInterface.AddClusterScopedFeatureHandlerCalls())

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalRoleBindingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalRoleBindingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedGlobalRoleBindingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedHandler

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.GlobalRoleBindingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.GlobalRoleBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalRoleBindingInterface.AddClusterScopedHandlerCalls())

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedLifecycle

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalRoleBindingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*GlobalRoleBindingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *GlobalRoleBindingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalRoleBindingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedGlobalRoleBindingInterface.AddClusterScopedLifecycleCalls())

func (*GlobalRoleBindingInterfaceMock) AddFeatureHandler

func (mock *GlobalRoleBindingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleBindingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalRoleBindingInterfaceMock) AddFeatureHandlerCalls

func (mock *GlobalRoleBindingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalRoleBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalRoleBindingInterface.AddFeatureHandlerCalls())

func (*GlobalRoleBindingInterfaceMock) AddFeatureLifecycle

func (mock *GlobalRoleBindingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalRoleBindingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*GlobalRoleBindingInterfaceMock) AddFeatureLifecycleCalls

func (mock *GlobalRoleBindingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.GlobalRoleBindingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedGlobalRoleBindingInterface.AddFeatureLifecycleCalls())

func (*GlobalRoleBindingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*GlobalRoleBindingInterfaceMock) AddHandlerCalls

func (mock *GlobalRoleBindingInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.GlobalRoleBindingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalRoleBindingInterface.AddHandlerCalls())

func (*GlobalRoleBindingInterfaceMock) AddLifecycle

func (mock *GlobalRoleBindingInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.GlobalRoleBindingLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*GlobalRoleBindingInterfaceMock) AddLifecycleCalls

func (mock *GlobalRoleBindingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.GlobalRoleBindingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedGlobalRoleBindingInterface.AddLifecycleCalls())

func (*GlobalRoleBindingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*GlobalRoleBindingInterfaceMock) ControllerCalls

func (mock *GlobalRoleBindingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedGlobalRoleBindingInterface.ControllerCalls())

func (*GlobalRoleBindingInterfaceMock) Create

Create calls CreateFunc.

func (*GlobalRoleBindingInterfaceMock) CreateCalls

func (mock *GlobalRoleBindingInterfaceMock) CreateCalls() []struct {
	In1 *v3.GlobalRoleBinding
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedGlobalRoleBindingInterface.CreateCalls())

func (*GlobalRoleBindingInterfaceMock) Delete

func (mock *GlobalRoleBindingInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*GlobalRoleBindingInterfaceMock) DeleteCalls

func (mock *GlobalRoleBindingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedGlobalRoleBindingInterface.DeleteCalls())

func (*GlobalRoleBindingInterfaceMock) DeleteCollection

func (mock *GlobalRoleBindingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*GlobalRoleBindingInterfaceMock) DeleteCollectionCalls

func (mock *GlobalRoleBindingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedGlobalRoleBindingInterface.DeleteCollectionCalls())

func (*GlobalRoleBindingInterfaceMock) DeleteNamespaced

func (mock *GlobalRoleBindingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*GlobalRoleBindingInterfaceMock) DeleteNamespacedCalls

func (mock *GlobalRoleBindingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedGlobalRoleBindingInterface.DeleteNamespacedCalls())

func (*GlobalRoleBindingInterfaceMock) Get

Get calls GetFunc.

func (*GlobalRoleBindingInterfaceMock) GetCalls

func (mock *GlobalRoleBindingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalRoleBindingInterface.GetCalls())

func (*GlobalRoleBindingInterfaceMock) GetNamespaced

func (mock *GlobalRoleBindingInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.GlobalRoleBinding, error)

GetNamespaced calls GetNamespacedFunc.

func (*GlobalRoleBindingInterfaceMock) GetNamespacedCalls

func (mock *GlobalRoleBindingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedGlobalRoleBindingInterface.GetNamespacedCalls())

func (*GlobalRoleBindingInterfaceMock) List

List calls ListFunc.

func (*GlobalRoleBindingInterfaceMock) ListCalls

func (mock *GlobalRoleBindingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalRoleBindingInterface.ListCalls())

func (*GlobalRoleBindingInterfaceMock) ListNamespaced

func (mock *GlobalRoleBindingInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.GlobalRoleBindingList, error)

ListNamespaced calls ListNamespacedFunc.

func (*GlobalRoleBindingInterfaceMock) ListNamespacedCalls

func (mock *GlobalRoleBindingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedGlobalRoleBindingInterface.ListNamespacedCalls())

func (*GlobalRoleBindingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*GlobalRoleBindingInterfaceMock) ObjectClientCalls

func (mock *GlobalRoleBindingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedGlobalRoleBindingInterface.ObjectClientCalls())

func (*GlobalRoleBindingInterfaceMock) Update

Update calls UpdateFunc.

func (*GlobalRoleBindingInterfaceMock) UpdateCalls

func (mock *GlobalRoleBindingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.GlobalRoleBinding
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedGlobalRoleBindingInterface.UpdateCalls())

func (*GlobalRoleBindingInterfaceMock) Watch

Watch calls WatchFunc.

func (*GlobalRoleBindingInterfaceMock) WatchCalls

func (mock *GlobalRoleBindingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedGlobalRoleBindingInterface.WatchCalls())

type GlobalRoleBindingListerMock

type GlobalRoleBindingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.GlobalRoleBinding, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.GlobalRoleBinding, error)
	// contains filtered or unexported fields
}

GlobalRoleBindingListerMock is a mock implementation of GlobalRoleBindingLister.

    func TestSomethingThatUsesGlobalRoleBindingLister(t *testing.T) {

        // make and configure a mocked GlobalRoleBindingLister
        mockedGlobalRoleBindingLister := &GlobalRoleBindingListerMock{
            GetFunc: func(namespace string, name string) (*v3.GlobalRoleBinding, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.GlobalRoleBinding, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGlobalRoleBindingLister in code that requires GlobalRoleBindingLister
        // and then make assertions.

    }

func (*GlobalRoleBindingListerMock) Get

func (mock *GlobalRoleBindingListerMock) Get(namespace string, name string) (*v3.GlobalRoleBinding, error)

Get calls GetFunc.

func (*GlobalRoleBindingListerMock) GetCalls

func (mock *GlobalRoleBindingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalRoleBindingLister.GetCalls())

func (*GlobalRoleBindingListerMock) List

func (mock *GlobalRoleBindingListerMock) List(namespace string, selector labels.Selector) ([]*v3.GlobalRoleBinding, error)

List calls ListFunc.

func (*GlobalRoleBindingListerMock) ListCalls

func (mock *GlobalRoleBindingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalRoleBindingLister.ListCalls())

type GlobalRoleBindingsGetterMock

type GlobalRoleBindingsGetterMock struct {
	// GlobalRoleBindingsFunc mocks the GlobalRoleBindings method.
	GlobalRoleBindingsFunc func(namespace string) v3.GlobalRoleBindingInterface
	// contains filtered or unexported fields
}

GlobalRoleBindingsGetterMock is a mock implementation of GlobalRoleBindingsGetter.

    func TestSomethingThatUsesGlobalRoleBindingsGetter(t *testing.T) {

        // make and configure a mocked GlobalRoleBindingsGetter
        mockedGlobalRoleBindingsGetter := &GlobalRoleBindingsGetterMock{
            GlobalRoleBindingsFunc: func(namespace string) v3.GlobalRoleBindingInterface {
	               panic("mock out the GlobalRoleBindings method")
            },
        }

        // use mockedGlobalRoleBindingsGetter in code that requires GlobalRoleBindingsGetter
        // and then make assertions.

    }

func (*GlobalRoleBindingsGetterMock) GlobalRoleBindings

func (mock *GlobalRoleBindingsGetterMock) GlobalRoleBindings(namespace string) v3.GlobalRoleBindingInterface

GlobalRoleBindings calls GlobalRoleBindingsFunc.

func (*GlobalRoleBindingsGetterMock) GlobalRoleBindingsCalls

func (mock *GlobalRoleBindingsGetterMock) GlobalRoleBindingsCalls() []struct {
	Namespace string
}

GlobalRoleBindingsCalls gets all the calls that were made to GlobalRoleBindings. Check the length with:

len(mockedGlobalRoleBindingsGetter.GlobalRoleBindingsCalls())

type GlobalRoleControllerMock

type GlobalRoleControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalRoleHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

GlobalRoleControllerMock is a mock implementation of GlobalRoleController.

    func TestSomethingThatUsesGlobalRoleController(t *testing.T) {

        // make and configure a mocked GlobalRoleController
        mockedGlobalRoleController := &GlobalRoleControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.GlobalRoleHandlerFunc)  {
	               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.GlobalRoleLister {
	               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 mockedGlobalRoleController in code that requires GlobalRoleController
        // and then make assertions.

    }

func (*GlobalRoleControllerMock) AddClusterScopedFeatureHandler

func (mock *GlobalRoleControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GlobalRoleHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalRoleControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalRoleControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.GlobalRoleHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalRoleController.AddClusterScopedFeatureHandlerCalls())

func (*GlobalRoleControllerMock) AddClusterScopedHandler

func (mock *GlobalRoleControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.GlobalRoleHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalRoleControllerMock) AddClusterScopedHandlerCalls

func (mock *GlobalRoleControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.GlobalRoleHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalRoleController.AddClusterScopedHandlerCalls())

func (*GlobalRoleControllerMock) AddFeatureHandler

func (mock *GlobalRoleControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalRoleControllerMock) AddFeatureHandlerCalls

func (mock *GlobalRoleControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalRoleHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalRoleController.AddFeatureHandlerCalls())

func (*GlobalRoleControllerMock) AddHandler

func (mock *GlobalRoleControllerMock) AddHandler(ctx context.Context, name string, handler v3.GlobalRoleHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GlobalRoleControllerMock) AddHandlerCalls

func (mock *GlobalRoleControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.GlobalRoleHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalRoleController.AddHandlerCalls())

func (*GlobalRoleControllerMock) Enqueue

func (mock *GlobalRoleControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*GlobalRoleControllerMock) EnqueueAfter

func (mock *GlobalRoleControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*GlobalRoleControllerMock) EnqueueAfterCalls

func (mock *GlobalRoleControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedGlobalRoleController.EnqueueAfterCalls())

func (*GlobalRoleControllerMock) EnqueueCalls

func (mock *GlobalRoleControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedGlobalRoleController.EnqueueCalls())

func (*GlobalRoleControllerMock) Generic

Generic calls GenericFunc.

func (*GlobalRoleControllerMock) GenericCalls

func (mock *GlobalRoleControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedGlobalRoleController.GenericCalls())

func (*GlobalRoleControllerMock) Informer

Informer calls InformerFunc.

func (*GlobalRoleControllerMock) InformerCalls

func (mock *GlobalRoleControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedGlobalRoleController.InformerCalls())

func (*GlobalRoleControllerMock) Lister

Lister calls ListerFunc.

func (*GlobalRoleControllerMock) ListerCalls

func (mock *GlobalRoleControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedGlobalRoleController.ListerCalls())

func (*GlobalRoleControllerMock) Start

func (mock *GlobalRoleControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*GlobalRoleControllerMock) StartCalls

func (mock *GlobalRoleControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedGlobalRoleController.StartCalls())

func (*GlobalRoleControllerMock) Sync

Sync calls SyncFunc.

func (*GlobalRoleControllerMock) SyncCalls

func (mock *GlobalRoleControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedGlobalRoleController.SyncCalls())

type GlobalRoleInterfaceMock

type GlobalRoleInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalRoleHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

GlobalRoleInterfaceMock is a mock implementation of GlobalRoleInterface.

    func TestSomethingThatUsesGlobalRoleInterface(t *testing.T) {

        // make and configure a mocked GlobalRoleInterface
        mockedGlobalRoleInterface := &GlobalRoleInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalRoleLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalRoleLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalRoleLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.GlobalRoleLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.GlobalRoleController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.GlobalRole) (*v3.GlobalRole, 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.GlobalRole, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.GlobalRole, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.GlobalRoleList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.GlobalRoleList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.GlobalRole) (*v3.GlobalRole, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGlobalRoleInterface in code that requires GlobalRoleInterface
        // and then make assertions.

    }

func (*GlobalRoleInterfaceMock) AddClusterScopedFeatureHandler

func (mock *GlobalRoleInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GlobalRoleHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GlobalRoleInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *GlobalRoleInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.GlobalRoleHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGlobalRoleInterface.AddClusterScopedFeatureHandlerCalls())

func (*GlobalRoleInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *GlobalRoleInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GlobalRoleLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*GlobalRoleInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *GlobalRoleInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalRoleLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedGlobalRoleInterface.AddClusterScopedFeatureLifecycleCalls())

func (*GlobalRoleInterfaceMock) AddClusterScopedHandler

func (mock *GlobalRoleInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.GlobalRoleHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GlobalRoleInterfaceMock) AddClusterScopedHandlerCalls

func (mock *GlobalRoleInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.GlobalRoleHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGlobalRoleInterface.AddClusterScopedHandlerCalls())

func (*GlobalRoleInterfaceMock) AddClusterScopedLifecycle

func (mock *GlobalRoleInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.GlobalRoleLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*GlobalRoleInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *GlobalRoleInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.GlobalRoleLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedGlobalRoleInterface.AddClusterScopedLifecycleCalls())

func (*GlobalRoleInterfaceMock) AddFeatureHandler

func (mock *GlobalRoleInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GlobalRoleHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GlobalRoleInterfaceMock) AddFeatureHandlerCalls

func (mock *GlobalRoleInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GlobalRoleHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGlobalRoleInterface.AddFeatureHandlerCalls())

func (*GlobalRoleInterfaceMock) AddFeatureLifecycle

func (mock *GlobalRoleInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.GlobalRoleLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*GlobalRoleInterfaceMock) AddFeatureLifecycleCalls

func (mock *GlobalRoleInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.GlobalRoleLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedGlobalRoleInterface.AddFeatureLifecycleCalls())

func (*GlobalRoleInterfaceMock) AddHandler

func (mock *GlobalRoleInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.GlobalRoleHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GlobalRoleInterfaceMock) AddHandlerCalls

func (mock *GlobalRoleInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.GlobalRoleHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGlobalRoleInterface.AddHandlerCalls())

func (*GlobalRoleInterfaceMock) AddLifecycle

func (mock *GlobalRoleInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.GlobalRoleLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*GlobalRoleInterfaceMock) AddLifecycleCalls

func (mock *GlobalRoleInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.GlobalRoleLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedGlobalRoleInterface.AddLifecycleCalls())

func (*GlobalRoleInterfaceMock) Controller

func (mock *GlobalRoleInterfaceMock) Controller() v3.GlobalRoleController

Controller calls ControllerFunc.

func (*GlobalRoleInterfaceMock) ControllerCalls

func (mock *GlobalRoleInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedGlobalRoleInterface.ControllerCalls())

func (*GlobalRoleInterfaceMock) Create

func (mock *GlobalRoleInterfaceMock) Create(in1 *v3.GlobalRole) (*v3.GlobalRole, error)

Create calls CreateFunc.

func (*GlobalRoleInterfaceMock) CreateCalls

func (mock *GlobalRoleInterfaceMock) CreateCalls() []struct {
	In1 *v3.GlobalRole
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedGlobalRoleInterface.CreateCalls())

func (*GlobalRoleInterfaceMock) Delete

func (mock *GlobalRoleInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*GlobalRoleInterfaceMock) DeleteCalls

func (mock *GlobalRoleInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedGlobalRoleInterface.DeleteCalls())

func (*GlobalRoleInterfaceMock) DeleteCollection

func (mock *GlobalRoleInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*GlobalRoleInterfaceMock) DeleteCollectionCalls

func (mock *GlobalRoleInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedGlobalRoleInterface.DeleteCollectionCalls())

func (*GlobalRoleInterfaceMock) DeleteNamespaced

func (mock *GlobalRoleInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*GlobalRoleInterfaceMock) DeleteNamespacedCalls

func (mock *GlobalRoleInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedGlobalRoleInterface.DeleteNamespacedCalls())

func (*GlobalRoleInterfaceMock) Get

func (mock *GlobalRoleInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.GlobalRole, error)

Get calls GetFunc.

func (*GlobalRoleInterfaceMock) GetCalls

func (mock *GlobalRoleInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalRoleInterface.GetCalls())

func (*GlobalRoleInterfaceMock) GetNamespaced

func (mock *GlobalRoleInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.GlobalRole, error)

GetNamespaced calls GetNamespacedFunc.

func (*GlobalRoleInterfaceMock) GetNamespacedCalls

func (mock *GlobalRoleInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedGlobalRoleInterface.GetNamespacedCalls())

func (*GlobalRoleInterfaceMock) List

List calls ListFunc.

func (*GlobalRoleInterfaceMock) ListCalls

func (mock *GlobalRoleInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalRoleInterface.ListCalls())

func (*GlobalRoleInterfaceMock) ListNamespaced

func (mock *GlobalRoleInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.GlobalRoleList, error)

ListNamespaced calls ListNamespacedFunc.

func (*GlobalRoleInterfaceMock) ListNamespacedCalls

func (mock *GlobalRoleInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedGlobalRoleInterface.ListNamespacedCalls())

func (*GlobalRoleInterfaceMock) ObjectClient

func (mock *GlobalRoleInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*GlobalRoleInterfaceMock) ObjectClientCalls

func (mock *GlobalRoleInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedGlobalRoleInterface.ObjectClientCalls())

func (*GlobalRoleInterfaceMock) Update

func (mock *GlobalRoleInterfaceMock) Update(in1 *v3.GlobalRole) (*v3.GlobalRole, error)

Update calls UpdateFunc.

func (*GlobalRoleInterfaceMock) UpdateCalls

func (mock *GlobalRoleInterfaceMock) UpdateCalls() []struct {
	In1 *v3.GlobalRole
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedGlobalRoleInterface.UpdateCalls())

func (*GlobalRoleInterfaceMock) Watch

Watch calls WatchFunc.

func (*GlobalRoleInterfaceMock) WatchCalls

func (mock *GlobalRoleInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedGlobalRoleInterface.WatchCalls())

type GlobalRoleListerMock

type GlobalRoleListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.GlobalRole, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.GlobalRole, error)
	// contains filtered or unexported fields
}

GlobalRoleListerMock is a mock implementation of GlobalRoleLister.

    func TestSomethingThatUsesGlobalRoleLister(t *testing.T) {

        // make and configure a mocked GlobalRoleLister
        mockedGlobalRoleLister := &GlobalRoleListerMock{
            GetFunc: func(namespace string, name string) (*v3.GlobalRole, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.GlobalRole, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGlobalRoleLister in code that requires GlobalRoleLister
        // and then make assertions.

    }

func (*GlobalRoleListerMock) Get

func (mock *GlobalRoleListerMock) Get(namespace string, name string) (*v3.GlobalRole, error)

Get calls GetFunc.

func (*GlobalRoleListerMock) GetCalls

func (mock *GlobalRoleListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGlobalRoleLister.GetCalls())

func (*GlobalRoleListerMock) List

func (mock *GlobalRoleListerMock) List(namespace string, selector labels.Selector) ([]*v3.GlobalRole, error)

List calls ListFunc.

func (*GlobalRoleListerMock) ListCalls

func (mock *GlobalRoleListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGlobalRoleLister.ListCalls())

type GlobalRolesGetterMock

type GlobalRolesGetterMock struct {
	// GlobalRolesFunc mocks the GlobalRoles method.
	GlobalRolesFunc func(namespace string) v3.GlobalRoleInterface
	// contains filtered or unexported fields
}

GlobalRolesGetterMock is a mock implementation of GlobalRolesGetter.

    func TestSomethingThatUsesGlobalRolesGetter(t *testing.T) {

        // make and configure a mocked GlobalRolesGetter
        mockedGlobalRolesGetter := &GlobalRolesGetterMock{
            GlobalRolesFunc: func(namespace string) v3.GlobalRoleInterface {
	               panic("mock out the GlobalRoles method")
            },
        }

        // use mockedGlobalRolesGetter in code that requires GlobalRolesGetter
        // and then make assertions.

    }

func (*GlobalRolesGetterMock) GlobalRoles

func (mock *GlobalRolesGetterMock) GlobalRoles(namespace string) v3.GlobalRoleInterface

GlobalRoles calls GlobalRolesFunc.

func (*GlobalRolesGetterMock) GlobalRolesCalls

func (mock *GlobalRolesGetterMock) GlobalRolesCalls() []struct {
	Namespace string
}

GlobalRolesCalls gets all the calls that were made to GlobalRoles. Check the length with:

len(mockedGlobalRolesGetter.GlobalRolesCalls())

type GroupControllerMock

type GroupControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GroupHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

GroupControllerMock is a mock implementation of GroupController.

    func TestSomethingThatUsesGroupController(t *testing.T) {

        // make and configure a mocked GroupController
        mockedGroupController := &GroupControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GroupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.GroupHandlerFunc)  {
	               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.GroupLister {
	               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 mockedGroupController in code that requires GroupController
        // and then make assertions.

    }

func (*GroupControllerMock) AddClusterScopedFeatureHandler

func (mock *GroupControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GroupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GroupControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *GroupControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.GroupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGroupController.AddClusterScopedFeatureHandlerCalls())

func (*GroupControllerMock) AddClusterScopedHandler

func (mock *GroupControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.GroupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GroupControllerMock) AddClusterScopedHandlerCalls

func (mock *GroupControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.GroupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGroupController.AddClusterScopedHandlerCalls())

func (*GroupControllerMock) AddFeatureHandler

func (mock *GroupControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GroupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GroupControllerMock) AddFeatureHandlerCalls

func (mock *GroupControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GroupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGroupController.AddFeatureHandlerCalls())

func (*GroupControllerMock) AddHandler

func (mock *GroupControllerMock) AddHandler(ctx context.Context, name string, handler v3.GroupHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GroupControllerMock) AddHandlerCalls

func (mock *GroupControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.GroupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGroupController.AddHandlerCalls())

func (*GroupControllerMock) Enqueue

func (mock *GroupControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*GroupControllerMock) EnqueueAfter

func (mock *GroupControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*GroupControllerMock) EnqueueAfterCalls

func (mock *GroupControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedGroupController.EnqueueAfterCalls())

func (*GroupControllerMock) EnqueueCalls

func (mock *GroupControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedGroupController.EnqueueCalls())

func (*GroupControllerMock) Generic

Generic calls GenericFunc.

func (*GroupControllerMock) GenericCalls

func (mock *GroupControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedGroupController.GenericCalls())

func (*GroupControllerMock) Informer

Informer calls InformerFunc.

func (*GroupControllerMock) InformerCalls

func (mock *GroupControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedGroupController.InformerCalls())

func (*GroupControllerMock) Lister

func (mock *GroupControllerMock) Lister() v3.GroupLister

Lister calls ListerFunc.

func (*GroupControllerMock) ListerCalls

func (mock *GroupControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedGroupController.ListerCalls())

func (*GroupControllerMock) Start

func (mock *GroupControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*GroupControllerMock) StartCalls

func (mock *GroupControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedGroupController.StartCalls())

func (*GroupControllerMock) Sync

func (mock *GroupControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*GroupControllerMock) SyncCalls

func (mock *GroupControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedGroupController.SyncCalls())

type GroupInterfaceMock

type GroupInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GroupHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

GroupInterfaceMock is a mock implementation of GroupInterface.

    func TestSomethingThatUsesGroupInterface(t *testing.T) {

        // make and configure a mocked GroupInterface
        mockedGroupInterface := &GroupInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GroupLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.GroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.GroupLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GroupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.GroupLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.GroupHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.GroupLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.GroupController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Group) (*v3.Group, 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.Group, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Group, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.GroupList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.GroupList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Group) (*v3.Group, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGroupInterface in code that requires GroupInterface
        // and then make assertions.

    }

func (*GroupInterfaceMock) AddClusterScopedFeatureHandler

func (mock *GroupInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GroupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GroupInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *GroupInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.GroupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGroupInterface.AddClusterScopedFeatureHandlerCalls())

func (*GroupInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *GroupInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GroupLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*GroupInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *GroupInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.GroupLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedGroupInterface.AddClusterScopedFeatureLifecycleCalls())

func (*GroupInterfaceMock) AddClusterScopedHandler

func (mock *GroupInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.GroupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GroupInterfaceMock) AddClusterScopedHandlerCalls

func (mock *GroupInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.GroupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGroupInterface.AddClusterScopedHandlerCalls())

func (*GroupInterfaceMock) AddClusterScopedLifecycle

func (mock *GroupInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.GroupLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*GroupInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *GroupInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.GroupLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedGroupInterface.AddClusterScopedLifecycleCalls())

func (*GroupInterfaceMock) AddFeatureHandler

func (mock *GroupInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GroupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GroupInterfaceMock) AddFeatureHandlerCalls

func (mock *GroupInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GroupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGroupInterface.AddFeatureHandlerCalls())

func (*GroupInterfaceMock) AddFeatureLifecycle

func (mock *GroupInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.GroupLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*GroupInterfaceMock) AddFeatureLifecycleCalls

func (mock *GroupInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.GroupLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedGroupInterface.AddFeatureLifecycleCalls())

func (*GroupInterfaceMock) AddHandler

func (mock *GroupInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.GroupHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GroupInterfaceMock) AddHandlerCalls

func (mock *GroupInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.GroupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGroupInterface.AddHandlerCalls())

func (*GroupInterfaceMock) AddLifecycle

func (mock *GroupInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.GroupLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*GroupInterfaceMock) AddLifecycleCalls

func (mock *GroupInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.GroupLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedGroupInterface.AddLifecycleCalls())

func (*GroupInterfaceMock) Controller

func (mock *GroupInterfaceMock) Controller() v3.GroupController

Controller calls ControllerFunc.

func (*GroupInterfaceMock) ControllerCalls

func (mock *GroupInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedGroupInterface.ControllerCalls())

func (*GroupInterfaceMock) Create

func (mock *GroupInterfaceMock) Create(in1 *v3.Group) (*v3.Group, error)

Create calls CreateFunc.

func (*GroupInterfaceMock) CreateCalls

func (mock *GroupInterfaceMock) CreateCalls() []struct {
	In1 *v3.Group
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedGroupInterface.CreateCalls())

func (*GroupInterfaceMock) Delete

func (mock *GroupInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*GroupInterfaceMock) DeleteCalls

func (mock *GroupInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedGroupInterface.DeleteCalls())

func (*GroupInterfaceMock) DeleteCollection

func (mock *GroupInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*GroupInterfaceMock) DeleteCollectionCalls

func (mock *GroupInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedGroupInterface.DeleteCollectionCalls())

func (*GroupInterfaceMock) DeleteNamespaced

func (mock *GroupInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*GroupInterfaceMock) DeleteNamespacedCalls

func (mock *GroupInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedGroupInterface.DeleteNamespacedCalls())

func (*GroupInterfaceMock) Get

func (mock *GroupInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Group, error)

Get calls GetFunc.

func (*GroupInterfaceMock) GetCalls

func (mock *GroupInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGroupInterface.GetCalls())

func (*GroupInterfaceMock) GetNamespaced

func (mock *GroupInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Group, error)

GetNamespaced calls GetNamespacedFunc.

func (*GroupInterfaceMock) GetNamespacedCalls

func (mock *GroupInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedGroupInterface.GetNamespacedCalls())

func (*GroupInterfaceMock) List

func (mock *GroupInterfaceMock) List(opts v1.ListOptions) (*v3.GroupList, error)

List calls ListFunc.

func (*GroupInterfaceMock) ListCalls

func (mock *GroupInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGroupInterface.ListCalls())

func (*GroupInterfaceMock) ListNamespaced

func (mock *GroupInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.GroupList, error)

ListNamespaced calls ListNamespacedFunc.

func (*GroupInterfaceMock) ListNamespacedCalls

func (mock *GroupInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedGroupInterface.ListNamespacedCalls())

func (*GroupInterfaceMock) ObjectClient

func (mock *GroupInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*GroupInterfaceMock) ObjectClientCalls

func (mock *GroupInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedGroupInterface.ObjectClientCalls())

func (*GroupInterfaceMock) Update

func (mock *GroupInterfaceMock) Update(in1 *v3.Group) (*v3.Group, error)

Update calls UpdateFunc.

func (*GroupInterfaceMock) UpdateCalls

func (mock *GroupInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Group
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedGroupInterface.UpdateCalls())

func (*GroupInterfaceMock) Watch

func (mock *GroupInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*GroupInterfaceMock) WatchCalls

func (mock *GroupInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedGroupInterface.WatchCalls())

type GroupListerMock

type GroupListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Group, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Group, error)
	// contains filtered or unexported fields
}

GroupListerMock is a mock implementation of GroupLister.

    func TestSomethingThatUsesGroupLister(t *testing.T) {

        // make and configure a mocked GroupLister
        mockedGroupLister := &GroupListerMock{
            GetFunc: func(namespace string, name string) (*v3.Group, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Group, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGroupLister in code that requires GroupLister
        // and then make assertions.

    }

func (*GroupListerMock) Get

func (mock *GroupListerMock) Get(namespace string, name string) (*v3.Group, error)

Get calls GetFunc.

func (*GroupListerMock) GetCalls

func (mock *GroupListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGroupLister.GetCalls())

func (*GroupListerMock) List

func (mock *GroupListerMock) List(namespace string, selector labels.Selector) ([]*v3.Group, error)

List calls ListFunc.

func (*GroupListerMock) ListCalls

func (mock *GroupListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGroupLister.ListCalls())

type GroupMemberControllerMock

type GroupMemberControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GroupMemberHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

GroupMemberControllerMock is a mock implementation of GroupMemberController.

    func TestSomethingThatUsesGroupMemberController(t *testing.T) {

        // make and configure a mocked GroupMemberController
        mockedGroupMemberController := &GroupMemberControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.GroupMemberHandlerFunc)  {
	               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.GroupMemberLister {
	               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 mockedGroupMemberController in code that requires GroupMemberController
        // and then make assertions.

    }

func (*GroupMemberControllerMock) AddClusterScopedFeatureHandler

func (mock *GroupMemberControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.GroupMemberHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GroupMemberControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *GroupMemberControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.GroupMemberHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGroupMemberController.AddClusterScopedFeatureHandlerCalls())

func (*GroupMemberControllerMock) AddClusterScopedHandler

func (mock *GroupMemberControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.GroupMemberHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GroupMemberControllerMock) AddClusterScopedHandlerCalls

func (mock *GroupMemberControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.GroupMemberHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGroupMemberController.AddClusterScopedHandlerCalls())

func (*GroupMemberControllerMock) AddFeatureHandler

func (mock *GroupMemberControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GroupMemberHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GroupMemberControllerMock) AddFeatureHandlerCalls

func (mock *GroupMemberControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GroupMemberHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGroupMemberController.AddFeatureHandlerCalls())

func (*GroupMemberControllerMock) AddHandler

func (mock *GroupMemberControllerMock) AddHandler(ctx context.Context, name string, handler v3.GroupMemberHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GroupMemberControllerMock) AddHandlerCalls

func (mock *GroupMemberControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.GroupMemberHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGroupMemberController.AddHandlerCalls())

func (*GroupMemberControllerMock) Enqueue

func (mock *GroupMemberControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*GroupMemberControllerMock) EnqueueAfter

func (mock *GroupMemberControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*GroupMemberControllerMock) EnqueueAfterCalls

func (mock *GroupMemberControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedGroupMemberController.EnqueueAfterCalls())

func (*GroupMemberControllerMock) EnqueueCalls

func (mock *GroupMemberControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedGroupMemberController.EnqueueCalls())

func (*GroupMemberControllerMock) Generic

Generic calls GenericFunc.

func (*GroupMemberControllerMock) GenericCalls

func (mock *GroupMemberControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedGroupMemberController.GenericCalls())

func (*GroupMemberControllerMock) Informer

Informer calls InformerFunc.

func (*GroupMemberControllerMock) InformerCalls

func (mock *GroupMemberControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedGroupMemberController.InformerCalls())

func (*GroupMemberControllerMock) Lister

Lister calls ListerFunc.

func (*GroupMemberControllerMock) ListerCalls

func (mock *GroupMemberControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedGroupMemberController.ListerCalls())

func (*GroupMemberControllerMock) Start

func (mock *GroupMemberControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*GroupMemberControllerMock) StartCalls

func (mock *GroupMemberControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedGroupMemberController.StartCalls())

func (*GroupMemberControllerMock) Sync

Sync calls SyncFunc.

func (*GroupMemberControllerMock) SyncCalls

func (mock *GroupMemberControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedGroupMemberController.SyncCalls())

type GroupMemberInterfaceMock

type GroupMemberInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GroupMemberHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

GroupMemberInterfaceMock is a mock implementation of GroupMemberInterface.

    func TestSomethingThatUsesGroupMemberInterface(t *testing.T) {

        // make and configure a mocked GroupMemberInterface
        mockedGroupMemberInterface := &GroupMemberInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GroupMemberLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.GroupMemberLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.GroupMemberLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.GroupMemberLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.GroupMemberController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.GroupMember) (*v3.GroupMember, 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.GroupMember, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.GroupMember, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.GroupMemberList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.GroupMemberList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.GroupMember) (*v3.GroupMember, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGroupMemberInterface in code that requires GroupMemberInterface
        // and then make assertions.

    }

func (*GroupMemberInterfaceMock) AddClusterScopedFeatureHandler

func (mock *GroupMemberInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.GroupMemberHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*GroupMemberInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *GroupMemberInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.GroupMemberHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedGroupMemberInterface.AddClusterScopedFeatureHandlerCalls())

func (*GroupMemberInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *GroupMemberInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.GroupMemberLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*GroupMemberInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *GroupMemberInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.GroupMemberLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedGroupMemberInterface.AddClusterScopedFeatureLifecycleCalls())

func (*GroupMemberInterfaceMock) AddClusterScopedHandler

func (mock *GroupMemberInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.GroupMemberHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*GroupMemberInterfaceMock) AddClusterScopedHandlerCalls

func (mock *GroupMemberInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.GroupMemberHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedGroupMemberInterface.AddClusterScopedHandlerCalls())

func (*GroupMemberInterfaceMock) AddClusterScopedLifecycle

func (mock *GroupMemberInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.GroupMemberLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*GroupMemberInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *GroupMemberInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.GroupMemberLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedGroupMemberInterface.AddClusterScopedLifecycleCalls())

func (*GroupMemberInterfaceMock) AddFeatureHandler

func (mock *GroupMemberInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.GroupMemberHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*GroupMemberInterfaceMock) AddFeatureHandlerCalls

func (mock *GroupMemberInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.GroupMemberHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedGroupMemberInterface.AddFeatureHandlerCalls())

func (*GroupMemberInterfaceMock) AddFeatureLifecycle

func (mock *GroupMemberInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.GroupMemberLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*GroupMemberInterfaceMock) AddFeatureLifecycleCalls

func (mock *GroupMemberInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.GroupMemberLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedGroupMemberInterface.AddFeatureLifecycleCalls())

func (*GroupMemberInterfaceMock) AddHandler

func (mock *GroupMemberInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.GroupMemberHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*GroupMemberInterfaceMock) AddHandlerCalls

func (mock *GroupMemberInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.GroupMemberHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedGroupMemberInterface.AddHandlerCalls())

func (*GroupMemberInterfaceMock) AddLifecycle

func (mock *GroupMemberInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.GroupMemberLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*GroupMemberInterfaceMock) AddLifecycleCalls

func (mock *GroupMemberInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.GroupMemberLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedGroupMemberInterface.AddLifecycleCalls())

func (*GroupMemberInterfaceMock) Controller

Controller calls ControllerFunc.

func (*GroupMemberInterfaceMock) ControllerCalls

func (mock *GroupMemberInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedGroupMemberInterface.ControllerCalls())

func (*GroupMemberInterfaceMock) Create

func (mock *GroupMemberInterfaceMock) Create(in1 *v3.GroupMember) (*v3.GroupMember, error)

Create calls CreateFunc.

func (*GroupMemberInterfaceMock) CreateCalls

func (mock *GroupMemberInterfaceMock) CreateCalls() []struct {
	In1 *v3.GroupMember
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedGroupMemberInterface.CreateCalls())

func (*GroupMemberInterfaceMock) Delete

func (mock *GroupMemberInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*GroupMemberInterfaceMock) DeleteCalls

func (mock *GroupMemberInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedGroupMemberInterface.DeleteCalls())

func (*GroupMemberInterfaceMock) DeleteCollection

func (mock *GroupMemberInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*GroupMemberInterfaceMock) DeleteCollectionCalls

func (mock *GroupMemberInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedGroupMemberInterface.DeleteCollectionCalls())

func (*GroupMemberInterfaceMock) DeleteNamespaced

func (mock *GroupMemberInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*GroupMemberInterfaceMock) DeleteNamespacedCalls

func (mock *GroupMemberInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedGroupMemberInterface.DeleteNamespacedCalls())

func (*GroupMemberInterfaceMock) Get

func (mock *GroupMemberInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.GroupMember, error)

Get calls GetFunc.

func (*GroupMemberInterfaceMock) GetCalls

func (mock *GroupMemberInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGroupMemberInterface.GetCalls())

func (*GroupMemberInterfaceMock) GetNamespaced

func (mock *GroupMemberInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.GroupMember, error)

GetNamespaced calls GetNamespacedFunc.

func (*GroupMemberInterfaceMock) GetNamespacedCalls

func (mock *GroupMemberInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedGroupMemberInterface.GetNamespacedCalls())

func (*GroupMemberInterfaceMock) List

List calls ListFunc.

func (*GroupMemberInterfaceMock) ListCalls

func (mock *GroupMemberInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGroupMemberInterface.ListCalls())

func (*GroupMemberInterfaceMock) ListNamespaced

func (mock *GroupMemberInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.GroupMemberList, error)

ListNamespaced calls ListNamespacedFunc.

func (*GroupMemberInterfaceMock) ListNamespacedCalls

func (mock *GroupMemberInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedGroupMemberInterface.ListNamespacedCalls())

func (*GroupMemberInterfaceMock) ObjectClient

func (mock *GroupMemberInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*GroupMemberInterfaceMock) ObjectClientCalls

func (mock *GroupMemberInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedGroupMemberInterface.ObjectClientCalls())

func (*GroupMemberInterfaceMock) Update

func (mock *GroupMemberInterfaceMock) Update(in1 *v3.GroupMember) (*v3.GroupMember, error)

Update calls UpdateFunc.

func (*GroupMemberInterfaceMock) UpdateCalls

func (mock *GroupMemberInterfaceMock) UpdateCalls() []struct {
	In1 *v3.GroupMember
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedGroupMemberInterface.UpdateCalls())

func (*GroupMemberInterfaceMock) Watch

Watch calls WatchFunc.

func (*GroupMemberInterfaceMock) WatchCalls

func (mock *GroupMemberInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedGroupMemberInterface.WatchCalls())

type GroupMemberListerMock

type GroupMemberListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.GroupMember, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.GroupMember, error)
	// contains filtered or unexported fields
}

GroupMemberListerMock is a mock implementation of GroupMemberLister.

    func TestSomethingThatUsesGroupMemberLister(t *testing.T) {

        // make and configure a mocked GroupMemberLister
        mockedGroupMemberLister := &GroupMemberListerMock{
            GetFunc: func(namespace string, name string) (*v3.GroupMember, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.GroupMember, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGroupMemberLister in code that requires GroupMemberLister
        // and then make assertions.

    }

func (*GroupMemberListerMock) Get

func (mock *GroupMemberListerMock) Get(namespace string, name string) (*v3.GroupMember, error)

Get calls GetFunc.

func (*GroupMemberListerMock) GetCalls

func (mock *GroupMemberListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedGroupMemberLister.GetCalls())

func (*GroupMemberListerMock) List

func (mock *GroupMemberListerMock) List(namespace string, selector labels.Selector) ([]*v3.GroupMember, error)

List calls ListFunc.

func (*GroupMemberListerMock) ListCalls

func (mock *GroupMemberListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedGroupMemberLister.ListCalls())

type GroupMembersGetterMock

type GroupMembersGetterMock struct {
	// GroupMembersFunc mocks the GroupMembers method.
	GroupMembersFunc func(namespace string) v3.GroupMemberInterface
	// contains filtered or unexported fields
}

GroupMembersGetterMock is a mock implementation of GroupMembersGetter.

    func TestSomethingThatUsesGroupMembersGetter(t *testing.T) {

        // make and configure a mocked GroupMembersGetter
        mockedGroupMembersGetter := &GroupMembersGetterMock{
            GroupMembersFunc: func(namespace string) v3.GroupMemberInterface {
	               panic("mock out the GroupMembers method")
            },
        }

        // use mockedGroupMembersGetter in code that requires GroupMembersGetter
        // and then make assertions.

    }

func (*GroupMembersGetterMock) GroupMembers

func (mock *GroupMembersGetterMock) GroupMembers(namespace string) v3.GroupMemberInterface

GroupMembers calls GroupMembersFunc.

func (*GroupMembersGetterMock) GroupMembersCalls

func (mock *GroupMembersGetterMock) GroupMembersCalls() []struct {
	Namespace string
}

GroupMembersCalls gets all the calls that were made to GroupMembers. Check the length with:

len(mockedGroupMembersGetter.GroupMembersCalls())

type GroupsGetterMock

type GroupsGetterMock struct {
	// GroupsFunc mocks the Groups method.
	GroupsFunc func(namespace string) v3.GroupInterface
	// contains filtered or unexported fields
}

GroupsGetterMock is a mock implementation of GroupsGetter.

    func TestSomethingThatUsesGroupsGetter(t *testing.T) {

        // make and configure a mocked GroupsGetter
        mockedGroupsGetter := &GroupsGetterMock{
            GroupsFunc: func(namespace string) v3.GroupInterface {
	               panic("mock out the Groups method")
            },
        }

        // use mockedGroupsGetter in code that requires GroupsGetter
        // and then make assertions.

    }

func (*GroupsGetterMock) Groups

func (mock *GroupsGetterMock) Groups(namespace string) v3.GroupInterface

Groups calls GroupsFunc.

func (*GroupsGetterMock) GroupsCalls

func (mock *GroupsGetterMock) GroupsCalls() []struct {
	Namespace string
}

GroupsCalls gets all the calls that were made to Groups. Check the length with:

len(mockedGroupsGetter.GroupsCalls())

type KontainerDriverControllerMock

type KontainerDriverControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.KontainerDriverHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

KontainerDriverControllerMock is a mock implementation of KontainerDriverController.

    func TestSomethingThatUsesKontainerDriverController(t *testing.T) {

        // make and configure a mocked KontainerDriverController
        mockedKontainerDriverController := &KontainerDriverControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.KontainerDriverHandlerFunc)  {
	               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.KontainerDriverLister {
	               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 mockedKontainerDriverController in code that requires KontainerDriverController
        // and then make assertions.

    }

func (*KontainerDriverControllerMock) AddClusterScopedFeatureHandler

func (mock *KontainerDriverControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.KontainerDriverHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*KontainerDriverControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *KontainerDriverControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.KontainerDriverHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedKontainerDriverController.AddClusterScopedFeatureHandlerCalls())

func (*KontainerDriverControllerMock) AddClusterScopedHandler

func (mock *KontainerDriverControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.KontainerDriverHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*KontainerDriverControllerMock) AddClusterScopedHandlerCalls

func (mock *KontainerDriverControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.KontainerDriverHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedKontainerDriverController.AddClusterScopedHandlerCalls())

func (*KontainerDriverControllerMock) AddFeatureHandler

func (mock *KontainerDriverControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.KontainerDriverHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*KontainerDriverControllerMock) AddFeatureHandlerCalls

func (mock *KontainerDriverControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.KontainerDriverHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedKontainerDriverController.AddFeatureHandlerCalls())

func (*KontainerDriverControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*KontainerDriverControllerMock) AddHandlerCalls

func (mock *KontainerDriverControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.KontainerDriverHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedKontainerDriverController.AddHandlerCalls())

func (*KontainerDriverControllerMock) Enqueue

func (mock *KontainerDriverControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*KontainerDriverControllerMock) EnqueueAfter

func (mock *KontainerDriverControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*KontainerDriverControllerMock) EnqueueAfterCalls

func (mock *KontainerDriverControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedKontainerDriverController.EnqueueAfterCalls())

func (*KontainerDriverControllerMock) EnqueueCalls

func (mock *KontainerDriverControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedKontainerDriverController.EnqueueCalls())

func (*KontainerDriverControllerMock) Generic

Generic calls GenericFunc.

func (*KontainerDriverControllerMock) GenericCalls

func (mock *KontainerDriverControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedKontainerDriverController.GenericCalls())

func (*KontainerDriverControllerMock) Informer

Informer calls InformerFunc.

func (*KontainerDriverControllerMock) InformerCalls

func (mock *KontainerDriverControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedKontainerDriverController.InformerCalls())

func (*KontainerDriverControllerMock) Lister

Lister calls ListerFunc.

func (*KontainerDriverControllerMock) ListerCalls

func (mock *KontainerDriverControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedKontainerDriverController.ListerCalls())

func (*KontainerDriverControllerMock) Start

func (mock *KontainerDriverControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*KontainerDriverControllerMock) StartCalls

func (mock *KontainerDriverControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedKontainerDriverController.StartCalls())

func (*KontainerDriverControllerMock) Sync

Sync calls SyncFunc.

func (*KontainerDriverControllerMock) SyncCalls

func (mock *KontainerDriverControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedKontainerDriverController.SyncCalls())

type KontainerDriverInterfaceMock

type KontainerDriverInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.KontainerDriverHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

KontainerDriverInterfaceMock is a mock implementation of KontainerDriverInterface.

    func TestSomethingThatUsesKontainerDriverInterface(t *testing.T) {

        // make and configure a mocked KontainerDriverInterface
        mockedKontainerDriverInterface := &KontainerDriverInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.KontainerDriverLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.KontainerDriverLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.KontainerDriverLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.KontainerDriverLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.KontainerDriverController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.KontainerDriver) (*v3.KontainerDriver, 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.KontainerDriver, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.KontainerDriver, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.KontainerDriverList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.KontainerDriverList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.KontainerDriver) (*v3.KontainerDriver, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedKontainerDriverInterface in code that requires KontainerDriverInterface
        // and then make assertions.

    }

func (*KontainerDriverInterfaceMock) AddClusterScopedFeatureHandler

func (mock *KontainerDriverInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.KontainerDriverHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*KontainerDriverInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *KontainerDriverInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.KontainerDriverHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedKontainerDriverInterface.AddClusterScopedFeatureHandlerCalls())

func (*KontainerDriverInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *KontainerDriverInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.KontainerDriverLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*KontainerDriverInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *KontainerDriverInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.KontainerDriverLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedKontainerDriverInterface.AddClusterScopedFeatureLifecycleCalls())

func (*KontainerDriverInterfaceMock) AddClusterScopedHandler

func (mock *KontainerDriverInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.KontainerDriverHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*KontainerDriverInterfaceMock) AddClusterScopedHandlerCalls

func (mock *KontainerDriverInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.KontainerDriverHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedKontainerDriverInterface.AddClusterScopedHandlerCalls())

func (*KontainerDriverInterfaceMock) AddClusterScopedLifecycle

func (mock *KontainerDriverInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.KontainerDriverLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*KontainerDriverInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *KontainerDriverInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.KontainerDriverLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedKontainerDriverInterface.AddClusterScopedLifecycleCalls())

func (*KontainerDriverInterfaceMock) AddFeatureHandler

func (mock *KontainerDriverInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.KontainerDriverHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*KontainerDriverInterfaceMock) AddFeatureHandlerCalls

func (mock *KontainerDriverInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.KontainerDriverHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedKontainerDriverInterface.AddFeatureHandlerCalls())

func (*KontainerDriverInterfaceMock) AddFeatureLifecycle

func (mock *KontainerDriverInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.KontainerDriverLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*KontainerDriverInterfaceMock) AddFeatureLifecycleCalls

func (mock *KontainerDriverInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.KontainerDriverLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedKontainerDriverInterface.AddFeatureLifecycleCalls())

func (*KontainerDriverInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*KontainerDriverInterfaceMock) AddHandlerCalls

func (mock *KontainerDriverInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.KontainerDriverHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedKontainerDriverInterface.AddHandlerCalls())

func (*KontainerDriverInterfaceMock) AddLifecycle

func (mock *KontainerDriverInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.KontainerDriverLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*KontainerDriverInterfaceMock) AddLifecycleCalls

func (mock *KontainerDriverInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.KontainerDriverLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedKontainerDriverInterface.AddLifecycleCalls())

func (*KontainerDriverInterfaceMock) Controller

Controller calls ControllerFunc.

func (*KontainerDriverInterfaceMock) ControllerCalls

func (mock *KontainerDriverInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedKontainerDriverInterface.ControllerCalls())

func (*KontainerDriverInterfaceMock) Create

Create calls CreateFunc.

func (*KontainerDriverInterfaceMock) CreateCalls

func (mock *KontainerDriverInterfaceMock) CreateCalls() []struct {
	In1 *v3.KontainerDriver
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedKontainerDriverInterface.CreateCalls())

func (*KontainerDriverInterfaceMock) Delete

func (mock *KontainerDriverInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*KontainerDriverInterfaceMock) DeleteCalls

func (mock *KontainerDriverInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedKontainerDriverInterface.DeleteCalls())

func (*KontainerDriverInterfaceMock) DeleteCollection

func (mock *KontainerDriverInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*KontainerDriverInterfaceMock) DeleteCollectionCalls

func (mock *KontainerDriverInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedKontainerDriverInterface.DeleteCollectionCalls())

func (*KontainerDriverInterfaceMock) DeleteNamespaced

func (mock *KontainerDriverInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*KontainerDriverInterfaceMock) DeleteNamespacedCalls

func (mock *KontainerDriverInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedKontainerDriverInterface.DeleteNamespacedCalls())

func (*KontainerDriverInterfaceMock) Get

Get calls GetFunc.

func (*KontainerDriverInterfaceMock) GetCalls

func (mock *KontainerDriverInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedKontainerDriverInterface.GetCalls())

func (*KontainerDriverInterfaceMock) GetNamespaced

func (mock *KontainerDriverInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.KontainerDriver, error)

GetNamespaced calls GetNamespacedFunc.

func (*KontainerDriverInterfaceMock) GetNamespacedCalls

func (mock *KontainerDriverInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedKontainerDriverInterface.GetNamespacedCalls())

func (*KontainerDriverInterfaceMock) List

List calls ListFunc.

func (*KontainerDriverInterfaceMock) ListCalls

func (mock *KontainerDriverInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedKontainerDriverInterface.ListCalls())

func (*KontainerDriverInterfaceMock) ListNamespaced

func (mock *KontainerDriverInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.KontainerDriverList, error)

ListNamespaced calls ListNamespacedFunc.

func (*KontainerDriverInterfaceMock) ListNamespacedCalls

func (mock *KontainerDriverInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedKontainerDriverInterface.ListNamespacedCalls())

func (*KontainerDriverInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*KontainerDriverInterfaceMock) ObjectClientCalls

func (mock *KontainerDriverInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedKontainerDriverInterface.ObjectClientCalls())

func (*KontainerDriverInterfaceMock) Update

Update calls UpdateFunc.

func (*KontainerDriverInterfaceMock) UpdateCalls

func (mock *KontainerDriverInterfaceMock) UpdateCalls() []struct {
	In1 *v3.KontainerDriver
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedKontainerDriverInterface.UpdateCalls())

func (*KontainerDriverInterfaceMock) Watch

Watch calls WatchFunc.

func (*KontainerDriverInterfaceMock) WatchCalls

func (mock *KontainerDriverInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedKontainerDriverInterface.WatchCalls())

type KontainerDriverListerMock

type KontainerDriverListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.KontainerDriver, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.KontainerDriver, error)
	// contains filtered or unexported fields
}

KontainerDriverListerMock is a mock implementation of KontainerDriverLister.

    func TestSomethingThatUsesKontainerDriverLister(t *testing.T) {

        // make and configure a mocked KontainerDriverLister
        mockedKontainerDriverLister := &KontainerDriverListerMock{
            GetFunc: func(namespace string, name string) (*v3.KontainerDriver, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.KontainerDriver, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedKontainerDriverLister in code that requires KontainerDriverLister
        // and then make assertions.

    }

func (*KontainerDriverListerMock) Get

func (mock *KontainerDriverListerMock) Get(namespace string, name string) (*v3.KontainerDriver, error)

Get calls GetFunc.

func (*KontainerDriverListerMock) GetCalls

func (mock *KontainerDriverListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedKontainerDriverLister.GetCalls())

func (*KontainerDriverListerMock) List

func (mock *KontainerDriverListerMock) List(namespace string, selector labels.Selector) ([]*v3.KontainerDriver, error)

List calls ListFunc.

func (*KontainerDriverListerMock) ListCalls

func (mock *KontainerDriverListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedKontainerDriverLister.ListCalls())

type KontainerDriversGetterMock

type KontainerDriversGetterMock struct {
	// KontainerDriversFunc mocks the KontainerDrivers method.
	KontainerDriversFunc func(namespace string) v3.KontainerDriverInterface
	// contains filtered or unexported fields
}

KontainerDriversGetterMock is a mock implementation of KontainerDriversGetter.

    func TestSomethingThatUsesKontainerDriversGetter(t *testing.T) {

        // make and configure a mocked KontainerDriversGetter
        mockedKontainerDriversGetter := &KontainerDriversGetterMock{
            KontainerDriversFunc: func(namespace string) v3.KontainerDriverInterface {
	               panic("mock out the KontainerDrivers method")
            },
        }

        // use mockedKontainerDriversGetter in code that requires KontainerDriversGetter
        // and then make assertions.

    }

func (*KontainerDriversGetterMock) KontainerDrivers

func (mock *KontainerDriversGetterMock) KontainerDrivers(namespace string) v3.KontainerDriverInterface

KontainerDrivers calls KontainerDriversFunc.

func (*KontainerDriversGetterMock) KontainerDriversCalls

func (mock *KontainerDriversGetterMock) KontainerDriversCalls() []struct {
	Namespace string
}

KontainerDriversCalls gets all the calls that were made to KontainerDrivers. Check the length with:

len(mockedKontainerDriversGetter.KontainerDriversCalls())

type LdapConfigControllerMock

type LdapConfigControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.LdapConfigHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

LdapConfigControllerMock is a mock implementation of LdapConfigController.

    func TestSomethingThatUsesLdapConfigController(t *testing.T) {

        // make and configure a mocked LdapConfigController
        mockedLdapConfigController := &LdapConfigControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.LdapConfigHandlerFunc)  {
	               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.LdapConfigLister {
	               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 mockedLdapConfigController in code that requires LdapConfigController
        // and then make assertions.

    }

func (*LdapConfigControllerMock) AddClusterScopedFeatureHandler

func (mock *LdapConfigControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.LdapConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*LdapConfigControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *LdapConfigControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.LdapConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedLdapConfigController.AddClusterScopedFeatureHandlerCalls())

func (*LdapConfigControllerMock) AddClusterScopedHandler

func (mock *LdapConfigControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.LdapConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*LdapConfigControllerMock) AddClusterScopedHandlerCalls

func (mock *LdapConfigControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.LdapConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedLdapConfigController.AddClusterScopedHandlerCalls())

func (*LdapConfigControllerMock) AddFeatureHandler

func (mock *LdapConfigControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.LdapConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*LdapConfigControllerMock) AddFeatureHandlerCalls

func (mock *LdapConfigControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.LdapConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedLdapConfigController.AddFeatureHandlerCalls())

func (*LdapConfigControllerMock) AddHandler

func (mock *LdapConfigControllerMock) AddHandler(ctx context.Context, name string, handler v3.LdapConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*LdapConfigControllerMock) AddHandlerCalls

func (mock *LdapConfigControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.LdapConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedLdapConfigController.AddHandlerCalls())

func (*LdapConfigControllerMock) Enqueue

func (mock *LdapConfigControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*LdapConfigControllerMock) EnqueueAfter

func (mock *LdapConfigControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*LdapConfigControllerMock) EnqueueAfterCalls

func (mock *LdapConfigControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedLdapConfigController.EnqueueAfterCalls())

func (*LdapConfigControllerMock) EnqueueCalls

func (mock *LdapConfigControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedLdapConfigController.EnqueueCalls())

func (*LdapConfigControllerMock) Generic

Generic calls GenericFunc.

func (*LdapConfigControllerMock) GenericCalls

func (mock *LdapConfigControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedLdapConfigController.GenericCalls())

func (*LdapConfigControllerMock) Informer

Informer calls InformerFunc.

func (*LdapConfigControllerMock) InformerCalls

func (mock *LdapConfigControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedLdapConfigController.InformerCalls())

func (*LdapConfigControllerMock) Lister

Lister calls ListerFunc.

func (*LdapConfigControllerMock) ListerCalls

func (mock *LdapConfigControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedLdapConfigController.ListerCalls())

func (*LdapConfigControllerMock) Start

func (mock *LdapConfigControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*LdapConfigControllerMock) StartCalls

func (mock *LdapConfigControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedLdapConfigController.StartCalls())

func (*LdapConfigControllerMock) Sync

Sync calls SyncFunc.

func (*LdapConfigControllerMock) SyncCalls

func (mock *LdapConfigControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedLdapConfigController.SyncCalls())

type LdapConfigInterfaceMock

type LdapConfigInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.LdapConfigHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

LdapConfigInterfaceMock is a mock implementation of LdapConfigInterface.

    func TestSomethingThatUsesLdapConfigInterface(t *testing.T) {

        // make and configure a mocked LdapConfigInterface
        mockedLdapConfigInterface := &LdapConfigInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.LdapConfigLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.LdapConfigLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.LdapConfigLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.LdapConfigLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.LdapConfigController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.LdapConfig) (*v3.LdapConfig, 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.LdapConfig, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.LdapConfig, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.LdapConfigList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.LdapConfigList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.LdapConfig) (*v3.LdapConfig, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedLdapConfigInterface in code that requires LdapConfigInterface
        // and then make assertions.

    }

func (*LdapConfigInterfaceMock) AddClusterScopedFeatureHandler

func (mock *LdapConfigInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.LdapConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*LdapConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *LdapConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.LdapConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedLdapConfigInterface.AddClusterScopedFeatureHandlerCalls())

func (*LdapConfigInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *LdapConfigInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.LdapConfigLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*LdapConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *LdapConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.LdapConfigLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedLdapConfigInterface.AddClusterScopedFeatureLifecycleCalls())

func (*LdapConfigInterfaceMock) AddClusterScopedHandler

func (mock *LdapConfigInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.LdapConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*LdapConfigInterfaceMock) AddClusterScopedHandlerCalls

func (mock *LdapConfigInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.LdapConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedLdapConfigInterface.AddClusterScopedHandlerCalls())

func (*LdapConfigInterfaceMock) AddClusterScopedLifecycle

func (mock *LdapConfigInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.LdapConfigLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*LdapConfigInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *LdapConfigInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.LdapConfigLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedLdapConfigInterface.AddClusterScopedLifecycleCalls())

func (*LdapConfigInterfaceMock) AddFeatureHandler

func (mock *LdapConfigInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.LdapConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*LdapConfigInterfaceMock) AddFeatureHandlerCalls

func (mock *LdapConfigInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.LdapConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedLdapConfigInterface.AddFeatureHandlerCalls())

func (*LdapConfigInterfaceMock) AddFeatureLifecycle

func (mock *LdapConfigInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.LdapConfigLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*LdapConfigInterfaceMock) AddFeatureLifecycleCalls

func (mock *LdapConfigInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.LdapConfigLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedLdapConfigInterface.AddFeatureLifecycleCalls())

func (*LdapConfigInterfaceMock) AddHandler

func (mock *LdapConfigInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.LdapConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*LdapConfigInterfaceMock) AddHandlerCalls

func (mock *LdapConfigInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.LdapConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedLdapConfigInterface.AddHandlerCalls())

func (*LdapConfigInterfaceMock) AddLifecycle

func (mock *LdapConfigInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.LdapConfigLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*LdapConfigInterfaceMock) AddLifecycleCalls

func (mock *LdapConfigInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.LdapConfigLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedLdapConfigInterface.AddLifecycleCalls())

func (*LdapConfigInterfaceMock) Controller

func (mock *LdapConfigInterfaceMock) Controller() v3.LdapConfigController

Controller calls ControllerFunc.

func (*LdapConfigInterfaceMock) ControllerCalls

func (mock *LdapConfigInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedLdapConfigInterface.ControllerCalls())

func (*LdapConfigInterfaceMock) Create

func (mock *LdapConfigInterfaceMock) Create(in1 *v3.LdapConfig) (*v3.LdapConfig, error)

Create calls CreateFunc.

func (*LdapConfigInterfaceMock) CreateCalls

func (mock *LdapConfigInterfaceMock) CreateCalls() []struct {
	In1 *v3.LdapConfig
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedLdapConfigInterface.CreateCalls())

func (*LdapConfigInterfaceMock) Delete

func (mock *LdapConfigInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*LdapConfigInterfaceMock) DeleteCalls

func (mock *LdapConfigInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedLdapConfigInterface.DeleteCalls())

func (*LdapConfigInterfaceMock) DeleteCollection

func (mock *LdapConfigInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*LdapConfigInterfaceMock) DeleteCollectionCalls

func (mock *LdapConfigInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedLdapConfigInterface.DeleteCollectionCalls())

func (*LdapConfigInterfaceMock) DeleteNamespaced

func (mock *LdapConfigInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*LdapConfigInterfaceMock) DeleteNamespacedCalls

func (mock *LdapConfigInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedLdapConfigInterface.DeleteNamespacedCalls())

func (*LdapConfigInterfaceMock) Get

func (mock *LdapConfigInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.LdapConfig, error)

Get calls GetFunc.

func (*LdapConfigInterfaceMock) GetCalls

func (mock *LdapConfigInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedLdapConfigInterface.GetCalls())

func (*LdapConfigInterfaceMock) GetNamespaced

func (mock *LdapConfigInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.LdapConfig, error)

GetNamespaced calls GetNamespacedFunc.

func (*LdapConfigInterfaceMock) GetNamespacedCalls

func (mock *LdapConfigInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedLdapConfigInterface.GetNamespacedCalls())

func (*LdapConfigInterfaceMock) List

List calls ListFunc.

func (*LdapConfigInterfaceMock) ListCalls

func (mock *LdapConfigInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedLdapConfigInterface.ListCalls())

func (*LdapConfigInterfaceMock) ListNamespaced

func (mock *LdapConfigInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.LdapConfigList, error)

ListNamespaced calls ListNamespacedFunc.

func (*LdapConfigInterfaceMock) ListNamespacedCalls

func (mock *LdapConfigInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedLdapConfigInterface.ListNamespacedCalls())

func (*LdapConfigInterfaceMock) ObjectClient

func (mock *LdapConfigInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*LdapConfigInterfaceMock) ObjectClientCalls

func (mock *LdapConfigInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedLdapConfigInterface.ObjectClientCalls())

func (*LdapConfigInterfaceMock) Update

func (mock *LdapConfigInterfaceMock) Update(in1 *v3.LdapConfig) (*v3.LdapConfig, error)

Update calls UpdateFunc.

func (*LdapConfigInterfaceMock) UpdateCalls

func (mock *LdapConfigInterfaceMock) UpdateCalls() []struct {
	In1 *v3.LdapConfig
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedLdapConfigInterface.UpdateCalls())

func (*LdapConfigInterfaceMock) Watch

Watch calls WatchFunc.

func (*LdapConfigInterfaceMock) WatchCalls

func (mock *LdapConfigInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedLdapConfigInterface.WatchCalls())

type LdapConfigListerMock

type LdapConfigListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.LdapConfig, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.LdapConfig, error)
	// contains filtered or unexported fields
}

LdapConfigListerMock is a mock implementation of LdapConfigLister.

    func TestSomethingThatUsesLdapConfigLister(t *testing.T) {

        // make and configure a mocked LdapConfigLister
        mockedLdapConfigLister := &LdapConfigListerMock{
            GetFunc: func(namespace string, name string) (*v3.LdapConfig, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.LdapConfig, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedLdapConfigLister in code that requires LdapConfigLister
        // and then make assertions.

    }

func (*LdapConfigListerMock) Get

func (mock *LdapConfigListerMock) Get(namespace string, name string) (*v3.LdapConfig, error)

Get calls GetFunc.

func (*LdapConfigListerMock) GetCalls

func (mock *LdapConfigListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedLdapConfigLister.GetCalls())

func (*LdapConfigListerMock) List

func (mock *LdapConfigListerMock) List(namespace string, selector labels.Selector) ([]*v3.LdapConfig, error)

List calls ListFunc.

func (*LdapConfigListerMock) ListCalls

func (mock *LdapConfigListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedLdapConfigLister.ListCalls())

type LdapConfigsGetterMock

type LdapConfigsGetterMock struct {
	// LdapConfigsFunc mocks the LdapConfigs method.
	LdapConfigsFunc func(namespace string) v3.LdapConfigInterface
	// contains filtered or unexported fields
}

LdapConfigsGetterMock is a mock implementation of LdapConfigsGetter.

    func TestSomethingThatUsesLdapConfigsGetter(t *testing.T) {

        // make and configure a mocked LdapConfigsGetter
        mockedLdapConfigsGetter := &LdapConfigsGetterMock{
            LdapConfigsFunc: func(namespace string) v3.LdapConfigInterface {
	               panic("mock out the LdapConfigs method")
            },
        }

        // use mockedLdapConfigsGetter in code that requires LdapConfigsGetter
        // and then make assertions.

    }

func (*LdapConfigsGetterMock) LdapConfigs

func (mock *LdapConfigsGetterMock) LdapConfigs(namespace string) v3.LdapConfigInterface

LdapConfigs calls LdapConfigsFunc.

func (*LdapConfigsGetterMock) LdapConfigsCalls

func (mock *LdapConfigsGetterMock) LdapConfigsCalls() []struct {
	Namespace string
}

LdapConfigsCalls gets all the calls that were made to LdapConfigs. Check the length with:

len(mockedLdapConfigsGetter.LdapConfigsCalls())

type MonitorMetricControllerMock

type MonitorMetricControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MonitorMetricHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

MonitorMetricControllerMock is a mock implementation of MonitorMetricController.

    func TestSomethingThatUsesMonitorMetricController(t *testing.T) {

        // make and configure a mocked MonitorMetricController
        mockedMonitorMetricController := &MonitorMetricControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.MonitorMetricHandlerFunc)  {
	               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.MonitorMetricLister {
	               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 mockedMonitorMetricController in code that requires MonitorMetricController
        // and then make assertions.

    }

func (*MonitorMetricControllerMock) AddClusterScopedFeatureHandler

func (mock *MonitorMetricControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MonitorMetricHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*MonitorMetricControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *MonitorMetricControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.MonitorMetricHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedMonitorMetricController.AddClusterScopedFeatureHandlerCalls())

func (*MonitorMetricControllerMock) AddClusterScopedHandler

func (mock *MonitorMetricControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.MonitorMetricHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*MonitorMetricControllerMock) AddClusterScopedHandlerCalls

func (mock *MonitorMetricControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.MonitorMetricHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedMonitorMetricController.AddClusterScopedHandlerCalls())

func (*MonitorMetricControllerMock) AddFeatureHandler

func (mock *MonitorMetricControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.MonitorMetricHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*MonitorMetricControllerMock) AddFeatureHandlerCalls

func (mock *MonitorMetricControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.MonitorMetricHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedMonitorMetricController.AddFeatureHandlerCalls())

func (*MonitorMetricControllerMock) AddHandler

func (mock *MonitorMetricControllerMock) AddHandler(ctx context.Context, name string, handler v3.MonitorMetricHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*MonitorMetricControllerMock) AddHandlerCalls

func (mock *MonitorMetricControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.MonitorMetricHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedMonitorMetricController.AddHandlerCalls())

func (*MonitorMetricControllerMock) Enqueue

func (mock *MonitorMetricControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*MonitorMetricControllerMock) EnqueueAfter

func (mock *MonitorMetricControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*MonitorMetricControllerMock) EnqueueAfterCalls

func (mock *MonitorMetricControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedMonitorMetricController.EnqueueAfterCalls())

func (*MonitorMetricControllerMock) EnqueueCalls

func (mock *MonitorMetricControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedMonitorMetricController.EnqueueCalls())

func (*MonitorMetricControllerMock) Generic

Generic calls GenericFunc.

func (*MonitorMetricControllerMock) GenericCalls

func (mock *MonitorMetricControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedMonitorMetricController.GenericCalls())

func (*MonitorMetricControllerMock) Informer

Informer calls InformerFunc.

func (*MonitorMetricControllerMock) InformerCalls

func (mock *MonitorMetricControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedMonitorMetricController.InformerCalls())

func (*MonitorMetricControllerMock) Lister

Lister calls ListerFunc.

func (*MonitorMetricControllerMock) ListerCalls

func (mock *MonitorMetricControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedMonitorMetricController.ListerCalls())

func (*MonitorMetricControllerMock) Start

func (mock *MonitorMetricControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*MonitorMetricControllerMock) StartCalls

func (mock *MonitorMetricControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedMonitorMetricController.StartCalls())

func (*MonitorMetricControllerMock) Sync

Sync calls SyncFunc.

func (*MonitorMetricControllerMock) SyncCalls

func (mock *MonitorMetricControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedMonitorMetricController.SyncCalls())

type MonitorMetricInterfaceMock

type MonitorMetricInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MonitorMetricHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

MonitorMetricInterfaceMock is a mock implementation of MonitorMetricInterface.

    func TestSomethingThatUsesMonitorMetricInterface(t *testing.T) {

        // make and configure a mocked MonitorMetricInterface
        mockedMonitorMetricInterface := &MonitorMetricInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.MonitorMetricLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.MonitorMetricLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.MonitorMetricLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.MonitorMetricLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.MonitorMetricController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.MonitorMetric) (*v3.MonitorMetric, 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.MonitorMetric, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.MonitorMetric, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.MonitorMetricList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.MonitorMetricList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.MonitorMetric) (*v3.MonitorMetric, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedMonitorMetricInterface in code that requires MonitorMetricInterface
        // and then make assertions.

    }

func (*MonitorMetricInterfaceMock) AddClusterScopedFeatureHandler

func (mock *MonitorMetricInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MonitorMetricHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*MonitorMetricInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *MonitorMetricInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.MonitorMetricHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedMonitorMetricInterface.AddClusterScopedFeatureHandlerCalls())

func (*MonitorMetricInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *MonitorMetricInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.MonitorMetricLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*MonitorMetricInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *MonitorMetricInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.MonitorMetricLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedMonitorMetricInterface.AddClusterScopedFeatureLifecycleCalls())

func (*MonitorMetricInterfaceMock) AddClusterScopedHandler

func (mock *MonitorMetricInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.MonitorMetricHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*MonitorMetricInterfaceMock) AddClusterScopedHandlerCalls

func (mock *MonitorMetricInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.MonitorMetricHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedMonitorMetricInterface.AddClusterScopedHandlerCalls())

func (*MonitorMetricInterfaceMock) AddClusterScopedLifecycle

func (mock *MonitorMetricInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.MonitorMetricLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*MonitorMetricInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *MonitorMetricInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.MonitorMetricLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedMonitorMetricInterface.AddClusterScopedLifecycleCalls())

func (*MonitorMetricInterfaceMock) AddFeatureHandler

func (mock *MonitorMetricInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.MonitorMetricHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*MonitorMetricInterfaceMock) AddFeatureHandlerCalls

func (mock *MonitorMetricInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.MonitorMetricHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedMonitorMetricInterface.AddFeatureHandlerCalls())

func (*MonitorMetricInterfaceMock) AddFeatureLifecycle

func (mock *MonitorMetricInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.MonitorMetricLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*MonitorMetricInterfaceMock) AddFeatureLifecycleCalls

func (mock *MonitorMetricInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.MonitorMetricLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedMonitorMetricInterface.AddFeatureLifecycleCalls())

func (*MonitorMetricInterfaceMock) AddHandler

func (mock *MonitorMetricInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.MonitorMetricHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*MonitorMetricInterfaceMock) AddHandlerCalls

func (mock *MonitorMetricInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.MonitorMetricHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedMonitorMetricInterface.AddHandlerCalls())

func (*MonitorMetricInterfaceMock) AddLifecycle

func (mock *MonitorMetricInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.MonitorMetricLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*MonitorMetricInterfaceMock) AddLifecycleCalls

func (mock *MonitorMetricInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.MonitorMetricLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedMonitorMetricInterface.AddLifecycleCalls())

func (*MonitorMetricInterfaceMock) Controller

Controller calls ControllerFunc.

func (*MonitorMetricInterfaceMock) ControllerCalls

func (mock *MonitorMetricInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedMonitorMetricInterface.ControllerCalls())

func (*MonitorMetricInterfaceMock) Create

Create calls CreateFunc.

func (*MonitorMetricInterfaceMock) CreateCalls

func (mock *MonitorMetricInterfaceMock) CreateCalls() []struct {
	In1 *v3.MonitorMetric
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedMonitorMetricInterface.CreateCalls())

func (*MonitorMetricInterfaceMock) Delete

func (mock *MonitorMetricInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*MonitorMetricInterfaceMock) DeleteCalls

func (mock *MonitorMetricInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedMonitorMetricInterface.DeleteCalls())

func (*MonitorMetricInterfaceMock) DeleteCollection

func (mock *MonitorMetricInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*MonitorMetricInterfaceMock) DeleteCollectionCalls

func (mock *MonitorMetricInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedMonitorMetricInterface.DeleteCollectionCalls())

func (*MonitorMetricInterfaceMock) DeleteNamespaced

func (mock *MonitorMetricInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*MonitorMetricInterfaceMock) DeleteNamespacedCalls

func (mock *MonitorMetricInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedMonitorMetricInterface.DeleteNamespacedCalls())

func (*MonitorMetricInterfaceMock) Get

Get calls GetFunc.

func (*MonitorMetricInterfaceMock) GetCalls

func (mock *MonitorMetricInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedMonitorMetricInterface.GetCalls())

func (*MonitorMetricInterfaceMock) GetNamespaced

func (mock *MonitorMetricInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.MonitorMetric, error)

GetNamespaced calls GetNamespacedFunc.

func (*MonitorMetricInterfaceMock) GetNamespacedCalls

func (mock *MonitorMetricInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedMonitorMetricInterface.GetNamespacedCalls())

func (*MonitorMetricInterfaceMock) List

List calls ListFunc.

func (*MonitorMetricInterfaceMock) ListCalls

func (mock *MonitorMetricInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedMonitorMetricInterface.ListCalls())

func (*MonitorMetricInterfaceMock) ListNamespaced

func (mock *MonitorMetricInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.MonitorMetricList, error)

ListNamespaced calls ListNamespacedFunc.

func (*MonitorMetricInterfaceMock) ListNamespacedCalls

func (mock *MonitorMetricInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedMonitorMetricInterface.ListNamespacedCalls())

func (*MonitorMetricInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*MonitorMetricInterfaceMock) ObjectClientCalls

func (mock *MonitorMetricInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedMonitorMetricInterface.ObjectClientCalls())

func (*MonitorMetricInterfaceMock) Update

Update calls UpdateFunc.

func (*MonitorMetricInterfaceMock) UpdateCalls

func (mock *MonitorMetricInterfaceMock) UpdateCalls() []struct {
	In1 *v3.MonitorMetric
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedMonitorMetricInterface.UpdateCalls())

func (*MonitorMetricInterfaceMock) Watch

Watch calls WatchFunc.

func (*MonitorMetricInterfaceMock) WatchCalls

func (mock *MonitorMetricInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedMonitorMetricInterface.WatchCalls())

type MonitorMetricListerMock

type MonitorMetricListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.MonitorMetric, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.MonitorMetric, error)
	// contains filtered or unexported fields
}

MonitorMetricListerMock is a mock implementation of MonitorMetricLister.

    func TestSomethingThatUsesMonitorMetricLister(t *testing.T) {

        // make and configure a mocked MonitorMetricLister
        mockedMonitorMetricLister := &MonitorMetricListerMock{
            GetFunc: func(namespace string, name string) (*v3.MonitorMetric, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.MonitorMetric, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedMonitorMetricLister in code that requires MonitorMetricLister
        // and then make assertions.

    }

func (*MonitorMetricListerMock) Get

func (mock *MonitorMetricListerMock) Get(namespace string, name string) (*v3.MonitorMetric, error)

Get calls GetFunc.

func (*MonitorMetricListerMock) GetCalls

func (mock *MonitorMetricListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedMonitorMetricLister.GetCalls())

func (*MonitorMetricListerMock) List

func (mock *MonitorMetricListerMock) List(namespace string, selector labels.Selector) ([]*v3.MonitorMetric, error)

List calls ListFunc.

func (*MonitorMetricListerMock) ListCalls

func (mock *MonitorMetricListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedMonitorMetricLister.ListCalls())

type MonitorMetricsGetterMock

type MonitorMetricsGetterMock struct {
	// MonitorMetricsFunc mocks the MonitorMetrics method.
	MonitorMetricsFunc func(namespace string) v3.MonitorMetricInterface
	// contains filtered or unexported fields
}

MonitorMetricsGetterMock is a mock implementation of MonitorMetricsGetter.

    func TestSomethingThatUsesMonitorMetricsGetter(t *testing.T) {

        // make and configure a mocked MonitorMetricsGetter
        mockedMonitorMetricsGetter := &MonitorMetricsGetterMock{
            MonitorMetricsFunc: func(namespace string) v3.MonitorMetricInterface {
	               panic("mock out the MonitorMetrics method")
            },
        }

        // use mockedMonitorMetricsGetter in code that requires MonitorMetricsGetter
        // and then make assertions.

    }

func (*MonitorMetricsGetterMock) MonitorMetrics

func (mock *MonitorMetricsGetterMock) MonitorMetrics(namespace string) v3.MonitorMetricInterface

MonitorMetrics calls MonitorMetricsFunc.

func (*MonitorMetricsGetterMock) MonitorMetricsCalls

func (mock *MonitorMetricsGetterMock) MonitorMetricsCalls() []struct {
	Namespace string
}

MonitorMetricsCalls gets all the calls that were made to MonitorMetrics. Check the length with:

len(mockedMonitorMetricsGetter.MonitorMetricsCalls())

type MultiClusterAppControllerMock

type MultiClusterAppControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MultiClusterAppHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

MultiClusterAppControllerMock is a mock implementation of MultiClusterAppController.

    func TestSomethingThatUsesMultiClusterAppController(t *testing.T) {

        // make and configure a mocked MultiClusterAppController
        mockedMultiClusterAppController := &MultiClusterAppControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.MultiClusterAppHandlerFunc)  {
	               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.MultiClusterAppLister {
	               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 mockedMultiClusterAppController in code that requires MultiClusterAppController
        // and then make assertions.

    }

func (*MultiClusterAppControllerMock) AddClusterScopedFeatureHandler

func (mock *MultiClusterAppControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MultiClusterAppHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*MultiClusterAppControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *MultiClusterAppControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.MultiClusterAppHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedMultiClusterAppController.AddClusterScopedFeatureHandlerCalls())

func (*MultiClusterAppControllerMock) AddClusterScopedHandler

func (mock *MultiClusterAppControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.MultiClusterAppHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*MultiClusterAppControllerMock) AddClusterScopedHandlerCalls

func (mock *MultiClusterAppControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.MultiClusterAppHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedMultiClusterAppController.AddClusterScopedHandlerCalls())

func (*MultiClusterAppControllerMock) AddFeatureHandler

func (mock *MultiClusterAppControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*MultiClusterAppControllerMock) AddFeatureHandlerCalls

func (mock *MultiClusterAppControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.MultiClusterAppHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedMultiClusterAppController.AddFeatureHandlerCalls())

func (*MultiClusterAppControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*MultiClusterAppControllerMock) AddHandlerCalls

func (mock *MultiClusterAppControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.MultiClusterAppHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedMultiClusterAppController.AddHandlerCalls())

func (*MultiClusterAppControllerMock) Enqueue

func (mock *MultiClusterAppControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*MultiClusterAppControllerMock) EnqueueAfter

func (mock *MultiClusterAppControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*MultiClusterAppControllerMock) EnqueueAfterCalls

func (mock *MultiClusterAppControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedMultiClusterAppController.EnqueueAfterCalls())

func (*MultiClusterAppControllerMock) EnqueueCalls

func (mock *MultiClusterAppControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedMultiClusterAppController.EnqueueCalls())

func (*MultiClusterAppControllerMock) Generic

Generic calls GenericFunc.

func (*MultiClusterAppControllerMock) GenericCalls

func (mock *MultiClusterAppControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedMultiClusterAppController.GenericCalls())

func (*MultiClusterAppControllerMock) Informer

Informer calls InformerFunc.

func (*MultiClusterAppControllerMock) InformerCalls

func (mock *MultiClusterAppControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedMultiClusterAppController.InformerCalls())

func (*MultiClusterAppControllerMock) Lister

Lister calls ListerFunc.

func (*MultiClusterAppControllerMock) ListerCalls

func (mock *MultiClusterAppControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedMultiClusterAppController.ListerCalls())

func (*MultiClusterAppControllerMock) Start

func (mock *MultiClusterAppControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*MultiClusterAppControllerMock) StartCalls

func (mock *MultiClusterAppControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedMultiClusterAppController.StartCalls())

func (*MultiClusterAppControllerMock) Sync

Sync calls SyncFunc.

func (*MultiClusterAppControllerMock) SyncCalls

func (mock *MultiClusterAppControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedMultiClusterAppController.SyncCalls())

type MultiClusterAppInterfaceMock

type MultiClusterAppInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MultiClusterAppHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

MultiClusterAppInterfaceMock is a mock implementation of MultiClusterAppInterface.

    func TestSomethingThatUsesMultiClusterAppInterface(t *testing.T) {

        // make and configure a mocked MultiClusterAppInterface
        mockedMultiClusterAppInterface := &MultiClusterAppInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.MultiClusterAppLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.MultiClusterAppLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.MultiClusterAppLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.MultiClusterAppLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.MultiClusterAppController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.MultiClusterApp) (*v3.MultiClusterApp, 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.MultiClusterApp, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.MultiClusterApp, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.MultiClusterAppList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.MultiClusterAppList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.MultiClusterApp) (*v3.MultiClusterApp, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedMultiClusterAppInterface in code that requires MultiClusterAppInterface
        // and then make assertions.

    }

func (*MultiClusterAppInterfaceMock) AddClusterScopedFeatureHandler

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MultiClusterAppHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*MultiClusterAppInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.MultiClusterAppHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedMultiClusterAppInterface.AddClusterScopedFeatureHandlerCalls())

func (*MultiClusterAppInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.MultiClusterAppLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*MultiClusterAppInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.MultiClusterAppLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedMultiClusterAppInterface.AddClusterScopedFeatureLifecycleCalls())

func (*MultiClusterAppInterfaceMock) AddClusterScopedHandler

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.MultiClusterAppHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*MultiClusterAppInterfaceMock) AddClusterScopedHandlerCalls

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.MultiClusterAppHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedMultiClusterAppInterface.AddClusterScopedHandlerCalls())

func (*MultiClusterAppInterfaceMock) AddClusterScopedLifecycle

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.MultiClusterAppLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*MultiClusterAppInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *MultiClusterAppInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.MultiClusterAppLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedMultiClusterAppInterface.AddClusterScopedLifecycleCalls())

func (*MultiClusterAppInterfaceMock) AddFeatureHandler

func (mock *MultiClusterAppInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*MultiClusterAppInterfaceMock) AddFeatureHandlerCalls

func (mock *MultiClusterAppInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.MultiClusterAppHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedMultiClusterAppInterface.AddFeatureHandlerCalls())

func (*MultiClusterAppInterfaceMock) AddFeatureLifecycle

func (mock *MultiClusterAppInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.MultiClusterAppLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*MultiClusterAppInterfaceMock) AddFeatureLifecycleCalls

func (mock *MultiClusterAppInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.MultiClusterAppLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedMultiClusterAppInterface.AddFeatureLifecycleCalls())

func (*MultiClusterAppInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*MultiClusterAppInterfaceMock) AddHandlerCalls

func (mock *MultiClusterAppInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.MultiClusterAppHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedMultiClusterAppInterface.AddHandlerCalls())

func (*MultiClusterAppInterfaceMock) AddLifecycle

func (mock *MultiClusterAppInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.MultiClusterAppLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*MultiClusterAppInterfaceMock) AddLifecycleCalls

func (mock *MultiClusterAppInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.MultiClusterAppLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedMultiClusterAppInterface.AddLifecycleCalls())

func (*MultiClusterAppInterfaceMock) Controller

Controller calls ControllerFunc.

func (*MultiClusterAppInterfaceMock) ControllerCalls

func (mock *MultiClusterAppInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedMultiClusterAppInterface.ControllerCalls())

func (*MultiClusterAppInterfaceMock) Create

Create calls CreateFunc.

func (*MultiClusterAppInterfaceMock) CreateCalls

func (mock *MultiClusterAppInterfaceMock) CreateCalls() []struct {
	In1 *v3.MultiClusterApp
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedMultiClusterAppInterface.CreateCalls())

func (*MultiClusterAppInterfaceMock) Delete

func (mock *MultiClusterAppInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*MultiClusterAppInterfaceMock) DeleteCalls

func (mock *MultiClusterAppInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedMultiClusterAppInterface.DeleteCalls())

func (*MultiClusterAppInterfaceMock) DeleteCollection

func (mock *MultiClusterAppInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*MultiClusterAppInterfaceMock) DeleteCollectionCalls

func (mock *MultiClusterAppInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedMultiClusterAppInterface.DeleteCollectionCalls())

func (*MultiClusterAppInterfaceMock) DeleteNamespaced

func (mock *MultiClusterAppInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*MultiClusterAppInterfaceMock) DeleteNamespacedCalls

func (mock *MultiClusterAppInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedMultiClusterAppInterface.DeleteNamespacedCalls())

func (*MultiClusterAppInterfaceMock) Get

Get calls GetFunc.

func (*MultiClusterAppInterfaceMock) GetCalls

func (mock *MultiClusterAppInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedMultiClusterAppInterface.GetCalls())

func (*MultiClusterAppInterfaceMock) GetNamespaced

func (mock *MultiClusterAppInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.MultiClusterApp, error)

GetNamespaced calls GetNamespacedFunc.

func (*MultiClusterAppInterfaceMock) GetNamespacedCalls

func (mock *MultiClusterAppInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedMultiClusterAppInterface.GetNamespacedCalls())

func (*MultiClusterAppInterfaceMock) List

List calls ListFunc.

func (*MultiClusterAppInterfaceMock) ListCalls

func (mock *MultiClusterAppInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedMultiClusterAppInterface.ListCalls())

func (*MultiClusterAppInterfaceMock) ListNamespaced

func (mock *MultiClusterAppInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.MultiClusterAppList, error)

ListNamespaced calls ListNamespacedFunc.

func (*MultiClusterAppInterfaceMock) ListNamespacedCalls

func (mock *MultiClusterAppInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedMultiClusterAppInterface.ListNamespacedCalls())

func (*MultiClusterAppInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*MultiClusterAppInterfaceMock) ObjectClientCalls

func (mock *MultiClusterAppInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedMultiClusterAppInterface.ObjectClientCalls())

func (*MultiClusterAppInterfaceMock) Update

Update calls UpdateFunc.

func (*MultiClusterAppInterfaceMock) UpdateCalls

func (mock *MultiClusterAppInterfaceMock) UpdateCalls() []struct {
	In1 *v3.MultiClusterApp
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedMultiClusterAppInterface.UpdateCalls())

func (*MultiClusterAppInterfaceMock) Watch

Watch calls WatchFunc.

func (*MultiClusterAppInterfaceMock) WatchCalls

func (mock *MultiClusterAppInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedMultiClusterAppInterface.WatchCalls())

type MultiClusterAppListerMock

type MultiClusterAppListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.MultiClusterApp, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.MultiClusterApp, error)
	// contains filtered or unexported fields
}

MultiClusterAppListerMock is a mock implementation of MultiClusterAppLister.

    func TestSomethingThatUsesMultiClusterAppLister(t *testing.T) {

        // make and configure a mocked MultiClusterAppLister
        mockedMultiClusterAppLister := &MultiClusterAppListerMock{
            GetFunc: func(namespace string, name string) (*v3.MultiClusterApp, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.MultiClusterApp, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedMultiClusterAppLister in code that requires MultiClusterAppLister
        // and then make assertions.

    }

func (*MultiClusterAppListerMock) Get

func (mock *MultiClusterAppListerMock) Get(namespace string, name string) (*v3.MultiClusterApp, error)

Get calls GetFunc.

func (*MultiClusterAppListerMock) GetCalls

func (mock *MultiClusterAppListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedMultiClusterAppLister.GetCalls())

func (*MultiClusterAppListerMock) List

func (mock *MultiClusterAppListerMock) List(namespace string, selector labels.Selector) ([]*v3.MultiClusterApp, error)

List calls ListFunc.

func (*MultiClusterAppListerMock) ListCalls

func (mock *MultiClusterAppListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedMultiClusterAppLister.ListCalls())

type MultiClusterAppRevisionControllerMock

type MultiClusterAppRevisionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MultiClusterAppRevisionHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

MultiClusterAppRevisionControllerMock is a mock implementation of MultiClusterAppRevisionController.

    func TestSomethingThatUsesMultiClusterAppRevisionController(t *testing.T) {

        // make and configure a mocked MultiClusterAppRevisionController
        mockedMultiClusterAppRevisionController := &MultiClusterAppRevisionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.MultiClusterAppRevisionHandlerFunc)  {
	               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.MultiClusterAppRevisionLister {
	               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 mockedMultiClusterAppRevisionController in code that requires MultiClusterAppRevisionController
        // and then make assertions.

    }

func (*MultiClusterAppRevisionControllerMock) AddClusterScopedFeatureHandler

func (mock *MultiClusterAppRevisionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.MultiClusterAppRevisionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*MultiClusterAppRevisionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *MultiClusterAppRevisionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.MultiClusterAppRevisionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedMultiClusterAppRevisionController.AddClusterScopedFeatureHandlerCalls())

func (*MultiClusterAppRevisionControllerMock) AddClusterScopedHandler

func (mock *MultiClusterAppRevisionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.MultiClusterAppRevisionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*MultiClusterAppRevisionControllerMock) AddClusterScopedHandlerCalls

func (mock *MultiClusterAppRevisionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.MultiClusterAppRevisionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedMultiClusterAppRevisionController.AddClusterScopedHandlerCalls())

func (*MultiClusterAppRevisionControllerMock) AddFeatureHandler

func (mock *MultiClusterAppRevisionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppRevisionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*MultiClusterAppRevisionControllerMock) AddFeatureHandlerCalls

func (mock *MultiClusterAppRevisionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.MultiClusterAppRevisionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedMultiClusterAppRevisionController.AddFeatureHandlerCalls())

func (*MultiClusterAppRevisionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*MultiClusterAppRevisionControllerMock) AddHandlerCalls

func (mock *MultiClusterAppRevisionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.MultiClusterAppRevisionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedMultiClusterAppRevisionController.AddHandlerCalls())

func (*MultiClusterAppRevisionControllerMock) Enqueue

func (mock *MultiClusterAppRevisionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*MultiClusterAppRevisionControllerMock) EnqueueAfter

func (mock *MultiClusterAppRevisionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*MultiClusterAppRevisionControllerMock) EnqueueAfterCalls

func (mock *MultiClusterAppRevisionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedMultiClusterAppRevisionController.EnqueueAfterCalls())

func (*MultiClusterAppRevisionControllerMock) EnqueueCalls

func (mock *MultiClusterAppRevisionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedMultiClusterAppRevisionController.EnqueueCalls())

func (*MultiClusterAppRevisionControllerMock) Generic

Generic calls GenericFunc.

func (*MultiClusterAppRevisionControllerMock) GenericCalls

func (mock *MultiClusterAppRevisionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedMultiClusterAppRevisionController.GenericCalls())

func (*MultiClusterAppRevisionControllerMock) Informer

Informer calls InformerFunc.

func (*MultiClusterAppRevisionControllerMock) InformerCalls

func (mock *MultiClusterAppRevisionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedMultiClusterAppRevisionController.InformerCalls())

func (*MultiClusterAppRevisionControllerMock) Lister

Lister calls ListerFunc.

func (*MultiClusterAppRevisionControllerMock) ListerCalls

func (mock *MultiClusterAppRevisionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedMultiClusterAppRevisionController.ListerCalls())

func (*MultiClusterAppRevisionControllerMock) Start

func (mock *MultiClusterAppRevisionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*MultiClusterAppRevisionControllerMock) StartCalls

func (mock *MultiClusterAppRevisionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedMultiClusterAppRevisionController.StartCalls())

func (*MultiClusterAppRevisionControllerMock) Sync

Sync calls SyncFunc.

func (*MultiClusterAppRevisionControllerMock) SyncCalls

func (mock *MultiClusterAppRevisionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedMultiClusterAppRevisionController.SyncCalls())

type MultiClusterAppRevisionInterfaceMock

type MultiClusterAppRevisionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MultiClusterAppRevisionHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

MultiClusterAppRevisionInterfaceMock is a mock implementation of MultiClusterAppRevisionInterface.

    func TestSomethingThatUsesMultiClusterAppRevisionInterface(t *testing.T) {

        // make and configure a mocked MultiClusterAppRevisionInterface
        mockedMultiClusterAppRevisionInterface := &MultiClusterAppRevisionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.MultiClusterAppRevisionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.MultiClusterAppRevisionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.MultiClusterAppRevisionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.MultiClusterAppRevisionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.MultiClusterAppRevisionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.MultiClusterAppRevision) (*v3.MultiClusterAppRevision, 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.MultiClusterAppRevision, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.MultiClusterAppRevision, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.MultiClusterAppRevisionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.MultiClusterAppRevisionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.MultiClusterAppRevision) (*v3.MultiClusterAppRevision, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedMultiClusterAppRevisionInterface in code that requires MultiClusterAppRevisionInterface
        // and then make assertions.

    }

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.MultiClusterAppRevisionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.MultiClusterAppRevisionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddClusterScopedFeatureHandlerCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.MultiClusterAppRevisionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.MultiClusterAppRevisionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedHandler

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.MultiClusterAppRevisionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.MultiClusterAppRevisionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddClusterScopedHandlerCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedLifecycle

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.MultiClusterAppRevisionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.MultiClusterAppRevisionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddClusterScopedLifecycleCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddFeatureHandler

func (mock *MultiClusterAppRevisionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.MultiClusterAppRevisionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddFeatureHandlerCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.MultiClusterAppRevisionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddFeatureHandlerCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddFeatureLifecycle

func (mock *MultiClusterAppRevisionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.MultiClusterAppRevisionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddFeatureLifecycleCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.MultiClusterAppRevisionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddFeatureLifecycleCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddHandlerCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.MultiClusterAppRevisionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddHandlerCalls())

func (*MultiClusterAppRevisionInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*MultiClusterAppRevisionInterfaceMock) AddLifecycleCalls

func (mock *MultiClusterAppRevisionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.MultiClusterAppRevisionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedMultiClusterAppRevisionInterface.AddLifecycleCalls())

func (*MultiClusterAppRevisionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*MultiClusterAppRevisionInterfaceMock) ControllerCalls

func (mock *MultiClusterAppRevisionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedMultiClusterAppRevisionInterface.ControllerCalls())

func (*MultiClusterAppRevisionInterfaceMock) Create

Create calls CreateFunc.

func (*MultiClusterAppRevisionInterfaceMock) CreateCalls

func (mock *MultiClusterAppRevisionInterfaceMock) CreateCalls() []struct {
	In1 *v3.MultiClusterAppRevision
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedMultiClusterAppRevisionInterface.CreateCalls())

func (*MultiClusterAppRevisionInterfaceMock) Delete

func (mock *MultiClusterAppRevisionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*MultiClusterAppRevisionInterfaceMock) DeleteCalls

func (mock *MultiClusterAppRevisionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedMultiClusterAppRevisionInterface.DeleteCalls())

func (*MultiClusterAppRevisionInterfaceMock) DeleteCollection

func (mock *MultiClusterAppRevisionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*MultiClusterAppRevisionInterfaceMock) DeleteCollectionCalls

func (mock *MultiClusterAppRevisionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedMultiClusterAppRevisionInterface.DeleteCollectionCalls())

func (*MultiClusterAppRevisionInterfaceMock) DeleteNamespaced

func (mock *MultiClusterAppRevisionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*MultiClusterAppRevisionInterfaceMock) DeleteNamespacedCalls

func (mock *MultiClusterAppRevisionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedMultiClusterAppRevisionInterface.DeleteNamespacedCalls())

func (*MultiClusterAppRevisionInterfaceMock) Get

Get calls GetFunc.

func (*MultiClusterAppRevisionInterfaceMock) GetCalls

func (mock *MultiClusterAppRevisionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedMultiClusterAppRevisionInterface.GetCalls())

func (*MultiClusterAppRevisionInterfaceMock) GetNamespaced

func (mock *MultiClusterAppRevisionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.MultiClusterAppRevision, error)

GetNamespaced calls GetNamespacedFunc.

func (*MultiClusterAppRevisionInterfaceMock) GetNamespacedCalls

func (mock *MultiClusterAppRevisionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedMultiClusterAppRevisionInterface.GetNamespacedCalls())

func (*MultiClusterAppRevisionInterfaceMock) List

List calls ListFunc.

func (*MultiClusterAppRevisionInterfaceMock) ListCalls

func (mock *MultiClusterAppRevisionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedMultiClusterAppRevisionInterface.ListCalls())

func (*MultiClusterAppRevisionInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*MultiClusterAppRevisionInterfaceMock) ListNamespacedCalls

func (mock *MultiClusterAppRevisionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedMultiClusterAppRevisionInterface.ListNamespacedCalls())

func (*MultiClusterAppRevisionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*MultiClusterAppRevisionInterfaceMock) ObjectClientCalls

func (mock *MultiClusterAppRevisionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedMultiClusterAppRevisionInterface.ObjectClientCalls())

func (*MultiClusterAppRevisionInterfaceMock) Update

Update calls UpdateFunc.

func (*MultiClusterAppRevisionInterfaceMock) UpdateCalls

func (mock *MultiClusterAppRevisionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.MultiClusterAppRevision
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedMultiClusterAppRevisionInterface.UpdateCalls())

func (*MultiClusterAppRevisionInterfaceMock) Watch

Watch calls WatchFunc.

func (*MultiClusterAppRevisionInterfaceMock) WatchCalls

func (mock *MultiClusterAppRevisionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedMultiClusterAppRevisionInterface.WatchCalls())

type MultiClusterAppRevisionListerMock

type MultiClusterAppRevisionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.MultiClusterAppRevision, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.MultiClusterAppRevision, error)
	// contains filtered or unexported fields
}

MultiClusterAppRevisionListerMock is a mock implementation of MultiClusterAppRevisionLister.

    func TestSomethingThatUsesMultiClusterAppRevisionLister(t *testing.T) {

        // make and configure a mocked MultiClusterAppRevisionLister
        mockedMultiClusterAppRevisionLister := &MultiClusterAppRevisionListerMock{
            GetFunc: func(namespace string, name string) (*v3.MultiClusterAppRevision, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.MultiClusterAppRevision, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedMultiClusterAppRevisionLister in code that requires MultiClusterAppRevisionLister
        // and then make assertions.

    }

func (*MultiClusterAppRevisionListerMock) Get

Get calls GetFunc.

func (*MultiClusterAppRevisionListerMock) GetCalls

func (mock *MultiClusterAppRevisionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedMultiClusterAppRevisionLister.GetCalls())

func (*MultiClusterAppRevisionListerMock) List

List calls ListFunc.

func (*MultiClusterAppRevisionListerMock) ListCalls

func (mock *MultiClusterAppRevisionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedMultiClusterAppRevisionLister.ListCalls())

type MultiClusterAppRevisionsGetterMock

type MultiClusterAppRevisionsGetterMock struct {
	// MultiClusterAppRevisionsFunc mocks the MultiClusterAppRevisions method.
	MultiClusterAppRevisionsFunc func(namespace string) v3.MultiClusterAppRevisionInterface
	// contains filtered or unexported fields
}

MultiClusterAppRevisionsGetterMock is a mock implementation of MultiClusterAppRevisionsGetter.

    func TestSomethingThatUsesMultiClusterAppRevisionsGetter(t *testing.T) {

        // make and configure a mocked MultiClusterAppRevisionsGetter
        mockedMultiClusterAppRevisionsGetter := &MultiClusterAppRevisionsGetterMock{
            MultiClusterAppRevisionsFunc: func(namespace string) v3.MultiClusterAppRevisionInterface {
	               panic("mock out the MultiClusterAppRevisions method")
            },
        }

        // use mockedMultiClusterAppRevisionsGetter in code that requires MultiClusterAppRevisionsGetter
        // and then make assertions.

    }

func (*MultiClusterAppRevisionsGetterMock) MultiClusterAppRevisions

func (mock *MultiClusterAppRevisionsGetterMock) MultiClusterAppRevisions(namespace string) v3.MultiClusterAppRevisionInterface

MultiClusterAppRevisions calls MultiClusterAppRevisionsFunc.

func (*MultiClusterAppRevisionsGetterMock) MultiClusterAppRevisionsCalls

func (mock *MultiClusterAppRevisionsGetterMock) MultiClusterAppRevisionsCalls() []struct {
	Namespace string
}

MultiClusterAppRevisionsCalls gets all the calls that were made to MultiClusterAppRevisions. Check the length with:

len(mockedMultiClusterAppRevisionsGetter.MultiClusterAppRevisionsCalls())

type MultiClusterAppsGetterMock

type MultiClusterAppsGetterMock struct {
	// MultiClusterAppsFunc mocks the MultiClusterApps method.
	MultiClusterAppsFunc func(namespace string) v3.MultiClusterAppInterface
	// contains filtered or unexported fields
}

MultiClusterAppsGetterMock is a mock implementation of MultiClusterAppsGetter.

    func TestSomethingThatUsesMultiClusterAppsGetter(t *testing.T) {

        // make and configure a mocked MultiClusterAppsGetter
        mockedMultiClusterAppsGetter := &MultiClusterAppsGetterMock{
            MultiClusterAppsFunc: func(namespace string) v3.MultiClusterAppInterface {
	               panic("mock out the MultiClusterApps method")
            },
        }

        // use mockedMultiClusterAppsGetter in code that requires MultiClusterAppsGetter
        // and then make assertions.

    }

func (*MultiClusterAppsGetterMock) MultiClusterApps

func (mock *MultiClusterAppsGetterMock) MultiClusterApps(namespace string) v3.MultiClusterAppInterface

MultiClusterApps calls MultiClusterAppsFunc.

func (*MultiClusterAppsGetterMock) MultiClusterAppsCalls

func (mock *MultiClusterAppsGetterMock) MultiClusterAppsCalls() []struct {
	Namespace string
}

MultiClusterAppsCalls gets all the calls that were made to MultiClusterApps. Check the length with:

len(mockedMultiClusterAppsGetter.MultiClusterAppsCalls())

type NodeControllerMock

type NodeControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

NodeControllerMock is a mock implementation of NodeController.

    func TestSomethingThatUsesNodeController(t *testing.T) {

        // make and configure a mocked NodeController
        mockedNodeController := &NodeControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodeHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NodeHandlerFunc)  {
	               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.NodeLister {
	               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 mockedNodeController in code that requires NodeController
        // and then make assertions.

    }

func (*NodeControllerMock) AddClusterScopedFeatureHandler

func (mock *NodeControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodeControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodeControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NodeHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodeController.AddClusterScopedFeatureHandlerCalls())

func (*NodeControllerMock) AddClusterScopedHandler

func (mock *NodeControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NodeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeControllerMock) AddClusterScopedHandlerCalls

func (mock *NodeControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NodeHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodeController.AddClusterScopedHandlerCalls())

func (*NodeControllerMock) AddFeatureHandler

func (mock *NodeControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodeHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodeControllerMock) AddFeatureHandlerCalls

func (mock *NodeControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodeHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodeController.AddFeatureHandlerCalls())

func (*NodeControllerMock) AddHandler

func (mock *NodeControllerMock) AddHandler(ctx context.Context, name string, handler v3.NodeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeControllerMock) AddHandlerCalls

func (mock *NodeControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NodeHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodeController.AddHandlerCalls())

func (*NodeControllerMock) Enqueue

func (mock *NodeControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NodeControllerMock) EnqueueAfter

func (mock *NodeControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NodeControllerMock) EnqueueAfterCalls

func (mock *NodeControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNodeController.EnqueueAfterCalls())

func (*NodeControllerMock) EnqueueCalls

func (mock *NodeControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNodeController.EnqueueCalls())

func (*NodeControllerMock) Generic

Generic calls GenericFunc.

func (*NodeControllerMock) GenericCalls

func (mock *NodeControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNodeController.GenericCalls())

func (*NodeControllerMock) Informer

func (mock *NodeControllerMock) Informer() cache.SharedIndexInformer

Informer calls InformerFunc.

func (*NodeControllerMock) InformerCalls

func (mock *NodeControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNodeController.InformerCalls())

func (*NodeControllerMock) Lister

func (mock *NodeControllerMock) Lister() v3.NodeLister

Lister calls ListerFunc.

func (*NodeControllerMock) ListerCalls

func (mock *NodeControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNodeController.ListerCalls())

func (*NodeControllerMock) Start

func (mock *NodeControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NodeControllerMock) StartCalls

func (mock *NodeControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNodeController.StartCalls())

func (*NodeControllerMock) Sync

func (mock *NodeControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*NodeControllerMock) SyncCalls

func (mock *NodeControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNodeController.SyncCalls())

type NodeDriverControllerMock

type NodeDriverControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeDriverHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

NodeDriverControllerMock is a mock implementation of NodeDriverController.

    func TestSomethingThatUsesNodeDriverController(t *testing.T) {

        // make and configure a mocked NodeDriverController
        mockedNodeDriverController := &NodeDriverControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NodeDriverHandlerFunc)  {
	               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.NodeDriverLister {
	               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 mockedNodeDriverController in code that requires NodeDriverController
        // and then make assertions.

    }

func (*NodeDriverControllerMock) AddClusterScopedFeatureHandler

func (mock *NodeDriverControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeDriverHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodeDriverControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodeDriverControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NodeDriverHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodeDriverController.AddClusterScopedFeatureHandlerCalls())

func (*NodeDriverControllerMock) AddClusterScopedHandler

func (mock *NodeDriverControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NodeDriverHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeDriverControllerMock) AddClusterScopedHandlerCalls

func (mock *NodeDriverControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NodeDriverHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodeDriverController.AddClusterScopedHandlerCalls())

func (*NodeDriverControllerMock) AddFeatureHandler

func (mock *NodeDriverControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodeDriverHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodeDriverControllerMock) AddFeatureHandlerCalls

func (mock *NodeDriverControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodeDriverHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodeDriverController.AddFeatureHandlerCalls())

func (*NodeDriverControllerMock) AddHandler

func (mock *NodeDriverControllerMock) AddHandler(ctx context.Context, name string, handler v3.NodeDriverHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeDriverControllerMock) AddHandlerCalls

func (mock *NodeDriverControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NodeDriverHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodeDriverController.AddHandlerCalls())

func (*NodeDriverControllerMock) Enqueue

func (mock *NodeDriverControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NodeDriverControllerMock) EnqueueAfter

func (mock *NodeDriverControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NodeDriverControllerMock) EnqueueAfterCalls

func (mock *NodeDriverControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNodeDriverController.EnqueueAfterCalls())

func (*NodeDriverControllerMock) EnqueueCalls

func (mock *NodeDriverControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNodeDriverController.EnqueueCalls())

func (*NodeDriverControllerMock) Generic

Generic calls GenericFunc.

func (*NodeDriverControllerMock) GenericCalls

func (mock *NodeDriverControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNodeDriverController.GenericCalls())

func (*NodeDriverControllerMock) Informer

Informer calls InformerFunc.

func (*NodeDriverControllerMock) InformerCalls

func (mock *NodeDriverControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNodeDriverController.InformerCalls())

func (*NodeDriverControllerMock) Lister

Lister calls ListerFunc.

func (*NodeDriverControllerMock) ListerCalls

func (mock *NodeDriverControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNodeDriverController.ListerCalls())

func (*NodeDriverControllerMock) Start

func (mock *NodeDriverControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NodeDriverControllerMock) StartCalls

func (mock *NodeDriverControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNodeDriverController.StartCalls())

func (*NodeDriverControllerMock) Sync

Sync calls SyncFunc.

func (*NodeDriverControllerMock) SyncCalls

func (mock *NodeDriverControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNodeDriverController.SyncCalls())

type NodeDriverInterfaceMock

type NodeDriverInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeDriverHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NodeDriverInterfaceMock is a mock implementation of NodeDriverInterface.

    func TestSomethingThatUsesNodeDriverInterface(t *testing.T) {

        // make and configure a mocked NodeDriverInterface
        mockedNodeDriverInterface := &NodeDriverInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodeDriverLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NodeDriverLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodeDriverLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NodeDriverLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NodeDriverController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NodeDriver) (*v3.NodeDriver, 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.NodeDriver, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NodeDriver, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NodeDriverList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NodeDriverList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NodeDriver) (*v3.NodeDriver, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNodeDriverInterface in code that requires NodeDriverInterface
        // and then make assertions.

    }

func (*NodeDriverInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NodeDriverInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeDriverHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodeDriverInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodeDriverInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NodeDriverHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodeDriverInterface.AddClusterScopedFeatureHandlerCalls())

func (*NodeDriverInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NodeDriverInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodeDriverLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NodeDriverInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NodeDriverInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NodeDriverLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNodeDriverInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NodeDriverInterfaceMock) AddClusterScopedHandler

func (mock *NodeDriverInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NodeDriverHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeDriverInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NodeDriverInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NodeDriverHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodeDriverInterface.AddClusterScopedHandlerCalls())

func (*NodeDriverInterfaceMock) AddClusterScopedLifecycle

func (mock *NodeDriverInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NodeDriverLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NodeDriverInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NodeDriverInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NodeDriverLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNodeDriverInterface.AddClusterScopedLifecycleCalls())

func (*NodeDriverInterfaceMock) AddFeatureHandler

func (mock *NodeDriverInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodeDriverHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodeDriverInterfaceMock) AddFeatureHandlerCalls

func (mock *NodeDriverInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodeDriverHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodeDriverInterface.AddFeatureHandlerCalls())

func (*NodeDriverInterfaceMock) AddFeatureLifecycle

func (mock *NodeDriverInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodeDriverLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NodeDriverInterfaceMock) AddFeatureLifecycleCalls

func (mock *NodeDriverInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NodeDriverLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNodeDriverInterface.AddFeatureLifecycleCalls())

func (*NodeDriverInterfaceMock) AddHandler

func (mock *NodeDriverInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.NodeDriverHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeDriverInterfaceMock) AddHandlerCalls

func (mock *NodeDriverInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.NodeDriverHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodeDriverInterface.AddHandlerCalls())

func (*NodeDriverInterfaceMock) AddLifecycle

func (mock *NodeDriverInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NodeDriverLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NodeDriverInterfaceMock) AddLifecycleCalls

func (mock *NodeDriverInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NodeDriverLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNodeDriverInterface.AddLifecycleCalls())

func (*NodeDriverInterfaceMock) Controller

func (mock *NodeDriverInterfaceMock) Controller() v3.NodeDriverController

Controller calls ControllerFunc.

func (*NodeDriverInterfaceMock) ControllerCalls

func (mock *NodeDriverInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNodeDriverInterface.ControllerCalls())

func (*NodeDriverInterfaceMock) Create

func (mock *NodeDriverInterfaceMock) Create(in1 *v3.NodeDriver) (*v3.NodeDriver, error)

Create calls CreateFunc.

func (*NodeDriverInterfaceMock) CreateCalls

func (mock *NodeDriverInterfaceMock) CreateCalls() []struct {
	In1 *v3.NodeDriver
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNodeDriverInterface.CreateCalls())

func (*NodeDriverInterfaceMock) Delete

func (mock *NodeDriverInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*NodeDriverInterfaceMock) DeleteCalls

func (mock *NodeDriverInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNodeDriverInterface.DeleteCalls())

func (*NodeDriverInterfaceMock) DeleteCollection

func (mock *NodeDriverInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NodeDriverInterfaceMock) DeleteCollectionCalls

func (mock *NodeDriverInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNodeDriverInterface.DeleteCollectionCalls())

func (*NodeDriverInterfaceMock) DeleteNamespaced

func (mock *NodeDriverInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NodeDriverInterfaceMock) DeleteNamespacedCalls

func (mock *NodeDriverInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNodeDriverInterface.DeleteNamespacedCalls())

func (*NodeDriverInterfaceMock) Get

func (mock *NodeDriverInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.NodeDriver, error)

Get calls GetFunc.

func (*NodeDriverInterfaceMock) GetCalls

func (mock *NodeDriverInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodeDriverInterface.GetCalls())

func (*NodeDriverInterfaceMock) GetNamespaced

func (mock *NodeDriverInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.NodeDriver, error)

GetNamespaced calls GetNamespacedFunc.

func (*NodeDriverInterfaceMock) GetNamespacedCalls

func (mock *NodeDriverInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNodeDriverInterface.GetNamespacedCalls())

func (*NodeDriverInterfaceMock) List

List calls ListFunc.

func (*NodeDriverInterfaceMock) ListCalls

func (mock *NodeDriverInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodeDriverInterface.ListCalls())

func (*NodeDriverInterfaceMock) ListNamespaced

func (mock *NodeDriverInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NodeDriverList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NodeDriverInterfaceMock) ListNamespacedCalls

func (mock *NodeDriverInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNodeDriverInterface.ListNamespacedCalls())

func (*NodeDriverInterfaceMock) ObjectClient

func (mock *NodeDriverInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NodeDriverInterfaceMock) ObjectClientCalls

func (mock *NodeDriverInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNodeDriverInterface.ObjectClientCalls())

func (*NodeDriverInterfaceMock) Update

func (mock *NodeDriverInterfaceMock) Update(in1 *v3.NodeDriver) (*v3.NodeDriver, error)

Update calls UpdateFunc.

func (*NodeDriverInterfaceMock) UpdateCalls

func (mock *NodeDriverInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NodeDriver
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNodeDriverInterface.UpdateCalls())

func (*NodeDriverInterfaceMock) Watch

Watch calls WatchFunc.

func (*NodeDriverInterfaceMock) WatchCalls

func (mock *NodeDriverInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNodeDriverInterface.WatchCalls())

type NodeDriverListerMock

type NodeDriverListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.NodeDriver, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.NodeDriver, error)
	// contains filtered or unexported fields
}

NodeDriverListerMock is a mock implementation of NodeDriverLister.

    func TestSomethingThatUsesNodeDriverLister(t *testing.T) {

        // make and configure a mocked NodeDriverLister
        mockedNodeDriverLister := &NodeDriverListerMock{
            GetFunc: func(namespace string, name string) (*v3.NodeDriver, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NodeDriver, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNodeDriverLister in code that requires NodeDriverLister
        // and then make assertions.

    }

func (*NodeDriverListerMock) Get

func (mock *NodeDriverListerMock) Get(namespace string, name string) (*v3.NodeDriver, error)

Get calls GetFunc.

func (*NodeDriverListerMock) GetCalls

func (mock *NodeDriverListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodeDriverLister.GetCalls())

func (*NodeDriverListerMock) List

func (mock *NodeDriverListerMock) List(namespace string, selector labels.Selector) ([]*v3.NodeDriver, error)

List calls ListFunc.

func (*NodeDriverListerMock) ListCalls

func (mock *NodeDriverListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodeDriverLister.ListCalls())

type NodeDriversGetterMock

type NodeDriversGetterMock struct {
	// NodeDriversFunc mocks the NodeDrivers method.
	NodeDriversFunc func(namespace string) v3.NodeDriverInterface
	// contains filtered or unexported fields
}

NodeDriversGetterMock is a mock implementation of NodeDriversGetter.

    func TestSomethingThatUsesNodeDriversGetter(t *testing.T) {

        // make and configure a mocked NodeDriversGetter
        mockedNodeDriversGetter := &NodeDriversGetterMock{
            NodeDriversFunc: func(namespace string) v3.NodeDriverInterface {
	               panic("mock out the NodeDrivers method")
            },
        }

        // use mockedNodeDriversGetter in code that requires NodeDriversGetter
        // and then make assertions.

    }

func (*NodeDriversGetterMock) NodeDrivers

func (mock *NodeDriversGetterMock) NodeDrivers(namespace string) v3.NodeDriverInterface

NodeDrivers calls NodeDriversFunc.

func (*NodeDriversGetterMock) NodeDriversCalls

func (mock *NodeDriversGetterMock) NodeDriversCalls() []struct {
	Namespace string
}

NodeDriversCalls gets all the calls that were made to NodeDrivers. Check the length with:

len(mockedNodeDriversGetter.NodeDriversCalls())

type NodeInterfaceMock

type NodeInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NodeInterfaceMock is a mock implementation of NodeInterface.

    func TestSomethingThatUsesNodeInterface(t *testing.T) {

        // make and configure a mocked NodeInterface
        mockedNodeInterface := &NodeInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodeLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NodeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NodeLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodeHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodeLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NodeHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NodeLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NodeController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Node) (*v3.Node, 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.Node, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Node, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NodeList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NodeList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Node) (*v3.Node, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNodeInterface in code that requires NodeInterface
        // and then make assertions.

    }

func (*NodeInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NodeInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodeInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodeInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NodeHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodeInterface.AddClusterScopedFeatureHandlerCalls())

func (*NodeInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NodeInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodeLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NodeInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NodeInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NodeLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNodeInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NodeInterfaceMock) AddClusterScopedHandler

func (mock *NodeInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NodeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NodeInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NodeHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodeInterface.AddClusterScopedHandlerCalls())

func (*NodeInterfaceMock) AddClusterScopedLifecycle

func (mock *NodeInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NodeLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NodeInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NodeInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NodeLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNodeInterface.AddClusterScopedLifecycleCalls())

func (*NodeInterfaceMock) AddFeatureHandler

func (mock *NodeInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodeHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodeInterfaceMock) AddFeatureHandlerCalls

func (mock *NodeInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodeHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodeInterface.AddFeatureHandlerCalls())

func (*NodeInterfaceMock) AddFeatureLifecycle

func (mock *NodeInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodeLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NodeInterfaceMock) AddFeatureLifecycleCalls

func (mock *NodeInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NodeLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNodeInterface.AddFeatureLifecycleCalls())

func (*NodeInterfaceMock) AddHandler

func (mock *NodeInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.NodeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeInterfaceMock) AddHandlerCalls

func (mock *NodeInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.NodeHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodeInterface.AddHandlerCalls())

func (*NodeInterfaceMock) AddLifecycle

func (mock *NodeInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NodeLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NodeInterfaceMock) AddLifecycleCalls

func (mock *NodeInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NodeLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNodeInterface.AddLifecycleCalls())

func (*NodeInterfaceMock) Controller

func (mock *NodeInterfaceMock) Controller() v3.NodeController

Controller calls ControllerFunc.

func (*NodeInterfaceMock) ControllerCalls

func (mock *NodeInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNodeInterface.ControllerCalls())

func (*NodeInterfaceMock) Create

func (mock *NodeInterfaceMock) Create(in1 *v3.Node) (*v3.Node, error)

Create calls CreateFunc.

func (*NodeInterfaceMock) CreateCalls

func (mock *NodeInterfaceMock) CreateCalls() []struct {
	In1 *v3.Node
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNodeInterface.CreateCalls())

func (*NodeInterfaceMock) Delete

func (mock *NodeInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*NodeInterfaceMock) DeleteCalls

func (mock *NodeInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNodeInterface.DeleteCalls())

func (*NodeInterfaceMock) DeleteCollection

func (mock *NodeInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NodeInterfaceMock) DeleteCollectionCalls

func (mock *NodeInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNodeInterface.DeleteCollectionCalls())

func (*NodeInterfaceMock) DeleteNamespaced

func (mock *NodeInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NodeInterfaceMock) DeleteNamespacedCalls

func (mock *NodeInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNodeInterface.DeleteNamespacedCalls())

func (*NodeInterfaceMock) Get

func (mock *NodeInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Node, error)

Get calls GetFunc.

func (*NodeInterfaceMock) GetCalls

func (mock *NodeInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodeInterface.GetCalls())

func (*NodeInterfaceMock) GetNamespaced

func (mock *NodeInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Node, error)

GetNamespaced calls GetNamespacedFunc.

func (*NodeInterfaceMock) GetNamespacedCalls

func (mock *NodeInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNodeInterface.GetNamespacedCalls())

func (*NodeInterfaceMock) List

func (mock *NodeInterfaceMock) List(opts v1.ListOptions) (*v3.NodeList, error)

List calls ListFunc.

func (*NodeInterfaceMock) ListCalls

func (mock *NodeInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodeInterface.ListCalls())

func (*NodeInterfaceMock) ListNamespaced

func (mock *NodeInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NodeList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NodeInterfaceMock) ListNamespacedCalls

func (mock *NodeInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNodeInterface.ListNamespacedCalls())

func (*NodeInterfaceMock) ObjectClient

func (mock *NodeInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NodeInterfaceMock) ObjectClientCalls

func (mock *NodeInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNodeInterface.ObjectClientCalls())

func (*NodeInterfaceMock) Update

func (mock *NodeInterfaceMock) Update(in1 *v3.Node) (*v3.Node, error)

Update calls UpdateFunc.

func (*NodeInterfaceMock) UpdateCalls

func (mock *NodeInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Node
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNodeInterface.UpdateCalls())

func (*NodeInterfaceMock) Watch

func (mock *NodeInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*NodeInterfaceMock) WatchCalls

func (mock *NodeInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNodeInterface.WatchCalls())

type NodeListerMock

type NodeListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Node, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Node, error)
	// contains filtered or unexported fields
}

NodeListerMock is a mock implementation of NodeLister.

    func TestSomethingThatUsesNodeLister(t *testing.T) {

        // make and configure a mocked NodeLister
        mockedNodeLister := &NodeListerMock{
            GetFunc: func(namespace string, name string) (*v3.Node, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Node, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNodeLister in code that requires NodeLister
        // and then make assertions.

    }

func (*NodeListerMock) Get

func (mock *NodeListerMock) Get(namespace string, name string) (*v3.Node, error)

Get calls GetFunc.

func (*NodeListerMock) GetCalls

func (mock *NodeListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodeLister.GetCalls())

func (*NodeListerMock) List

func (mock *NodeListerMock) List(namespace string, selector labels.Selector) ([]*v3.Node, error)

List calls ListFunc.

func (*NodeListerMock) ListCalls

func (mock *NodeListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodeLister.ListCalls())

type NodePoolControllerMock

type NodePoolControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodePoolHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

NodePoolControllerMock is a mock implementation of NodePoolController.

    func TestSomethingThatUsesNodePoolController(t *testing.T) {

        // make and configure a mocked NodePoolController
        mockedNodePoolController := &NodePoolControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NodePoolHandlerFunc)  {
	               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.NodePoolLister {
	               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 mockedNodePoolController in code that requires NodePoolController
        // and then make assertions.

    }

func (*NodePoolControllerMock) AddClusterScopedFeatureHandler

func (mock *NodePoolControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodePoolHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodePoolControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodePoolControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NodePoolHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodePoolController.AddClusterScopedFeatureHandlerCalls())

func (*NodePoolControllerMock) AddClusterScopedHandler

func (mock *NodePoolControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NodePoolHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodePoolControllerMock) AddClusterScopedHandlerCalls

func (mock *NodePoolControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NodePoolHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodePoolController.AddClusterScopedHandlerCalls())

func (*NodePoolControllerMock) AddFeatureHandler

func (mock *NodePoolControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodePoolHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodePoolControllerMock) AddFeatureHandlerCalls

func (mock *NodePoolControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodePoolHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodePoolController.AddFeatureHandlerCalls())

func (*NodePoolControllerMock) AddHandler

func (mock *NodePoolControllerMock) AddHandler(ctx context.Context, name string, handler v3.NodePoolHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodePoolControllerMock) AddHandlerCalls

func (mock *NodePoolControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NodePoolHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodePoolController.AddHandlerCalls())

func (*NodePoolControllerMock) Enqueue

func (mock *NodePoolControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NodePoolControllerMock) EnqueueAfter

func (mock *NodePoolControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NodePoolControllerMock) EnqueueAfterCalls

func (mock *NodePoolControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNodePoolController.EnqueueAfterCalls())

func (*NodePoolControllerMock) EnqueueCalls

func (mock *NodePoolControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNodePoolController.EnqueueCalls())

func (*NodePoolControllerMock) Generic

Generic calls GenericFunc.

func (*NodePoolControllerMock) GenericCalls

func (mock *NodePoolControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNodePoolController.GenericCalls())

func (*NodePoolControllerMock) Informer

Informer calls InformerFunc.

func (*NodePoolControllerMock) InformerCalls

func (mock *NodePoolControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNodePoolController.InformerCalls())

func (*NodePoolControllerMock) Lister

func (mock *NodePoolControllerMock) Lister() v3.NodePoolLister

Lister calls ListerFunc.

func (*NodePoolControllerMock) ListerCalls

func (mock *NodePoolControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNodePoolController.ListerCalls())

func (*NodePoolControllerMock) Start

func (mock *NodePoolControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NodePoolControllerMock) StartCalls

func (mock *NodePoolControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNodePoolController.StartCalls())

func (*NodePoolControllerMock) Sync

func (mock *NodePoolControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*NodePoolControllerMock) SyncCalls

func (mock *NodePoolControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNodePoolController.SyncCalls())

type NodePoolInterfaceMock

type NodePoolInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodePoolHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NodePoolInterfaceMock is a mock implementation of NodePoolInterface.

    func TestSomethingThatUsesNodePoolInterface(t *testing.T) {

        // make and configure a mocked NodePoolInterface
        mockedNodePoolInterface := &NodePoolInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodePoolLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NodePoolLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodePoolLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NodePoolLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NodePoolController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NodePool) (*v3.NodePool, 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.NodePool, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NodePool, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NodePoolList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NodePoolList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NodePool) (*v3.NodePool, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNodePoolInterface in code that requires NodePoolInterface
        // and then make assertions.

    }

func (*NodePoolInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NodePoolInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodePoolHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodePoolInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodePoolInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NodePoolHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodePoolInterface.AddClusterScopedFeatureHandlerCalls())

func (*NodePoolInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NodePoolInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodePoolLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NodePoolInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NodePoolInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NodePoolLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNodePoolInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NodePoolInterfaceMock) AddClusterScopedHandler

func (mock *NodePoolInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NodePoolHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodePoolInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NodePoolInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NodePoolHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodePoolInterface.AddClusterScopedHandlerCalls())

func (*NodePoolInterfaceMock) AddClusterScopedLifecycle

func (mock *NodePoolInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NodePoolLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NodePoolInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NodePoolInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NodePoolLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNodePoolInterface.AddClusterScopedLifecycleCalls())

func (*NodePoolInterfaceMock) AddFeatureHandler

func (mock *NodePoolInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodePoolHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodePoolInterfaceMock) AddFeatureHandlerCalls

func (mock *NodePoolInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodePoolHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodePoolInterface.AddFeatureHandlerCalls())

func (*NodePoolInterfaceMock) AddFeatureLifecycle

func (mock *NodePoolInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodePoolLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NodePoolInterfaceMock) AddFeatureLifecycleCalls

func (mock *NodePoolInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NodePoolLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNodePoolInterface.AddFeatureLifecycleCalls())

func (*NodePoolInterfaceMock) AddHandler

func (mock *NodePoolInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.NodePoolHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodePoolInterfaceMock) AddHandlerCalls

func (mock *NodePoolInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.NodePoolHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodePoolInterface.AddHandlerCalls())

func (*NodePoolInterfaceMock) AddLifecycle

func (mock *NodePoolInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NodePoolLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NodePoolInterfaceMock) AddLifecycleCalls

func (mock *NodePoolInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NodePoolLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNodePoolInterface.AddLifecycleCalls())

func (*NodePoolInterfaceMock) Controller

func (mock *NodePoolInterfaceMock) Controller() v3.NodePoolController

Controller calls ControllerFunc.

func (*NodePoolInterfaceMock) ControllerCalls

func (mock *NodePoolInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNodePoolInterface.ControllerCalls())

func (*NodePoolInterfaceMock) Create

func (mock *NodePoolInterfaceMock) Create(in1 *v3.NodePool) (*v3.NodePool, error)

Create calls CreateFunc.

func (*NodePoolInterfaceMock) CreateCalls

func (mock *NodePoolInterfaceMock) CreateCalls() []struct {
	In1 *v3.NodePool
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNodePoolInterface.CreateCalls())

func (*NodePoolInterfaceMock) Delete

func (mock *NodePoolInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*NodePoolInterfaceMock) DeleteCalls

func (mock *NodePoolInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNodePoolInterface.DeleteCalls())

func (*NodePoolInterfaceMock) DeleteCollection

func (mock *NodePoolInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NodePoolInterfaceMock) DeleteCollectionCalls

func (mock *NodePoolInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNodePoolInterface.DeleteCollectionCalls())

func (*NodePoolInterfaceMock) DeleteNamespaced

func (mock *NodePoolInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NodePoolInterfaceMock) DeleteNamespacedCalls

func (mock *NodePoolInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNodePoolInterface.DeleteNamespacedCalls())

func (*NodePoolInterfaceMock) Get

func (mock *NodePoolInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.NodePool, error)

Get calls GetFunc.

func (*NodePoolInterfaceMock) GetCalls

func (mock *NodePoolInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodePoolInterface.GetCalls())

func (*NodePoolInterfaceMock) GetNamespaced

func (mock *NodePoolInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.NodePool, error)

GetNamespaced calls GetNamespacedFunc.

func (*NodePoolInterfaceMock) GetNamespacedCalls

func (mock *NodePoolInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNodePoolInterface.GetNamespacedCalls())

func (*NodePoolInterfaceMock) List

List calls ListFunc.

func (*NodePoolInterfaceMock) ListCalls

func (mock *NodePoolInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodePoolInterface.ListCalls())

func (*NodePoolInterfaceMock) ListNamespaced

func (mock *NodePoolInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NodePoolList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NodePoolInterfaceMock) ListNamespacedCalls

func (mock *NodePoolInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNodePoolInterface.ListNamespacedCalls())

func (*NodePoolInterfaceMock) ObjectClient

func (mock *NodePoolInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NodePoolInterfaceMock) ObjectClientCalls

func (mock *NodePoolInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNodePoolInterface.ObjectClientCalls())

func (*NodePoolInterfaceMock) Update

func (mock *NodePoolInterfaceMock) Update(in1 *v3.NodePool) (*v3.NodePool, error)

Update calls UpdateFunc.

func (*NodePoolInterfaceMock) UpdateCalls

func (mock *NodePoolInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NodePool
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNodePoolInterface.UpdateCalls())

func (*NodePoolInterfaceMock) Watch

Watch calls WatchFunc.

func (*NodePoolInterfaceMock) WatchCalls

func (mock *NodePoolInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNodePoolInterface.WatchCalls())

type NodePoolListerMock

type NodePoolListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.NodePool, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.NodePool, error)
	// contains filtered or unexported fields
}

NodePoolListerMock is a mock implementation of NodePoolLister.

    func TestSomethingThatUsesNodePoolLister(t *testing.T) {

        // make and configure a mocked NodePoolLister
        mockedNodePoolLister := &NodePoolListerMock{
            GetFunc: func(namespace string, name string) (*v3.NodePool, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NodePool, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNodePoolLister in code that requires NodePoolLister
        // and then make assertions.

    }

func (*NodePoolListerMock) Get

func (mock *NodePoolListerMock) Get(namespace string, name string) (*v3.NodePool, error)

Get calls GetFunc.

func (*NodePoolListerMock) GetCalls

func (mock *NodePoolListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodePoolLister.GetCalls())

func (*NodePoolListerMock) List

func (mock *NodePoolListerMock) List(namespace string, selector labels.Selector) ([]*v3.NodePool, error)

List calls ListFunc.

func (*NodePoolListerMock) ListCalls

func (mock *NodePoolListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodePoolLister.ListCalls())

type NodePoolsGetterMock

type NodePoolsGetterMock struct {
	// NodePoolsFunc mocks the NodePools method.
	NodePoolsFunc func(namespace string) v3.NodePoolInterface
	// contains filtered or unexported fields
}

NodePoolsGetterMock is a mock implementation of NodePoolsGetter.

    func TestSomethingThatUsesNodePoolsGetter(t *testing.T) {

        // make and configure a mocked NodePoolsGetter
        mockedNodePoolsGetter := &NodePoolsGetterMock{
            NodePoolsFunc: func(namespace string) v3.NodePoolInterface {
	               panic("mock out the NodePools method")
            },
        }

        // use mockedNodePoolsGetter in code that requires NodePoolsGetter
        // and then make assertions.

    }

func (*NodePoolsGetterMock) NodePools

func (mock *NodePoolsGetterMock) NodePools(namespace string) v3.NodePoolInterface

NodePools calls NodePoolsFunc.

func (*NodePoolsGetterMock) NodePoolsCalls

func (mock *NodePoolsGetterMock) NodePoolsCalls() []struct {
	Namespace string
}

NodePoolsCalls gets all the calls that were made to NodePools. Check the length with:

len(mockedNodePoolsGetter.NodePoolsCalls())

type NodeTemplateControllerMock

type NodeTemplateControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeTemplateHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

NodeTemplateControllerMock is a mock implementation of NodeTemplateController.

    func TestSomethingThatUsesNodeTemplateController(t *testing.T) {

        // make and configure a mocked NodeTemplateController
        mockedNodeTemplateController := &NodeTemplateControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NodeTemplateHandlerFunc)  {
	               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.NodeTemplateLister {
	               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 mockedNodeTemplateController in code that requires NodeTemplateController
        // and then make assertions.

    }

func (*NodeTemplateControllerMock) AddClusterScopedFeatureHandler

func (mock *NodeTemplateControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NodeTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodeTemplateControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodeTemplateControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NodeTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodeTemplateController.AddClusterScopedFeatureHandlerCalls())

func (*NodeTemplateControllerMock) AddClusterScopedHandler

func (mock *NodeTemplateControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NodeTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeTemplateControllerMock) AddClusterScopedHandlerCalls

func (mock *NodeTemplateControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NodeTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodeTemplateController.AddClusterScopedHandlerCalls())

func (*NodeTemplateControllerMock) AddFeatureHandler

func (mock *NodeTemplateControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodeTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodeTemplateControllerMock) AddFeatureHandlerCalls

func (mock *NodeTemplateControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodeTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodeTemplateController.AddFeatureHandlerCalls())

func (*NodeTemplateControllerMock) AddHandler

func (mock *NodeTemplateControllerMock) AddHandler(ctx context.Context, name string, handler v3.NodeTemplateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeTemplateControllerMock) AddHandlerCalls

func (mock *NodeTemplateControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NodeTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodeTemplateController.AddHandlerCalls())

func (*NodeTemplateControllerMock) Enqueue

func (mock *NodeTemplateControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NodeTemplateControllerMock) EnqueueAfter

func (mock *NodeTemplateControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NodeTemplateControllerMock) EnqueueAfterCalls

func (mock *NodeTemplateControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNodeTemplateController.EnqueueAfterCalls())

func (*NodeTemplateControllerMock) EnqueueCalls

func (mock *NodeTemplateControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNodeTemplateController.EnqueueCalls())

func (*NodeTemplateControllerMock) Generic

Generic calls GenericFunc.

func (*NodeTemplateControllerMock) GenericCalls

func (mock *NodeTemplateControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNodeTemplateController.GenericCalls())

func (*NodeTemplateControllerMock) Informer

Informer calls InformerFunc.

func (*NodeTemplateControllerMock) InformerCalls

func (mock *NodeTemplateControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNodeTemplateController.InformerCalls())

func (*NodeTemplateControllerMock) Lister

Lister calls ListerFunc.

func (*NodeTemplateControllerMock) ListerCalls

func (mock *NodeTemplateControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNodeTemplateController.ListerCalls())

func (*NodeTemplateControllerMock) Start

func (mock *NodeTemplateControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NodeTemplateControllerMock) StartCalls

func (mock *NodeTemplateControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNodeTemplateController.StartCalls())

func (*NodeTemplateControllerMock) Sync

Sync calls SyncFunc.

func (*NodeTemplateControllerMock) SyncCalls

func (mock *NodeTemplateControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNodeTemplateController.SyncCalls())

type NodeTemplateInterfaceMock

type NodeTemplateInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeTemplateHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NodeTemplateInterfaceMock is a mock implementation of NodeTemplateInterface.

    func TestSomethingThatUsesNodeTemplateInterface(t *testing.T) {

        // make and configure a mocked NodeTemplateInterface
        mockedNodeTemplateInterface := &NodeTemplateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodeTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NodeTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodeTemplateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NodeTemplateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NodeTemplateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NodeTemplate) (*v3.NodeTemplate, 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.NodeTemplate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NodeTemplate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NodeTemplateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NodeTemplateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NodeTemplate) (*v3.NodeTemplate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNodeTemplateInterface in code that requires NodeTemplateInterface
        // and then make assertions.

    }

func (*NodeTemplateInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NodeTemplateInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NodeTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NodeTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NodeTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NodeTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNodeTemplateInterface.AddClusterScopedFeatureHandlerCalls())

func (*NodeTemplateInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NodeTemplateInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NodeTemplateLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NodeTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NodeTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NodeTemplateLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNodeTemplateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NodeTemplateInterfaceMock) AddClusterScopedHandler

func (mock *NodeTemplateInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NodeTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeTemplateInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NodeTemplateInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NodeTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNodeTemplateInterface.AddClusterScopedHandlerCalls())

func (*NodeTemplateInterfaceMock) AddClusterScopedLifecycle

func (mock *NodeTemplateInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NodeTemplateLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NodeTemplateInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NodeTemplateInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NodeTemplateLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNodeTemplateInterface.AddClusterScopedLifecycleCalls())

func (*NodeTemplateInterfaceMock) AddFeatureHandler

func (mock *NodeTemplateInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NodeTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NodeTemplateInterfaceMock) AddFeatureHandlerCalls

func (mock *NodeTemplateInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NodeTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNodeTemplateInterface.AddFeatureHandlerCalls())

func (*NodeTemplateInterfaceMock) AddFeatureLifecycle

func (mock *NodeTemplateInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NodeTemplateLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NodeTemplateInterfaceMock) AddFeatureLifecycleCalls

func (mock *NodeTemplateInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NodeTemplateLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNodeTemplateInterface.AddFeatureLifecycleCalls())

func (*NodeTemplateInterfaceMock) AddHandler

func (mock *NodeTemplateInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.NodeTemplateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeTemplateInterfaceMock) AddHandlerCalls

func (mock *NodeTemplateInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.NodeTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNodeTemplateInterface.AddHandlerCalls())

func (*NodeTemplateInterfaceMock) AddLifecycle

func (mock *NodeTemplateInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NodeTemplateLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NodeTemplateInterfaceMock) AddLifecycleCalls

func (mock *NodeTemplateInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NodeTemplateLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNodeTemplateInterface.AddLifecycleCalls())

func (*NodeTemplateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*NodeTemplateInterfaceMock) ControllerCalls

func (mock *NodeTemplateInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNodeTemplateInterface.ControllerCalls())

func (*NodeTemplateInterfaceMock) Create

Create calls CreateFunc.

func (*NodeTemplateInterfaceMock) CreateCalls

func (mock *NodeTemplateInterfaceMock) CreateCalls() []struct {
	In1 *v3.NodeTemplate
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNodeTemplateInterface.CreateCalls())

func (*NodeTemplateInterfaceMock) Delete

func (mock *NodeTemplateInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*NodeTemplateInterfaceMock) DeleteCalls

func (mock *NodeTemplateInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNodeTemplateInterface.DeleteCalls())

func (*NodeTemplateInterfaceMock) DeleteCollection

func (mock *NodeTemplateInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NodeTemplateInterfaceMock) DeleteCollectionCalls

func (mock *NodeTemplateInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNodeTemplateInterface.DeleteCollectionCalls())

func (*NodeTemplateInterfaceMock) DeleteNamespaced

func (mock *NodeTemplateInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NodeTemplateInterfaceMock) DeleteNamespacedCalls

func (mock *NodeTemplateInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNodeTemplateInterface.DeleteNamespacedCalls())

func (*NodeTemplateInterfaceMock) Get

Get calls GetFunc.

func (*NodeTemplateInterfaceMock) GetCalls

func (mock *NodeTemplateInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodeTemplateInterface.GetCalls())

func (*NodeTemplateInterfaceMock) GetNamespaced

func (mock *NodeTemplateInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.NodeTemplate, error)

GetNamespaced calls GetNamespacedFunc.

func (*NodeTemplateInterfaceMock) GetNamespacedCalls

func (mock *NodeTemplateInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNodeTemplateInterface.GetNamespacedCalls())

func (*NodeTemplateInterfaceMock) List

List calls ListFunc.

func (*NodeTemplateInterfaceMock) ListCalls

func (mock *NodeTemplateInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodeTemplateInterface.ListCalls())

func (*NodeTemplateInterfaceMock) ListNamespaced

func (mock *NodeTemplateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NodeTemplateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NodeTemplateInterfaceMock) ListNamespacedCalls

func (mock *NodeTemplateInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNodeTemplateInterface.ListNamespacedCalls())

func (*NodeTemplateInterfaceMock) ObjectClient

func (mock *NodeTemplateInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NodeTemplateInterfaceMock) ObjectClientCalls

func (mock *NodeTemplateInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNodeTemplateInterface.ObjectClientCalls())

func (*NodeTemplateInterfaceMock) Update

Update calls UpdateFunc.

func (*NodeTemplateInterfaceMock) UpdateCalls

func (mock *NodeTemplateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NodeTemplate
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNodeTemplateInterface.UpdateCalls())

func (*NodeTemplateInterfaceMock) Watch

Watch calls WatchFunc.

func (*NodeTemplateInterfaceMock) WatchCalls

func (mock *NodeTemplateInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNodeTemplateInterface.WatchCalls())

type NodeTemplateListerMock

type NodeTemplateListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.NodeTemplate, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.NodeTemplate, error)
	// contains filtered or unexported fields
}

NodeTemplateListerMock is a mock implementation of NodeTemplateLister.

    func TestSomethingThatUsesNodeTemplateLister(t *testing.T) {

        // make and configure a mocked NodeTemplateLister
        mockedNodeTemplateLister := &NodeTemplateListerMock{
            GetFunc: func(namespace string, name string) (*v3.NodeTemplate, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NodeTemplate, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNodeTemplateLister in code that requires NodeTemplateLister
        // and then make assertions.

    }

func (*NodeTemplateListerMock) Get

func (mock *NodeTemplateListerMock) Get(namespace string, name string) (*v3.NodeTemplate, error)

Get calls GetFunc.

func (*NodeTemplateListerMock) GetCalls

func (mock *NodeTemplateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNodeTemplateLister.GetCalls())

func (*NodeTemplateListerMock) List

func (mock *NodeTemplateListerMock) List(namespace string, selector labels.Selector) ([]*v3.NodeTemplate, error)

List calls ListFunc.

func (*NodeTemplateListerMock) ListCalls

func (mock *NodeTemplateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNodeTemplateLister.ListCalls())

type NodeTemplatesGetterMock

type NodeTemplatesGetterMock struct {
	// NodeTemplatesFunc mocks the NodeTemplates method.
	NodeTemplatesFunc func(namespace string) v3.NodeTemplateInterface
	// contains filtered or unexported fields
}

NodeTemplatesGetterMock is a mock implementation of NodeTemplatesGetter.

    func TestSomethingThatUsesNodeTemplatesGetter(t *testing.T) {

        // make and configure a mocked NodeTemplatesGetter
        mockedNodeTemplatesGetter := &NodeTemplatesGetterMock{
            NodeTemplatesFunc: func(namespace string) v3.NodeTemplateInterface {
	               panic("mock out the NodeTemplates method")
            },
        }

        // use mockedNodeTemplatesGetter in code that requires NodeTemplatesGetter
        // and then make assertions.

    }

func (*NodeTemplatesGetterMock) NodeTemplates

func (mock *NodeTemplatesGetterMock) NodeTemplates(namespace string) v3.NodeTemplateInterface

NodeTemplates calls NodeTemplatesFunc.

func (*NodeTemplatesGetterMock) NodeTemplatesCalls

func (mock *NodeTemplatesGetterMock) NodeTemplatesCalls() []struct {
	Namespace string
}

NodeTemplatesCalls gets all the calls that were made to NodeTemplates. Check the length with:

len(mockedNodeTemplatesGetter.NodeTemplatesCalls())

type NodesGetterMock

type NodesGetterMock struct {
	// NodesFunc mocks the Nodes method.
	NodesFunc func(namespace string) v3.NodeInterface
	// contains filtered or unexported fields
}

NodesGetterMock is a mock implementation of NodesGetter.

    func TestSomethingThatUsesNodesGetter(t *testing.T) {

        // make and configure a mocked NodesGetter
        mockedNodesGetter := &NodesGetterMock{
            NodesFunc: func(namespace string) v3.NodeInterface {
	               panic("mock out the Nodes method")
            },
        }

        // use mockedNodesGetter in code that requires NodesGetter
        // and then make assertions.

    }

func (*NodesGetterMock) Nodes

func (mock *NodesGetterMock) Nodes(namespace string) v3.NodeInterface

Nodes calls NodesFunc.

func (*NodesGetterMock) NodesCalls

func (mock *NodesGetterMock) NodesCalls() []struct {
	Namespace string
}

NodesCalls gets all the calls that were made to Nodes. Check the length with:

len(mockedNodesGetter.NodesCalls())

type NotifierControllerMock

type NotifierControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NotifierHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

NotifierControllerMock is a mock implementation of NotifierController.

    func TestSomethingThatUsesNotifierController(t *testing.T) {

        // make and configure a mocked NotifierController
        mockedNotifierController := &NotifierControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NotifierHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NotifierHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NotifierHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NotifierHandlerFunc)  {
	               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.NotifierLister {
	               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 mockedNotifierController in code that requires NotifierController
        // and then make assertions.

    }

func (*NotifierControllerMock) AddClusterScopedFeatureHandler

func (mock *NotifierControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NotifierHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NotifierControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NotifierControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NotifierHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNotifierController.AddClusterScopedFeatureHandlerCalls())

func (*NotifierControllerMock) AddClusterScopedHandler

func (mock *NotifierControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NotifierHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NotifierControllerMock) AddClusterScopedHandlerCalls

func (mock *NotifierControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NotifierHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNotifierController.AddClusterScopedHandlerCalls())

func (*NotifierControllerMock) AddFeatureHandler

func (mock *NotifierControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NotifierHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NotifierControllerMock) AddFeatureHandlerCalls

func (mock *NotifierControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NotifierHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNotifierController.AddFeatureHandlerCalls())

func (*NotifierControllerMock) AddHandler

func (mock *NotifierControllerMock) AddHandler(ctx context.Context, name string, handler v3.NotifierHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NotifierControllerMock) AddHandlerCalls

func (mock *NotifierControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NotifierHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNotifierController.AddHandlerCalls())

func (*NotifierControllerMock) Enqueue

func (mock *NotifierControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NotifierControllerMock) EnqueueAfter

func (mock *NotifierControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NotifierControllerMock) EnqueueAfterCalls

func (mock *NotifierControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNotifierController.EnqueueAfterCalls())

func (*NotifierControllerMock) EnqueueCalls

func (mock *NotifierControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNotifierController.EnqueueCalls())

func (*NotifierControllerMock) Generic

Generic calls GenericFunc.

func (*NotifierControllerMock) GenericCalls

func (mock *NotifierControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNotifierController.GenericCalls())

func (*NotifierControllerMock) Informer

Informer calls InformerFunc.

func (*NotifierControllerMock) InformerCalls

func (mock *NotifierControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNotifierController.InformerCalls())

func (*NotifierControllerMock) Lister

func (mock *NotifierControllerMock) Lister() v3.NotifierLister

Lister calls ListerFunc.

func (*NotifierControllerMock) ListerCalls

func (mock *NotifierControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNotifierController.ListerCalls())

func (*NotifierControllerMock) Start

func (mock *NotifierControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NotifierControllerMock) StartCalls

func (mock *NotifierControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNotifierController.StartCalls())

func (*NotifierControllerMock) Sync

func (mock *NotifierControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*NotifierControllerMock) SyncCalls

func (mock *NotifierControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNotifierController.SyncCalls())

type NotifierInterfaceMock

type NotifierInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NotifierHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NotifierInterfaceMock is a mock implementation of NotifierInterface.

    func TestSomethingThatUsesNotifierInterface(t *testing.T) {

        // make and configure a mocked NotifierInterface
        mockedNotifierInterface := &NotifierInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NotifierHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NotifierLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NotifierHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NotifierLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NotifierHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NotifierLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NotifierHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NotifierLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NotifierController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Notifier) (*v3.Notifier, 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.Notifier, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Notifier, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NotifierList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NotifierList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Notifier) (*v3.Notifier, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNotifierInterface in code that requires NotifierInterface
        // and then make assertions.

    }

func (*NotifierInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NotifierInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NotifierHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NotifierInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NotifierInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NotifierHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNotifierInterface.AddClusterScopedFeatureHandlerCalls())

func (*NotifierInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NotifierInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NotifierLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NotifierInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NotifierInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NotifierLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNotifierInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NotifierInterfaceMock) AddClusterScopedHandler

func (mock *NotifierInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NotifierHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NotifierInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NotifierInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NotifierHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNotifierInterface.AddClusterScopedHandlerCalls())

func (*NotifierInterfaceMock) AddClusterScopedLifecycle

func (mock *NotifierInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NotifierLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NotifierInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NotifierInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NotifierLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNotifierInterface.AddClusterScopedLifecycleCalls())

func (*NotifierInterfaceMock) AddFeatureHandler

func (mock *NotifierInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NotifierHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NotifierInterfaceMock) AddFeatureHandlerCalls

func (mock *NotifierInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NotifierHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNotifierInterface.AddFeatureHandlerCalls())

func (*NotifierInterfaceMock) AddFeatureLifecycle

func (mock *NotifierInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NotifierLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NotifierInterfaceMock) AddFeatureLifecycleCalls

func (mock *NotifierInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NotifierLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNotifierInterface.AddFeatureLifecycleCalls())

func (*NotifierInterfaceMock) AddHandler

func (mock *NotifierInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.NotifierHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NotifierInterfaceMock) AddHandlerCalls

func (mock *NotifierInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.NotifierHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNotifierInterface.AddHandlerCalls())

func (*NotifierInterfaceMock) AddLifecycle

func (mock *NotifierInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NotifierLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NotifierInterfaceMock) AddLifecycleCalls

func (mock *NotifierInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NotifierLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNotifierInterface.AddLifecycleCalls())

func (*NotifierInterfaceMock) Controller

func (mock *NotifierInterfaceMock) Controller() v3.NotifierController

Controller calls ControllerFunc.

func (*NotifierInterfaceMock) ControllerCalls

func (mock *NotifierInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNotifierInterface.ControllerCalls())

func (*NotifierInterfaceMock) Create

func (mock *NotifierInterfaceMock) Create(in1 *v3.Notifier) (*v3.Notifier, error)

Create calls CreateFunc.

func (*NotifierInterfaceMock) CreateCalls

func (mock *NotifierInterfaceMock) CreateCalls() []struct {
	In1 *v3.Notifier
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNotifierInterface.CreateCalls())

func (*NotifierInterfaceMock) Delete

func (mock *NotifierInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*NotifierInterfaceMock) DeleteCalls

func (mock *NotifierInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNotifierInterface.DeleteCalls())

func (*NotifierInterfaceMock) DeleteCollection

func (mock *NotifierInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NotifierInterfaceMock) DeleteCollectionCalls

func (mock *NotifierInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNotifierInterface.DeleteCollectionCalls())

func (*NotifierInterfaceMock) DeleteNamespaced

func (mock *NotifierInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NotifierInterfaceMock) DeleteNamespacedCalls

func (mock *NotifierInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNotifierInterface.DeleteNamespacedCalls())

func (*NotifierInterfaceMock) Get

func (mock *NotifierInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Notifier, error)

Get calls GetFunc.

func (*NotifierInterfaceMock) GetCalls

func (mock *NotifierInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNotifierInterface.GetCalls())

func (*NotifierInterfaceMock) GetNamespaced

func (mock *NotifierInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Notifier, error)

GetNamespaced calls GetNamespacedFunc.

func (*NotifierInterfaceMock) GetNamespacedCalls

func (mock *NotifierInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNotifierInterface.GetNamespacedCalls())

func (*NotifierInterfaceMock) List

List calls ListFunc.

func (*NotifierInterfaceMock) ListCalls

func (mock *NotifierInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNotifierInterface.ListCalls())

func (*NotifierInterfaceMock) ListNamespaced

func (mock *NotifierInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NotifierList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NotifierInterfaceMock) ListNamespacedCalls

func (mock *NotifierInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNotifierInterface.ListNamespacedCalls())

func (*NotifierInterfaceMock) ObjectClient

func (mock *NotifierInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NotifierInterfaceMock) ObjectClientCalls

func (mock *NotifierInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNotifierInterface.ObjectClientCalls())

func (*NotifierInterfaceMock) Update

func (mock *NotifierInterfaceMock) Update(in1 *v3.Notifier) (*v3.Notifier, error)

Update calls UpdateFunc.

func (*NotifierInterfaceMock) UpdateCalls

func (mock *NotifierInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Notifier
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNotifierInterface.UpdateCalls())

func (*NotifierInterfaceMock) Watch

Watch calls WatchFunc.

func (*NotifierInterfaceMock) WatchCalls

func (mock *NotifierInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNotifierInterface.WatchCalls())

type NotifierListerMock

type NotifierListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Notifier, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Notifier, error)
	// contains filtered or unexported fields
}

NotifierListerMock is a mock implementation of NotifierLister.

    func TestSomethingThatUsesNotifierLister(t *testing.T) {

        // make and configure a mocked NotifierLister
        mockedNotifierLister := &NotifierListerMock{
            GetFunc: func(namespace string, name string) (*v3.Notifier, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Notifier, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNotifierLister in code that requires NotifierLister
        // and then make assertions.

    }

func (*NotifierListerMock) Get

func (mock *NotifierListerMock) Get(namespace string, name string) (*v3.Notifier, error)

Get calls GetFunc.

func (*NotifierListerMock) GetCalls

func (mock *NotifierListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNotifierLister.GetCalls())

func (*NotifierListerMock) List

func (mock *NotifierListerMock) List(namespace string, selector labels.Selector) ([]*v3.Notifier, error)

List calls ListFunc.

func (*NotifierListerMock) ListCalls

func (mock *NotifierListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNotifierLister.ListCalls())

type NotifiersGetterMock

type NotifiersGetterMock struct {
	// NotifiersFunc mocks the Notifiers method.
	NotifiersFunc func(namespace string) v3.NotifierInterface
	// contains filtered or unexported fields
}

NotifiersGetterMock is a mock implementation of NotifiersGetter.

    func TestSomethingThatUsesNotifiersGetter(t *testing.T) {

        // make and configure a mocked NotifiersGetter
        mockedNotifiersGetter := &NotifiersGetterMock{
            NotifiersFunc: func(namespace string) v3.NotifierInterface {
	               panic("mock out the Notifiers method")
            },
        }

        // use mockedNotifiersGetter in code that requires NotifiersGetter
        // and then make assertions.

    }

func (*NotifiersGetterMock) Notifiers

func (mock *NotifiersGetterMock) Notifiers(namespace string) v3.NotifierInterface

Notifiers calls NotifiersFunc.

func (*NotifiersGetterMock) NotifiersCalls

func (mock *NotifiersGetterMock) NotifiersCalls() []struct {
	Namespace string
}

NotifiersCalls gets all the calls that were made to Notifiers. Check the length with:

len(mockedNotifiersGetter.NotifiersCalls())

type PodSecurityPolicyTemplateControllerMock

type PodSecurityPolicyTemplateControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PodSecurityPolicyTemplateHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateControllerMock is a mock implementation of PodSecurityPolicyTemplateController.

    func TestSomethingThatUsesPodSecurityPolicyTemplateController(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateController
        mockedPodSecurityPolicyTemplateController := &PodSecurityPolicyTemplateControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               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.PodSecurityPolicyTemplateLister {
	               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 mockedPodSecurityPolicyTemplateController in code that requires PodSecurityPolicyTemplateController
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateControllerMock) AddClusterScopedFeatureHandler

func (mock *PodSecurityPolicyTemplateControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PodSecurityPolicyTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PodSecurityPolicyTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateController.AddClusterScopedFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateControllerMock) AddClusterScopedHandler

func (mock *PodSecurityPolicyTemplateControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.PodSecurityPolicyTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PodSecurityPolicyTemplateControllerMock) AddClusterScopedHandlerCalls

func (mock *PodSecurityPolicyTemplateControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PodSecurityPolicyTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateController.AddClusterScopedHandlerCalls())

func (*PodSecurityPolicyTemplateControllerMock) AddFeatureHandler

func (mock *PodSecurityPolicyTemplateControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PodSecurityPolicyTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateControllerMock) AddFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PodSecurityPolicyTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateController.AddFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PodSecurityPolicyTemplateControllerMock) AddHandlerCalls

func (mock *PodSecurityPolicyTemplateControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.PodSecurityPolicyTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateController.AddHandlerCalls())

func (*PodSecurityPolicyTemplateControllerMock) Enqueue

func (mock *PodSecurityPolicyTemplateControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*PodSecurityPolicyTemplateControllerMock) EnqueueAfter

func (mock *PodSecurityPolicyTemplateControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PodSecurityPolicyTemplateControllerMock) EnqueueAfterCalls

func (mock *PodSecurityPolicyTemplateControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPodSecurityPolicyTemplateController.EnqueueAfterCalls())

func (*PodSecurityPolicyTemplateControllerMock) EnqueueCalls

func (mock *PodSecurityPolicyTemplateControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPodSecurityPolicyTemplateController.EnqueueCalls())

func (*PodSecurityPolicyTemplateControllerMock) Generic

Generic calls GenericFunc.

func (*PodSecurityPolicyTemplateControllerMock) GenericCalls

func (mock *PodSecurityPolicyTemplateControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPodSecurityPolicyTemplateController.GenericCalls())

func (*PodSecurityPolicyTemplateControllerMock) Informer

Informer calls InformerFunc.

func (*PodSecurityPolicyTemplateControllerMock) InformerCalls

func (mock *PodSecurityPolicyTemplateControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPodSecurityPolicyTemplateController.InformerCalls())

func (*PodSecurityPolicyTemplateControllerMock) Lister

Lister calls ListerFunc.

func (*PodSecurityPolicyTemplateControllerMock) ListerCalls

func (mock *PodSecurityPolicyTemplateControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPodSecurityPolicyTemplateController.ListerCalls())

func (*PodSecurityPolicyTemplateControllerMock) Start

func (mock *PodSecurityPolicyTemplateControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*PodSecurityPolicyTemplateControllerMock) StartCalls

func (mock *PodSecurityPolicyTemplateControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPodSecurityPolicyTemplateController.StartCalls())

func (*PodSecurityPolicyTemplateControllerMock) Sync

Sync calls SyncFunc.

func (*PodSecurityPolicyTemplateControllerMock) SyncCalls

func (mock *PodSecurityPolicyTemplateControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPodSecurityPolicyTemplateController.SyncCalls())

type PodSecurityPolicyTemplateInterfaceMock

type PodSecurityPolicyTemplateInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PodSecurityPolicyTemplateHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateInterfaceMock is a mock implementation of PodSecurityPolicyTemplateInterface.

    func TestSomethingThatUsesPodSecurityPolicyTemplateInterface(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateInterface
        mockedPodSecurityPolicyTemplateInterface := &PodSecurityPolicyTemplateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PodSecurityPolicyTemplateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.PodSecurityPolicyTemplate) (*v3.PodSecurityPolicyTemplate, 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.PodSecurityPolicyTemplate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.PodSecurityPolicyTemplate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PodSecurityPolicyTemplateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PodSecurityPolicyTemplateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.PodSecurityPolicyTemplate) (*v3.PodSecurityPolicyTemplate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPodSecurityPolicyTemplateInterface in code that requires PodSecurityPolicyTemplateInterface
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PodSecurityPolicyTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PodSecurityPolicyTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddClusterScopedFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PodSecurityPolicyTemplateLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedHandler

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.PodSecurityPolicyTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PodSecurityPolicyTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddClusterScopedHandlerCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedLifecycle

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PodSecurityPolicyTemplateLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddClusterScopedLifecycleCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddFeatureHandler

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PodSecurityPolicyTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PodSecurityPolicyTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddFeatureLifecycle

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.PodSecurityPolicyTemplateLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddFeatureLifecycleCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PodSecurityPolicyTemplateLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddFeatureLifecycleCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddHandlerCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.PodSecurityPolicyTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddHandlerCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) AddLifecycleCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.PodSecurityPolicyTemplateLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.AddLifecycleCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) ControllerCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.ControllerCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) Create

Create calls CreateFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) CreateCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) CreateCalls() []struct {
	In1 *v3.PodSecurityPolicyTemplate
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.CreateCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) Delete

Delete calls DeleteFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) DeleteCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.DeleteCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) DeleteCollection

func (mock *PodSecurityPolicyTemplateInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) DeleteCollectionCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.DeleteCollectionCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) DeleteNamespaced

func (mock *PodSecurityPolicyTemplateInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) DeleteNamespacedCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.DeleteNamespacedCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) Get

Get calls GetFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) GetCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.GetCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) GetNamespaced

func (mock *PodSecurityPolicyTemplateInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.PodSecurityPolicyTemplate, error)

GetNamespaced calls GetNamespacedFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) GetNamespacedCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.GetNamespacedCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) List

List calls ListFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) ListCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.ListCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) ListNamespacedCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.ListNamespacedCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) ObjectClientCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.ObjectClientCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) Update

Update calls UpdateFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) UpdateCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.PodSecurityPolicyTemplate
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.UpdateCalls())

func (*PodSecurityPolicyTemplateInterfaceMock) Watch

Watch calls WatchFunc.

func (*PodSecurityPolicyTemplateInterfaceMock) WatchCalls

func (mock *PodSecurityPolicyTemplateInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPodSecurityPolicyTemplateInterface.WatchCalls())

type PodSecurityPolicyTemplateListerMock

type PodSecurityPolicyTemplateListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.PodSecurityPolicyTemplate, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.PodSecurityPolicyTemplate, error)
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateListerMock is a mock implementation of PodSecurityPolicyTemplateLister.

    func TestSomethingThatUsesPodSecurityPolicyTemplateLister(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateLister
        mockedPodSecurityPolicyTemplateLister := &PodSecurityPolicyTemplateListerMock{
            GetFunc: func(namespace string, name string) (*v3.PodSecurityPolicyTemplate, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.PodSecurityPolicyTemplate, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPodSecurityPolicyTemplateLister in code that requires PodSecurityPolicyTemplateLister
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateListerMock) Get

Get calls GetFunc.

func (*PodSecurityPolicyTemplateListerMock) GetCalls

func (mock *PodSecurityPolicyTemplateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPodSecurityPolicyTemplateLister.GetCalls())

func (*PodSecurityPolicyTemplateListerMock) List

List calls ListFunc.

func (*PodSecurityPolicyTemplateListerMock) ListCalls

func (mock *PodSecurityPolicyTemplateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPodSecurityPolicyTemplateLister.ListCalls())

type PodSecurityPolicyTemplateProjectBindingControllerMock

type PodSecurityPolicyTemplateProjectBindingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateProjectBindingControllerMock is a mock implementation of PodSecurityPolicyTemplateProjectBindingController.

    func TestSomethingThatUsesPodSecurityPolicyTemplateProjectBindingController(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateProjectBindingController
        mockedPodSecurityPolicyTemplateProjectBindingController := &PodSecurityPolicyTemplateProjectBindingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               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.PodSecurityPolicyTemplateProjectBindingLister {
	               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 mockedPodSecurityPolicyTemplateProjectBindingController in code that requires PodSecurityPolicyTemplateProjectBindingController
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedFeatureHandler

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.AddClusterScopedFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedHandler

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedHandlerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.AddClusterScopedHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddFeatureHandler

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.AddFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.AddHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) Enqueue

Enqueue calls EnqueueFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) EnqueueAfter

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) EnqueueAfterCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.EnqueueAfterCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) EnqueueCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.EnqueueCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) Generic

Generic calls GenericFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) GenericCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.GenericCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) Informer

Informer calls InformerFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) InformerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.InformerCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) Lister

Lister calls ListerFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) ListerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.ListerCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) Start

Start calls StartFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) StartCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.StartCalls())

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) Sync

Sync calls SyncFunc.

func (*PodSecurityPolicyTemplateProjectBindingControllerMock) SyncCalls

func (mock *PodSecurityPolicyTemplateProjectBindingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingController.SyncCalls())

type PodSecurityPolicyTemplateProjectBindingInterfaceMock

type PodSecurityPolicyTemplateProjectBindingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateProjectBindingInterfaceMock is a mock implementation of PodSecurityPolicyTemplateProjectBindingInterface.

    func TestSomethingThatUsesPodSecurityPolicyTemplateProjectBindingInterface(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateProjectBindingInterface
        mockedPodSecurityPolicyTemplateProjectBindingInterface := &PodSecurityPolicyTemplateProjectBindingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateProjectBindingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateProjectBindingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PodSecurityPolicyTemplateProjectBindingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PodSecurityPolicyTemplateProjectBindingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PodSecurityPolicyTemplateProjectBindingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.PodSecurityPolicyTemplateProjectBinding) (*v3.PodSecurityPolicyTemplateProjectBinding, 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.PodSecurityPolicyTemplateProjectBinding, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.PodSecurityPolicyTemplateProjectBinding, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PodSecurityPolicyTemplateProjectBindingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PodSecurityPolicyTemplateProjectBindingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.PodSecurityPolicyTemplateProjectBinding) (*v3.PodSecurityPolicyTemplateProjectBinding, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPodSecurityPolicyTemplateProjectBindingInterface in code that requires PodSecurityPolicyTemplateProjectBindingInterface
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddClusterScopedFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PodSecurityPolicyTemplateProjectBindingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PodSecurityPolicyTemplateProjectBindingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedHandler

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddClusterScopedHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedLifecycle

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PodSecurityPolicyTemplateProjectBindingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddClusterScopedLifecycleCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddFeatureHandler

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddFeatureHandlerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddFeatureHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddFeatureLifecycle

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddFeatureLifecycleCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PodSecurityPolicyTemplateProjectBindingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddFeatureLifecycleCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddHandlerCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) AddLifecycleCalls

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.AddLifecycleCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) ControllerCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.ControllerCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) Create

Create calls CreateFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) CreateCalls

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.CreateCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) Delete

Delete calls DeleteFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.DeleteCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteCollection

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteCollectionCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.DeleteCollectionCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteNamespaced

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteNamespacedCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.DeleteNamespacedCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) Get

Get calls GetFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) GetCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.GetCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) GetNamespaced

GetNamespaced calls GetNamespacedFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) GetNamespacedCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.GetNamespacedCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) List

List calls ListFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) ListCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.ListCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) ListNamespacedCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.ListNamespacedCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) ObjectClientCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.ObjectClientCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) Update

Update calls UpdateFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) UpdateCalls

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.UpdateCalls())

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) Watch

Watch calls WatchFunc.

func (*PodSecurityPolicyTemplateProjectBindingInterfaceMock) WatchCalls

func (mock *PodSecurityPolicyTemplateProjectBindingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingInterface.WatchCalls())

type PodSecurityPolicyTemplateProjectBindingListerMock

type PodSecurityPolicyTemplateProjectBindingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.PodSecurityPolicyTemplateProjectBinding, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.PodSecurityPolicyTemplateProjectBinding, error)
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateProjectBindingListerMock is a mock implementation of PodSecurityPolicyTemplateProjectBindingLister.

    func TestSomethingThatUsesPodSecurityPolicyTemplateProjectBindingLister(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateProjectBindingLister
        mockedPodSecurityPolicyTemplateProjectBindingLister := &PodSecurityPolicyTemplateProjectBindingListerMock{
            GetFunc: func(namespace string, name string) (*v3.PodSecurityPolicyTemplateProjectBinding, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.PodSecurityPolicyTemplateProjectBinding, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPodSecurityPolicyTemplateProjectBindingLister in code that requires PodSecurityPolicyTemplateProjectBindingLister
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateProjectBindingListerMock) Get

Get calls GetFunc.

func (*PodSecurityPolicyTemplateProjectBindingListerMock) GetCalls

func (mock *PodSecurityPolicyTemplateProjectBindingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingLister.GetCalls())

func (*PodSecurityPolicyTemplateProjectBindingListerMock) List

List calls ListFunc.

func (*PodSecurityPolicyTemplateProjectBindingListerMock) ListCalls

func (mock *PodSecurityPolicyTemplateProjectBindingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingLister.ListCalls())

type PodSecurityPolicyTemplateProjectBindingsGetterMock

type PodSecurityPolicyTemplateProjectBindingsGetterMock struct {
	// PodSecurityPolicyTemplateProjectBindingsFunc mocks the PodSecurityPolicyTemplateProjectBindings method.
	PodSecurityPolicyTemplateProjectBindingsFunc func(namespace string) v3.PodSecurityPolicyTemplateProjectBindingInterface
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplateProjectBindingsGetterMock is a mock implementation of PodSecurityPolicyTemplateProjectBindingsGetter.

    func TestSomethingThatUsesPodSecurityPolicyTemplateProjectBindingsGetter(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplateProjectBindingsGetter
        mockedPodSecurityPolicyTemplateProjectBindingsGetter := &PodSecurityPolicyTemplateProjectBindingsGetterMock{
            PodSecurityPolicyTemplateProjectBindingsFunc: func(namespace string) v3.PodSecurityPolicyTemplateProjectBindingInterface {
	               panic("mock out the PodSecurityPolicyTemplateProjectBindings method")
            },
        }

        // use mockedPodSecurityPolicyTemplateProjectBindingsGetter in code that requires PodSecurityPolicyTemplateProjectBindingsGetter
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplateProjectBindingsGetterMock) PodSecurityPolicyTemplateProjectBindings

PodSecurityPolicyTemplateProjectBindings calls PodSecurityPolicyTemplateProjectBindingsFunc.

func (*PodSecurityPolicyTemplateProjectBindingsGetterMock) PodSecurityPolicyTemplateProjectBindingsCalls

func (mock *PodSecurityPolicyTemplateProjectBindingsGetterMock) PodSecurityPolicyTemplateProjectBindingsCalls() []struct {
	Namespace string
}

PodSecurityPolicyTemplateProjectBindingsCalls gets all the calls that were made to PodSecurityPolicyTemplateProjectBindings. Check the length with:

len(mockedPodSecurityPolicyTemplateProjectBindingsGetter.PodSecurityPolicyTemplateProjectBindingsCalls())

type PodSecurityPolicyTemplatesGetterMock

type PodSecurityPolicyTemplatesGetterMock struct {
	// PodSecurityPolicyTemplatesFunc mocks the PodSecurityPolicyTemplates method.
	PodSecurityPolicyTemplatesFunc func(namespace string) v3.PodSecurityPolicyTemplateInterface
	// contains filtered or unexported fields
}

PodSecurityPolicyTemplatesGetterMock is a mock implementation of PodSecurityPolicyTemplatesGetter.

    func TestSomethingThatUsesPodSecurityPolicyTemplatesGetter(t *testing.T) {

        // make and configure a mocked PodSecurityPolicyTemplatesGetter
        mockedPodSecurityPolicyTemplatesGetter := &PodSecurityPolicyTemplatesGetterMock{
            PodSecurityPolicyTemplatesFunc: func(namespace string) v3.PodSecurityPolicyTemplateInterface {
	               panic("mock out the PodSecurityPolicyTemplates method")
            },
        }

        // use mockedPodSecurityPolicyTemplatesGetter in code that requires PodSecurityPolicyTemplatesGetter
        // and then make assertions.

    }

func (*PodSecurityPolicyTemplatesGetterMock) PodSecurityPolicyTemplates

func (mock *PodSecurityPolicyTemplatesGetterMock) PodSecurityPolicyTemplates(namespace string) v3.PodSecurityPolicyTemplateInterface

PodSecurityPolicyTemplates calls PodSecurityPolicyTemplatesFunc.

func (*PodSecurityPolicyTemplatesGetterMock) PodSecurityPolicyTemplatesCalls

func (mock *PodSecurityPolicyTemplatesGetterMock) PodSecurityPolicyTemplatesCalls() []struct {
	Namespace string
}

PodSecurityPolicyTemplatesCalls gets all the calls that were made to PodSecurityPolicyTemplates. Check the length with:

len(mockedPodSecurityPolicyTemplatesGetter.PodSecurityPolicyTemplatesCalls())

type PreferenceControllerMock

type PreferenceControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PreferenceHandlerFunc)

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

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

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

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

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

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

PreferenceControllerMock is a mock implementation of PreferenceController.

    func TestSomethingThatUsesPreferenceController(t *testing.T) {

        // make and configure a mocked PreferenceController
        mockedPreferenceController := &PreferenceControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PreferenceHandlerFunc)  {
	               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.PreferenceLister {
	               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 mockedPreferenceController in code that requires PreferenceController
        // and then make assertions.

    }

func (*PreferenceControllerMock) AddClusterScopedFeatureHandler

func (mock *PreferenceControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PreferenceHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PreferenceControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PreferenceControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PreferenceHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPreferenceController.AddClusterScopedFeatureHandlerCalls())

func (*PreferenceControllerMock) AddClusterScopedHandler

func (mock *PreferenceControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.PreferenceHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PreferenceControllerMock) AddClusterScopedHandlerCalls

func (mock *PreferenceControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PreferenceHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPreferenceController.AddClusterScopedHandlerCalls())

func (*PreferenceControllerMock) AddFeatureHandler

func (mock *PreferenceControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PreferenceHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PreferenceControllerMock) AddFeatureHandlerCalls

func (mock *PreferenceControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PreferenceHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPreferenceController.AddFeatureHandlerCalls())

func (*PreferenceControllerMock) AddHandler

func (mock *PreferenceControllerMock) AddHandler(ctx context.Context, name string, handler v3.PreferenceHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PreferenceControllerMock) AddHandlerCalls

func (mock *PreferenceControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.PreferenceHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPreferenceController.AddHandlerCalls())

func (*PreferenceControllerMock) Enqueue

func (mock *PreferenceControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*PreferenceControllerMock) EnqueueAfter

func (mock *PreferenceControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PreferenceControllerMock) EnqueueAfterCalls

func (mock *PreferenceControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPreferenceController.EnqueueAfterCalls())

func (*PreferenceControllerMock) EnqueueCalls

func (mock *PreferenceControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPreferenceController.EnqueueCalls())

func (*PreferenceControllerMock) Generic

Generic calls GenericFunc.

func (*PreferenceControllerMock) GenericCalls

func (mock *PreferenceControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPreferenceController.GenericCalls())

func (*PreferenceControllerMock) Informer

Informer calls InformerFunc.

func (*PreferenceControllerMock) InformerCalls

func (mock *PreferenceControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPreferenceController.InformerCalls())

func (*PreferenceControllerMock) Lister

Lister calls ListerFunc.

func (*PreferenceControllerMock) ListerCalls

func (mock *PreferenceControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPreferenceController.ListerCalls())

func (*PreferenceControllerMock) Start

func (mock *PreferenceControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*PreferenceControllerMock) StartCalls

func (mock *PreferenceControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPreferenceController.StartCalls())

func (*PreferenceControllerMock) Sync

Sync calls SyncFunc.

func (*PreferenceControllerMock) SyncCalls

func (mock *PreferenceControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPreferenceController.SyncCalls())

type PreferenceInterfaceMock

type PreferenceInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PreferenceHandlerFunc)

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

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

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

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

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

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

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.PreferenceLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.PreferenceController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Preference) (*v3.Preference, 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.Preference, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Preference, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.PreferenceList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.PreferenceList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Preference) (*v3.Preference, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PreferenceInterfaceMock is a mock implementation of PreferenceInterface.

    func TestSomethingThatUsesPreferenceInterface(t *testing.T) {

        // make and configure a mocked PreferenceInterface
        mockedPreferenceInterface := &PreferenceInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PreferenceLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PreferenceLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PreferenceLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PreferenceLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PreferenceController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Preference) (*v3.Preference, 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.Preference, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Preference, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PreferenceList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PreferenceList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Preference) (*v3.Preference, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPreferenceInterface in code that requires PreferenceInterface
        // and then make assertions.

    }

func (*PreferenceInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PreferenceInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PreferenceHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PreferenceInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PreferenceInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PreferenceHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPreferenceInterface.AddClusterScopedFeatureHandlerCalls())

func (*PreferenceInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PreferenceInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PreferenceLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PreferenceInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PreferenceInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PreferenceLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPreferenceInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PreferenceInterfaceMock) AddClusterScopedHandler

func (mock *PreferenceInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.PreferenceHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PreferenceInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PreferenceInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PreferenceHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPreferenceInterface.AddClusterScopedHandlerCalls())

func (*PreferenceInterfaceMock) AddClusterScopedLifecycle

func (mock *PreferenceInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.PreferenceLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PreferenceInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PreferenceInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PreferenceLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPreferenceInterface.AddClusterScopedLifecycleCalls())

func (*PreferenceInterfaceMock) AddFeatureHandler

func (mock *PreferenceInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PreferenceHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PreferenceInterfaceMock) AddFeatureHandlerCalls

func (mock *PreferenceInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PreferenceHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPreferenceInterface.AddFeatureHandlerCalls())

func (*PreferenceInterfaceMock) AddFeatureLifecycle

func (mock *PreferenceInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.PreferenceLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PreferenceInterfaceMock) AddFeatureLifecycleCalls

func (mock *PreferenceInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PreferenceLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPreferenceInterface.AddFeatureLifecycleCalls())

func (*PreferenceInterfaceMock) AddHandler

func (mock *PreferenceInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.PreferenceHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PreferenceInterfaceMock) AddHandlerCalls

func (mock *PreferenceInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.PreferenceHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPreferenceInterface.AddHandlerCalls())

func (*PreferenceInterfaceMock) AddLifecycle

func (mock *PreferenceInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.PreferenceLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*PreferenceInterfaceMock) AddLifecycleCalls

func (mock *PreferenceInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.PreferenceLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPreferenceInterface.AddLifecycleCalls())

func (*PreferenceInterfaceMock) Controller

func (mock *PreferenceInterfaceMock) Controller() v3.PreferenceController

Controller calls ControllerFunc.

func (*PreferenceInterfaceMock) ControllerCalls

func (mock *PreferenceInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPreferenceInterface.ControllerCalls())

func (*PreferenceInterfaceMock) Create

func (mock *PreferenceInterfaceMock) Create(in1 *v3.Preference) (*v3.Preference, error)

Create calls CreateFunc.

func (*PreferenceInterfaceMock) CreateCalls

func (mock *PreferenceInterfaceMock) CreateCalls() []struct {
	In1 *v3.Preference
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPreferenceInterface.CreateCalls())

func (*PreferenceInterfaceMock) Delete

func (mock *PreferenceInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*PreferenceInterfaceMock) DeleteCalls

func (mock *PreferenceInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPreferenceInterface.DeleteCalls())

func (*PreferenceInterfaceMock) DeleteCollection

func (mock *PreferenceInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PreferenceInterfaceMock) DeleteCollectionCalls

func (mock *PreferenceInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPreferenceInterface.DeleteCollectionCalls())

func (*PreferenceInterfaceMock) DeleteNamespaced

func (mock *PreferenceInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PreferenceInterfaceMock) DeleteNamespacedCalls

func (mock *PreferenceInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPreferenceInterface.DeleteNamespacedCalls())

func (*PreferenceInterfaceMock) Get

func (mock *PreferenceInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Preference, error)

Get calls GetFunc.

func (*PreferenceInterfaceMock) GetCalls

func (mock *PreferenceInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPreferenceInterface.GetCalls())

func (*PreferenceInterfaceMock) GetNamespaced

func (mock *PreferenceInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Preference, error)

GetNamespaced calls GetNamespacedFunc.

func (*PreferenceInterfaceMock) GetNamespacedCalls

func (mock *PreferenceInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPreferenceInterface.GetNamespacedCalls())

func (*PreferenceInterfaceMock) List

List calls ListFunc.

func (*PreferenceInterfaceMock) ListCalls

func (mock *PreferenceInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPreferenceInterface.ListCalls())

func (*PreferenceInterfaceMock) ListNamespaced

func (mock *PreferenceInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.PreferenceList, error)

ListNamespaced calls ListNamespacedFunc.

func (*PreferenceInterfaceMock) ListNamespacedCalls

func (mock *PreferenceInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPreferenceInterface.ListNamespacedCalls())

func (*PreferenceInterfaceMock) ObjectClient

func (mock *PreferenceInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PreferenceInterfaceMock) ObjectClientCalls

func (mock *PreferenceInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPreferenceInterface.ObjectClientCalls())

func (*PreferenceInterfaceMock) Update

func (mock *PreferenceInterfaceMock) Update(in1 *v3.Preference) (*v3.Preference, error)

Update calls UpdateFunc.

func (*PreferenceInterfaceMock) UpdateCalls

func (mock *PreferenceInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Preference
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPreferenceInterface.UpdateCalls())

func (*PreferenceInterfaceMock) Watch

Watch calls WatchFunc.

func (*PreferenceInterfaceMock) WatchCalls

func (mock *PreferenceInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPreferenceInterface.WatchCalls())

type PreferenceListerMock

type PreferenceListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Preference, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Preference, error)
	// contains filtered or unexported fields
}

PreferenceListerMock is a mock implementation of PreferenceLister.

    func TestSomethingThatUsesPreferenceLister(t *testing.T) {

        // make and configure a mocked PreferenceLister
        mockedPreferenceLister := &PreferenceListerMock{
            GetFunc: func(namespace string, name string) (*v3.Preference, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Preference, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPreferenceLister in code that requires PreferenceLister
        // and then make assertions.

    }

func (*PreferenceListerMock) Get

func (mock *PreferenceListerMock) Get(namespace string, name string) (*v3.Preference, error)

Get calls GetFunc.

func (*PreferenceListerMock) GetCalls

func (mock *PreferenceListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPreferenceLister.GetCalls())

func (*PreferenceListerMock) List

func (mock *PreferenceListerMock) List(namespace string, selector labels.Selector) ([]*v3.Preference, error)

List calls ListFunc.

func (*PreferenceListerMock) ListCalls

func (mock *PreferenceListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPreferenceLister.ListCalls())

type PreferencesGetterMock

type PreferencesGetterMock struct {
	// PreferencesFunc mocks the Preferences method.
	PreferencesFunc func(namespace string) v3.PreferenceInterface
	// contains filtered or unexported fields
}

PreferencesGetterMock is a mock implementation of PreferencesGetter.

    func TestSomethingThatUsesPreferencesGetter(t *testing.T) {

        // make and configure a mocked PreferencesGetter
        mockedPreferencesGetter := &PreferencesGetterMock{
            PreferencesFunc: func(namespace string) v3.PreferenceInterface {
	               panic("mock out the Preferences method")
            },
        }

        // use mockedPreferencesGetter in code that requires PreferencesGetter
        // and then make assertions.

    }

func (*PreferencesGetterMock) Preferences

func (mock *PreferencesGetterMock) Preferences(namespace string) v3.PreferenceInterface

Preferences calls PreferencesFunc.

func (*PreferencesGetterMock) PreferencesCalls

func (mock *PreferencesGetterMock) PreferencesCalls() []struct {
	Namespace string
}

PreferencesCalls gets all the calls that were made to Preferences. Check the length with:

len(mockedPreferencesGetter.PreferencesCalls())

type PrincipalControllerMock

type PrincipalControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PrincipalHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.PrincipalHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PrincipalHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.PrincipalHandlerFunc)

	// 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.PrincipalLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

PrincipalControllerMock is a mock implementation of PrincipalController.

    func TestSomethingThatUsesPrincipalController(t *testing.T) {

        // make and configure a mocked PrincipalController
        mockedPrincipalController := &PrincipalControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PrincipalHandlerFunc)  {
	               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.PrincipalLister {
	               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 mockedPrincipalController in code that requires PrincipalController
        // and then make assertions.

    }

func (*PrincipalControllerMock) AddClusterScopedFeatureHandler

func (mock *PrincipalControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PrincipalHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PrincipalControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PrincipalControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PrincipalHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPrincipalController.AddClusterScopedFeatureHandlerCalls())

func (*PrincipalControllerMock) AddClusterScopedHandler

func (mock *PrincipalControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.PrincipalHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PrincipalControllerMock) AddClusterScopedHandlerCalls

func (mock *PrincipalControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PrincipalHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPrincipalController.AddClusterScopedHandlerCalls())

func (*PrincipalControllerMock) AddFeatureHandler

func (mock *PrincipalControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PrincipalHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PrincipalControllerMock) AddFeatureHandlerCalls

func (mock *PrincipalControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PrincipalHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPrincipalController.AddFeatureHandlerCalls())

func (*PrincipalControllerMock) AddHandler

func (mock *PrincipalControllerMock) AddHandler(ctx context.Context, name string, handler v3.PrincipalHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PrincipalControllerMock) AddHandlerCalls

func (mock *PrincipalControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.PrincipalHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPrincipalController.AddHandlerCalls())

func (*PrincipalControllerMock) Enqueue

func (mock *PrincipalControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*PrincipalControllerMock) EnqueueAfter

func (mock *PrincipalControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PrincipalControllerMock) EnqueueAfterCalls

func (mock *PrincipalControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPrincipalController.EnqueueAfterCalls())

func (*PrincipalControllerMock) EnqueueCalls

func (mock *PrincipalControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPrincipalController.EnqueueCalls())

func (*PrincipalControllerMock) Generic

Generic calls GenericFunc.

func (*PrincipalControllerMock) GenericCalls

func (mock *PrincipalControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPrincipalController.GenericCalls())

func (*PrincipalControllerMock) Informer

Informer calls InformerFunc.

func (*PrincipalControllerMock) InformerCalls

func (mock *PrincipalControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPrincipalController.InformerCalls())

func (*PrincipalControllerMock) Lister

Lister calls ListerFunc.

func (*PrincipalControllerMock) ListerCalls

func (mock *PrincipalControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPrincipalController.ListerCalls())

func (*PrincipalControllerMock) Start

func (mock *PrincipalControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*PrincipalControllerMock) StartCalls

func (mock *PrincipalControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPrincipalController.StartCalls())

func (*PrincipalControllerMock) Sync

func (mock *PrincipalControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*PrincipalControllerMock) SyncCalls

func (mock *PrincipalControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPrincipalController.SyncCalls())

type PrincipalInterfaceMock

type PrincipalInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PrincipalHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PrincipalLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.PrincipalHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.PrincipalLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PrincipalHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PrincipalLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.PrincipalHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.PrincipalLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.PrincipalController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Principal) (*v3.Principal, 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.Principal, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Principal, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.PrincipalList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.PrincipalList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Principal) (*v3.Principal, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PrincipalInterfaceMock is a mock implementation of PrincipalInterface.

    func TestSomethingThatUsesPrincipalInterface(t *testing.T) {

        // make and configure a mocked PrincipalInterface
        mockedPrincipalInterface := &PrincipalInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PrincipalLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PrincipalLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PrincipalLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PrincipalLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PrincipalController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Principal) (*v3.Principal, 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.Principal, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Principal, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PrincipalList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PrincipalList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Principal) (*v3.Principal, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPrincipalInterface in code that requires PrincipalInterface
        // and then make assertions.

    }

func (*PrincipalInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PrincipalInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PrincipalHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PrincipalInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PrincipalInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PrincipalHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPrincipalInterface.AddClusterScopedFeatureHandlerCalls())

func (*PrincipalInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PrincipalInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PrincipalLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PrincipalInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PrincipalInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PrincipalLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPrincipalInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PrincipalInterfaceMock) AddClusterScopedHandler

func (mock *PrincipalInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.PrincipalHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PrincipalInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PrincipalInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PrincipalHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPrincipalInterface.AddClusterScopedHandlerCalls())

func (*PrincipalInterfaceMock) AddClusterScopedLifecycle

func (mock *PrincipalInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.PrincipalLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PrincipalInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PrincipalInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PrincipalLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPrincipalInterface.AddClusterScopedLifecycleCalls())

func (*PrincipalInterfaceMock) AddFeatureHandler

func (mock *PrincipalInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PrincipalHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PrincipalInterfaceMock) AddFeatureHandlerCalls

func (mock *PrincipalInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PrincipalHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPrincipalInterface.AddFeatureHandlerCalls())

func (*PrincipalInterfaceMock) AddFeatureLifecycle

func (mock *PrincipalInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.PrincipalLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PrincipalInterfaceMock) AddFeatureLifecycleCalls

func (mock *PrincipalInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PrincipalLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPrincipalInterface.AddFeatureLifecycleCalls())

func (*PrincipalInterfaceMock) AddHandler

func (mock *PrincipalInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.PrincipalHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PrincipalInterfaceMock) AddHandlerCalls

func (mock *PrincipalInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.PrincipalHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPrincipalInterface.AddHandlerCalls())

func (*PrincipalInterfaceMock) AddLifecycle

func (mock *PrincipalInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.PrincipalLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*PrincipalInterfaceMock) AddLifecycleCalls

func (mock *PrincipalInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.PrincipalLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPrincipalInterface.AddLifecycleCalls())

func (*PrincipalInterfaceMock) Controller

func (mock *PrincipalInterfaceMock) Controller() v3.PrincipalController

Controller calls ControllerFunc.

func (*PrincipalInterfaceMock) ControllerCalls

func (mock *PrincipalInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPrincipalInterface.ControllerCalls())

func (*PrincipalInterfaceMock) Create

func (mock *PrincipalInterfaceMock) Create(in1 *v3.Principal) (*v3.Principal, error)

Create calls CreateFunc.

func (*PrincipalInterfaceMock) CreateCalls

func (mock *PrincipalInterfaceMock) CreateCalls() []struct {
	In1 *v3.Principal
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPrincipalInterface.CreateCalls())

func (*PrincipalInterfaceMock) Delete

func (mock *PrincipalInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*PrincipalInterfaceMock) DeleteCalls

func (mock *PrincipalInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPrincipalInterface.DeleteCalls())

func (*PrincipalInterfaceMock) DeleteCollection

func (mock *PrincipalInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PrincipalInterfaceMock) DeleteCollectionCalls

func (mock *PrincipalInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPrincipalInterface.DeleteCollectionCalls())

func (*PrincipalInterfaceMock) DeleteNamespaced

func (mock *PrincipalInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PrincipalInterfaceMock) DeleteNamespacedCalls

func (mock *PrincipalInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPrincipalInterface.DeleteNamespacedCalls())

func (*PrincipalInterfaceMock) Get

func (mock *PrincipalInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Principal, error)

Get calls GetFunc.

func (*PrincipalInterfaceMock) GetCalls

func (mock *PrincipalInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPrincipalInterface.GetCalls())

func (*PrincipalInterfaceMock) GetNamespaced

func (mock *PrincipalInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Principal, error)

GetNamespaced calls GetNamespacedFunc.

func (*PrincipalInterfaceMock) GetNamespacedCalls

func (mock *PrincipalInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPrincipalInterface.GetNamespacedCalls())

func (*PrincipalInterfaceMock) List

List calls ListFunc.

func (*PrincipalInterfaceMock) ListCalls

func (mock *PrincipalInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPrincipalInterface.ListCalls())

func (*PrincipalInterfaceMock) ListNamespaced

func (mock *PrincipalInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.PrincipalList, error)

ListNamespaced calls ListNamespacedFunc.

func (*PrincipalInterfaceMock) ListNamespacedCalls

func (mock *PrincipalInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPrincipalInterface.ListNamespacedCalls())

func (*PrincipalInterfaceMock) ObjectClient

func (mock *PrincipalInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PrincipalInterfaceMock) ObjectClientCalls

func (mock *PrincipalInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPrincipalInterface.ObjectClientCalls())

func (*PrincipalInterfaceMock) Update

func (mock *PrincipalInterfaceMock) Update(in1 *v3.Principal) (*v3.Principal, error)

Update calls UpdateFunc.

func (*PrincipalInterfaceMock) UpdateCalls

func (mock *PrincipalInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Principal
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPrincipalInterface.UpdateCalls())

func (*PrincipalInterfaceMock) Watch

Watch calls WatchFunc.

func (*PrincipalInterfaceMock) WatchCalls

func (mock *PrincipalInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPrincipalInterface.WatchCalls())

type PrincipalListerMock

type PrincipalListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Principal, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Principal, error)
	// contains filtered or unexported fields
}

PrincipalListerMock is a mock implementation of PrincipalLister.

    func TestSomethingThatUsesPrincipalLister(t *testing.T) {

        // make and configure a mocked PrincipalLister
        mockedPrincipalLister := &PrincipalListerMock{
            GetFunc: func(namespace string, name string) (*v3.Principal, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Principal, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPrincipalLister in code that requires PrincipalLister
        // and then make assertions.

    }

func (*PrincipalListerMock) Get

func (mock *PrincipalListerMock) Get(namespace string, name string) (*v3.Principal, error)

Get calls GetFunc.

func (*PrincipalListerMock) GetCalls

func (mock *PrincipalListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPrincipalLister.GetCalls())

func (*PrincipalListerMock) List

func (mock *PrincipalListerMock) List(namespace string, selector labels.Selector) ([]*v3.Principal, error)

List calls ListFunc.

func (*PrincipalListerMock) ListCalls

func (mock *PrincipalListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPrincipalLister.ListCalls())

type PrincipalsGetterMock

type PrincipalsGetterMock struct {
	// PrincipalsFunc mocks the Principals method.
	PrincipalsFunc func(namespace string) v3.PrincipalInterface
	// contains filtered or unexported fields
}

PrincipalsGetterMock is a mock implementation of PrincipalsGetter.

    func TestSomethingThatUsesPrincipalsGetter(t *testing.T) {

        // make and configure a mocked PrincipalsGetter
        mockedPrincipalsGetter := &PrincipalsGetterMock{
            PrincipalsFunc: func(namespace string) v3.PrincipalInterface {
	               panic("mock out the Principals method")
            },
        }

        // use mockedPrincipalsGetter in code that requires PrincipalsGetter
        // and then make assertions.

    }

func (*PrincipalsGetterMock) Principals

func (mock *PrincipalsGetterMock) Principals(namespace string) v3.PrincipalInterface

Principals calls PrincipalsFunc.

func (*PrincipalsGetterMock) PrincipalsCalls

func (mock *PrincipalsGetterMock) PrincipalsCalls() []struct {
	Namespace string
}

PrincipalsCalls gets all the calls that were made to Principals. Check the length with:

len(mockedPrincipalsGetter.PrincipalsCalls())

type ProjectAlertControllerMock

type ProjectAlertControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectAlertHandlerFunc)

	// 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.ProjectAlertLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectAlertControllerMock is a mock implementation of ProjectAlertController.

    func TestSomethingThatUsesProjectAlertController(t *testing.T) {

        // make and configure a mocked ProjectAlertController
        mockedProjectAlertController := &ProjectAlertControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectAlertHandlerFunc)  {
	               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.ProjectAlertLister {
	               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 mockedProjectAlertController in code that requires ProjectAlertController
        // and then make assertions.

    }

func (*ProjectAlertControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectAlertControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectAlertControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectAlertControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectAlertHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectAlertController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectAlertControllerMock) AddClusterScopedHandler

func (mock *ProjectAlertControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectAlertControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectAlertControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectAlertHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectAlertController.AddClusterScopedHandlerCalls())

func (*ProjectAlertControllerMock) AddFeatureHandler

func (mock *ProjectAlertControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectAlertControllerMock) AddFeatureHandlerCalls

func (mock *ProjectAlertControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectAlertHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectAlertController.AddFeatureHandlerCalls())

func (*ProjectAlertControllerMock) AddHandler

func (mock *ProjectAlertControllerMock) AddHandler(ctx context.Context, name string, handler v3.ProjectAlertHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ProjectAlertControllerMock) AddHandlerCalls

func (mock *ProjectAlertControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectAlertHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectAlertController.AddHandlerCalls())

func (*ProjectAlertControllerMock) Enqueue

func (mock *ProjectAlertControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectAlertControllerMock) EnqueueAfter

func (mock *ProjectAlertControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectAlertControllerMock) EnqueueAfterCalls

func (mock *ProjectAlertControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectAlertController.EnqueueAfterCalls())

func (*ProjectAlertControllerMock) EnqueueCalls

func (mock *ProjectAlertControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectAlertController.EnqueueCalls())

func (*ProjectAlertControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectAlertControllerMock) GenericCalls

func (mock *ProjectAlertControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectAlertController.GenericCalls())

func (*ProjectAlertControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectAlertControllerMock) InformerCalls

func (mock *ProjectAlertControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectAlertController.InformerCalls())

func (*ProjectAlertControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectAlertControllerMock) ListerCalls

func (mock *ProjectAlertControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectAlertController.ListerCalls())

func (*ProjectAlertControllerMock) Start

func (mock *ProjectAlertControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectAlertControllerMock) StartCalls

func (mock *ProjectAlertControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectAlertController.StartCalls())

func (*ProjectAlertControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectAlertControllerMock) SyncCalls

func (mock *ProjectAlertControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectAlertController.SyncCalls())

type ProjectAlertGroupControllerMock

type ProjectAlertGroupControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertGroupHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectAlertGroupHandlerFunc)

	// 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.ProjectAlertGroupLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectAlertGroupControllerMock is a mock implementation of ProjectAlertGroupController.

    func TestSomethingThatUsesProjectAlertGroupController(t *testing.T) {

        // make and configure a mocked ProjectAlertGroupController
        mockedProjectAlertGroupController := &ProjectAlertGroupControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectAlertGroupHandlerFunc)  {
	               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.ProjectAlertGroupLister {
	               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 mockedProjectAlertGroupController in code that requires ProjectAlertGroupController
        // and then make assertions.

    }

func (*ProjectAlertGroupControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectAlertGroupControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectAlertGroupControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectAlertGroupControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectAlertGroupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectAlertGroupController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectAlertGroupControllerMock) AddClusterScopedHandler

func (mock *ProjectAlertGroupControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectAlertGroupControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectAlertGroupControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectAlertGroupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectAlertGroupController.AddClusterScopedHandlerCalls())

func (*ProjectAlertGroupControllerMock) AddFeatureHandler

func (mock *ProjectAlertGroupControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertGroupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectAlertGroupControllerMock) AddFeatureHandlerCalls

func (mock *ProjectAlertGroupControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectAlertGroupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectAlertGroupController.AddFeatureHandlerCalls())

func (*ProjectAlertGroupControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectAlertGroupControllerMock) AddHandlerCalls

func (mock *ProjectAlertGroupControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectAlertGroupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectAlertGroupController.AddHandlerCalls())

func (*ProjectAlertGroupControllerMock) Enqueue

func (mock *ProjectAlertGroupControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectAlertGroupControllerMock) EnqueueAfter

func (mock *ProjectAlertGroupControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectAlertGroupControllerMock) EnqueueAfterCalls

func (mock *ProjectAlertGroupControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectAlertGroupController.EnqueueAfterCalls())

func (*ProjectAlertGroupControllerMock) EnqueueCalls

func (mock *ProjectAlertGroupControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectAlertGroupController.EnqueueCalls())

func (*ProjectAlertGroupControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectAlertGroupControllerMock) GenericCalls

func (mock *ProjectAlertGroupControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectAlertGroupController.GenericCalls())

func (*ProjectAlertGroupControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectAlertGroupControllerMock) InformerCalls

func (mock *ProjectAlertGroupControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectAlertGroupController.InformerCalls())

func (*ProjectAlertGroupControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectAlertGroupControllerMock) ListerCalls

func (mock *ProjectAlertGroupControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectAlertGroupController.ListerCalls())

func (*ProjectAlertGroupControllerMock) Start

func (mock *ProjectAlertGroupControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectAlertGroupControllerMock) StartCalls

func (mock *ProjectAlertGroupControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectAlertGroupController.StartCalls())

func (*ProjectAlertGroupControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectAlertGroupControllerMock) SyncCalls

func (mock *ProjectAlertGroupControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectAlertGroupController.SyncCalls())

type ProjectAlertGroupInterfaceMock

type ProjectAlertGroupInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertGroupHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertGroupLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertGroupHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertGroupLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertGroupHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertGroupLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectAlertGroupHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectAlertGroupLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectAlertGroupController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectAlertGroup) (*v3.ProjectAlertGroup, 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.ProjectAlertGroup, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlertGroup, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectAlertGroupList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectAlertGroupList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectAlertGroup) (*v3.ProjectAlertGroup, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectAlertGroupInterfaceMock is a mock implementation of ProjectAlertGroupInterface.

    func TestSomethingThatUsesProjectAlertGroupInterface(t *testing.T) {

        // make and configure a mocked ProjectAlertGroupInterface
        mockedProjectAlertGroupInterface := &ProjectAlertGroupInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertGroupLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertGroupLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertGroupLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectAlertGroupLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectAlertGroupController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectAlertGroup) (*v3.ProjectAlertGroup, 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.ProjectAlertGroup, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlertGroup, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectAlertGroupList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectAlertGroupList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectAlertGroup) (*v3.ProjectAlertGroup, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectAlertGroupInterface in code that requires ProjectAlertGroupInterface
        // and then make assertions.

    }

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertGroupHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectAlertGroupHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectAlertGroupInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertGroupLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectAlertGroupLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectAlertGroupInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedHandler

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertGroupHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectAlertGroupHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectAlertGroupInterface.AddClusterScopedHandlerCalls())

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertGroupLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectAlertGroupInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectAlertGroupInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectAlertGroupLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectAlertGroupInterface.AddClusterScopedLifecycleCalls())

func (*ProjectAlertGroupInterfaceMock) AddFeatureHandler

func (mock *ProjectAlertGroupInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertGroupHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectAlertGroupInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectAlertGroupInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectAlertGroupHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectAlertGroupInterface.AddFeatureHandlerCalls())

func (*ProjectAlertGroupInterfaceMock) AddFeatureLifecycle

func (mock *ProjectAlertGroupInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertGroupLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectAlertGroupInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectAlertGroupInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectAlertGroupLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectAlertGroupInterface.AddFeatureLifecycleCalls())

func (*ProjectAlertGroupInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectAlertGroupInterfaceMock) AddHandlerCalls

func (mock *ProjectAlertGroupInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectAlertGroupHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectAlertGroupInterface.AddHandlerCalls())

func (*ProjectAlertGroupInterfaceMock) AddLifecycle

func (mock *ProjectAlertGroupInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectAlertGroupLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectAlertGroupInterfaceMock) AddLifecycleCalls

func (mock *ProjectAlertGroupInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectAlertGroupLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectAlertGroupInterface.AddLifecycleCalls())

func (*ProjectAlertGroupInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectAlertGroupInterfaceMock) ControllerCalls

func (mock *ProjectAlertGroupInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectAlertGroupInterface.ControllerCalls())

func (*ProjectAlertGroupInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectAlertGroupInterfaceMock) CreateCalls

func (mock *ProjectAlertGroupInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectAlertGroup
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectAlertGroupInterface.CreateCalls())

func (*ProjectAlertGroupInterfaceMock) Delete

func (mock *ProjectAlertGroupInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectAlertGroupInterfaceMock) DeleteCalls

func (mock *ProjectAlertGroupInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectAlertGroupInterface.DeleteCalls())

func (*ProjectAlertGroupInterfaceMock) DeleteCollection

func (mock *ProjectAlertGroupInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectAlertGroupInterfaceMock) DeleteCollectionCalls

func (mock *ProjectAlertGroupInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectAlertGroupInterface.DeleteCollectionCalls())

func (*ProjectAlertGroupInterfaceMock) DeleteNamespaced

func (mock *ProjectAlertGroupInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectAlertGroupInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectAlertGroupInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectAlertGroupInterface.DeleteNamespacedCalls())

func (*ProjectAlertGroupInterfaceMock) Get

Get calls GetFunc.

func (*ProjectAlertGroupInterfaceMock) GetCalls

func (mock *ProjectAlertGroupInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectAlertGroupInterface.GetCalls())

func (*ProjectAlertGroupInterfaceMock) GetNamespaced

func (mock *ProjectAlertGroupInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlertGroup, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectAlertGroupInterfaceMock) GetNamespacedCalls

func (mock *ProjectAlertGroupInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectAlertGroupInterface.GetNamespacedCalls())

func (*ProjectAlertGroupInterfaceMock) List

List calls ListFunc.

func (*ProjectAlertGroupInterfaceMock) ListCalls

func (mock *ProjectAlertGroupInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectAlertGroupInterface.ListCalls())

func (*ProjectAlertGroupInterfaceMock) ListNamespaced

func (mock *ProjectAlertGroupInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectAlertGroupList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectAlertGroupInterfaceMock) ListNamespacedCalls

func (mock *ProjectAlertGroupInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectAlertGroupInterface.ListNamespacedCalls())

func (*ProjectAlertGroupInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectAlertGroupInterfaceMock) ObjectClientCalls

func (mock *ProjectAlertGroupInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectAlertGroupInterface.ObjectClientCalls())

func (*ProjectAlertGroupInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectAlertGroupInterfaceMock) UpdateCalls

func (mock *ProjectAlertGroupInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectAlertGroup
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectAlertGroupInterface.UpdateCalls())

func (*ProjectAlertGroupInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectAlertGroupInterfaceMock) WatchCalls

func (mock *ProjectAlertGroupInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectAlertGroupInterface.WatchCalls())

type ProjectAlertGroupListerMock

type ProjectAlertGroupListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectAlertGroup, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectAlertGroup, error)
	// contains filtered or unexported fields
}

ProjectAlertGroupListerMock is a mock implementation of ProjectAlertGroupLister.

    func TestSomethingThatUsesProjectAlertGroupLister(t *testing.T) {

        // make and configure a mocked ProjectAlertGroupLister
        mockedProjectAlertGroupLister := &ProjectAlertGroupListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectAlertGroup, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectAlertGroup, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectAlertGroupLister in code that requires ProjectAlertGroupLister
        // and then make assertions.

    }

func (*ProjectAlertGroupListerMock) Get

func (mock *ProjectAlertGroupListerMock) Get(namespace string, name string) (*v3.ProjectAlertGroup, error)

Get calls GetFunc.

func (*ProjectAlertGroupListerMock) GetCalls

func (mock *ProjectAlertGroupListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectAlertGroupLister.GetCalls())

func (*ProjectAlertGroupListerMock) List

func (mock *ProjectAlertGroupListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectAlertGroup, error)

List calls ListFunc.

func (*ProjectAlertGroupListerMock) ListCalls

func (mock *ProjectAlertGroupListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectAlertGroupLister.ListCalls())

type ProjectAlertGroupsGetterMock

type ProjectAlertGroupsGetterMock struct {
	// ProjectAlertGroupsFunc mocks the ProjectAlertGroups method.
	ProjectAlertGroupsFunc func(namespace string) v3.ProjectAlertGroupInterface
	// contains filtered or unexported fields
}

ProjectAlertGroupsGetterMock is a mock implementation of ProjectAlertGroupsGetter.

    func TestSomethingThatUsesProjectAlertGroupsGetter(t *testing.T) {

        // make and configure a mocked ProjectAlertGroupsGetter
        mockedProjectAlertGroupsGetter := &ProjectAlertGroupsGetterMock{
            ProjectAlertGroupsFunc: func(namespace string) v3.ProjectAlertGroupInterface {
	               panic("mock out the ProjectAlertGroups method")
            },
        }

        // use mockedProjectAlertGroupsGetter in code that requires ProjectAlertGroupsGetter
        // and then make assertions.

    }

func (*ProjectAlertGroupsGetterMock) ProjectAlertGroups

func (mock *ProjectAlertGroupsGetterMock) ProjectAlertGroups(namespace string) v3.ProjectAlertGroupInterface

ProjectAlertGroups calls ProjectAlertGroupsFunc.

func (*ProjectAlertGroupsGetterMock) ProjectAlertGroupsCalls

func (mock *ProjectAlertGroupsGetterMock) ProjectAlertGroupsCalls() []struct {
	Namespace string
}

ProjectAlertGroupsCalls gets all the calls that were made to ProjectAlertGroups. Check the length with:

len(mockedProjectAlertGroupsGetter.ProjectAlertGroupsCalls())

type ProjectAlertInterfaceMock

type ProjectAlertInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectAlertHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectAlertLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectAlertController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectAlert) (*v3.ProjectAlert, 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.ProjectAlert, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlert, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectAlertList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectAlertList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectAlert) (*v3.ProjectAlert, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectAlertInterfaceMock is a mock implementation of ProjectAlertInterface.

    func TestSomethingThatUsesProjectAlertInterface(t *testing.T) {

        // make and configure a mocked ProjectAlertInterface
        mockedProjectAlertInterface := &ProjectAlertInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectAlertLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectAlertController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectAlert) (*v3.ProjectAlert, 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.ProjectAlert, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlert, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectAlertList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectAlertList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectAlert) (*v3.ProjectAlert, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectAlertInterface in code that requires ProjectAlertInterface
        // and then make assertions.

    }

func (*ProjectAlertInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectAlertInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectAlertInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectAlertInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectAlertHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectAlertInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectAlertInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectAlertInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectAlertInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectAlertInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectAlertLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectAlertInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectAlertInterfaceMock) AddClusterScopedHandler

func (mock *ProjectAlertInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectAlertInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectAlertInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectAlertHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectAlertInterface.AddClusterScopedHandlerCalls())

func (*ProjectAlertInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectAlertInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectAlertInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectAlertInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectAlertLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectAlertInterface.AddClusterScopedLifecycleCalls())

func (*ProjectAlertInterfaceMock) AddFeatureHandler

func (mock *ProjectAlertInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectAlertInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectAlertInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectAlertHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectAlertInterface.AddFeatureHandlerCalls())

func (*ProjectAlertInterfaceMock) AddFeatureLifecycle

func (mock *ProjectAlertInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectAlertInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectAlertInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectAlertLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectAlertInterface.AddFeatureLifecycleCalls())

func (*ProjectAlertInterfaceMock) AddHandler

func (mock *ProjectAlertInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ProjectAlertHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ProjectAlertInterfaceMock) AddHandlerCalls

func (mock *ProjectAlertInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectAlertHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectAlertInterface.AddHandlerCalls())

func (*ProjectAlertInterfaceMock) AddLifecycle

func (mock *ProjectAlertInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectAlertLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectAlertInterfaceMock) AddLifecycleCalls

func (mock *ProjectAlertInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectAlertLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectAlertInterface.AddLifecycleCalls())

func (*ProjectAlertInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectAlertInterfaceMock) ControllerCalls

func (mock *ProjectAlertInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectAlertInterface.ControllerCalls())

func (*ProjectAlertInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectAlertInterfaceMock) CreateCalls

func (mock *ProjectAlertInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectAlert
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectAlertInterface.CreateCalls())

func (*ProjectAlertInterfaceMock) Delete

func (mock *ProjectAlertInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectAlertInterfaceMock) DeleteCalls

func (mock *ProjectAlertInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectAlertInterface.DeleteCalls())

func (*ProjectAlertInterfaceMock) DeleteCollection

func (mock *ProjectAlertInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectAlertInterfaceMock) DeleteCollectionCalls

func (mock *ProjectAlertInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectAlertInterface.DeleteCollectionCalls())

func (*ProjectAlertInterfaceMock) DeleteNamespaced

func (mock *ProjectAlertInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectAlertInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectAlertInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectAlertInterface.DeleteNamespacedCalls())

func (*ProjectAlertInterfaceMock) Get

Get calls GetFunc.

func (*ProjectAlertInterfaceMock) GetCalls

func (mock *ProjectAlertInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectAlertInterface.GetCalls())

func (*ProjectAlertInterfaceMock) GetNamespaced

func (mock *ProjectAlertInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlert, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectAlertInterfaceMock) GetNamespacedCalls

func (mock *ProjectAlertInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectAlertInterface.GetNamespacedCalls())

func (*ProjectAlertInterfaceMock) List

List calls ListFunc.

func (*ProjectAlertInterfaceMock) ListCalls

func (mock *ProjectAlertInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectAlertInterface.ListCalls())

func (*ProjectAlertInterfaceMock) ListNamespaced

func (mock *ProjectAlertInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectAlertList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectAlertInterfaceMock) ListNamespacedCalls

func (mock *ProjectAlertInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectAlertInterface.ListNamespacedCalls())

func (*ProjectAlertInterfaceMock) ObjectClient

func (mock *ProjectAlertInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectAlertInterfaceMock) ObjectClientCalls

func (mock *ProjectAlertInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectAlertInterface.ObjectClientCalls())

func (*ProjectAlertInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectAlertInterfaceMock) UpdateCalls

func (mock *ProjectAlertInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectAlert
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectAlertInterface.UpdateCalls())

func (*ProjectAlertInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectAlertInterfaceMock) WatchCalls

func (mock *ProjectAlertInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectAlertInterface.WatchCalls())

type ProjectAlertListerMock

type ProjectAlertListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectAlert, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectAlert, error)
	// contains filtered or unexported fields
}

ProjectAlertListerMock is a mock implementation of ProjectAlertLister.

    func TestSomethingThatUsesProjectAlertLister(t *testing.T) {

        // make and configure a mocked ProjectAlertLister
        mockedProjectAlertLister := &ProjectAlertListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectAlert, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectAlert, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectAlertLister in code that requires ProjectAlertLister
        // and then make assertions.

    }

func (*ProjectAlertListerMock) Get

func (mock *ProjectAlertListerMock) Get(namespace string, name string) (*v3.ProjectAlert, error)

Get calls GetFunc.

func (*ProjectAlertListerMock) GetCalls

func (mock *ProjectAlertListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectAlertLister.GetCalls())

func (*ProjectAlertListerMock) List

func (mock *ProjectAlertListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectAlert, error)

List calls ListFunc.

func (*ProjectAlertListerMock) ListCalls

func (mock *ProjectAlertListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectAlertLister.ListCalls())

type ProjectAlertRuleControllerMock

type ProjectAlertRuleControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertRuleHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectAlertRuleHandlerFunc)

	// 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.ProjectAlertRuleLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectAlertRuleControllerMock is a mock implementation of ProjectAlertRuleController.

    func TestSomethingThatUsesProjectAlertRuleController(t *testing.T) {

        // make and configure a mocked ProjectAlertRuleController
        mockedProjectAlertRuleController := &ProjectAlertRuleControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectAlertRuleHandlerFunc)  {
	               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.ProjectAlertRuleLister {
	               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 mockedProjectAlertRuleController in code that requires ProjectAlertRuleController
        // and then make assertions.

    }

func (*ProjectAlertRuleControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectAlertRuleControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectAlertRuleControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectAlertRuleControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectAlertRuleHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectAlertRuleController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectAlertRuleControllerMock) AddClusterScopedHandler

func (mock *ProjectAlertRuleControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectAlertRuleControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectAlertRuleControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectAlertRuleHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectAlertRuleController.AddClusterScopedHandlerCalls())

func (*ProjectAlertRuleControllerMock) AddFeatureHandler

func (mock *ProjectAlertRuleControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertRuleHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectAlertRuleControllerMock) AddFeatureHandlerCalls

func (mock *ProjectAlertRuleControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectAlertRuleHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectAlertRuleController.AddFeatureHandlerCalls())

func (*ProjectAlertRuleControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectAlertRuleControllerMock) AddHandlerCalls

func (mock *ProjectAlertRuleControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectAlertRuleHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectAlertRuleController.AddHandlerCalls())

func (*ProjectAlertRuleControllerMock) Enqueue

func (mock *ProjectAlertRuleControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectAlertRuleControllerMock) EnqueueAfter

func (mock *ProjectAlertRuleControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectAlertRuleControllerMock) EnqueueAfterCalls

func (mock *ProjectAlertRuleControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectAlertRuleController.EnqueueAfterCalls())

func (*ProjectAlertRuleControllerMock) EnqueueCalls

func (mock *ProjectAlertRuleControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectAlertRuleController.EnqueueCalls())

func (*ProjectAlertRuleControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectAlertRuleControllerMock) GenericCalls

func (mock *ProjectAlertRuleControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectAlertRuleController.GenericCalls())

func (*ProjectAlertRuleControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectAlertRuleControllerMock) InformerCalls

func (mock *ProjectAlertRuleControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectAlertRuleController.InformerCalls())

func (*ProjectAlertRuleControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectAlertRuleControllerMock) ListerCalls

func (mock *ProjectAlertRuleControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectAlertRuleController.ListerCalls())

func (*ProjectAlertRuleControllerMock) Start

func (mock *ProjectAlertRuleControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectAlertRuleControllerMock) StartCalls

func (mock *ProjectAlertRuleControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectAlertRuleController.StartCalls())

func (*ProjectAlertRuleControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectAlertRuleControllerMock) SyncCalls

func (mock *ProjectAlertRuleControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectAlertRuleController.SyncCalls())

type ProjectAlertRuleInterfaceMock

type ProjectAlertRuleInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertRuleHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertRuleLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertRuleHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertRuleLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertRuleHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertRuleLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectAlertRuleHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectAlertRuleLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectAlertRuleController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectAlertRule) (*v3.ProjectAlertRule, 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.ProjectAlertRule, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlertRule, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectAlertRuleList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectAlertRuleList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectAlertRule) (*v3.ProjectAlertRule, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectAlertRuleInterfaceMock is a mock implementation of ProjectAlertRuleInterface.

    func TestSomethingThatUsesProjectAlertRuleInterface(t *testing.T) {

        // make and configure a mocked ProjectAlertRuleInterface
        mockedProjectAlertRuleInterface := &ProjectAlertRuleInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertRuleLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertRuleLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertRuleLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectAlertRuleLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectAlertRuleController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectAlertRule) (*v3.ProjectAlertRule, 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.ProjectAlertRule, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlertRule, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectAlertRuleList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectAlertRuleList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectAlertRule) (*v3.ProjectAlertRule, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectAlertRuleInterface in code that requires ProjectAlertRuleInterface
        // and then make assertions.

    }

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectAlertRuleHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectAlertRuleHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectAlertRuleInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectAlertRuleLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectAlertRuleLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectAlertRuleInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedHandler

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectAlertRuleHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectAlertRuleHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectAlertRuleInterface.AddClusterScopedHandlerCalls())

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectAlertRuleLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectAlertRuleInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectAlertRuleInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectAlertRuleLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectAlertRuleInterface.AddClusterScopedLifecycleCalls())

func (*ProjectAlertRuleInterfaceMock) AddFeatureHandler

func (mock *ProjectAlertRuleInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectAlertRuleHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectAlertRuleInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectAlertRuleInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectAlertRuleHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectAlertRuleInterface.AddFeatureHandlerCalls())

func (*ProjectAlertRuleInterfaceMock) AddFeatureLifecycle

func (mock *ProjectAlertRuleInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectAlertRuleLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectAlertRuleInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectAlertRuleInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectAlertRuleLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectAlertRuleInterface.AddFeatureLifecycleCalls())

func (*ProjectAlertRuleInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectAlertRuleInterfaceMock) AddHandlerCalls

func (mock *ProjectAlertRuleInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectAlertRuleHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectAlertRuleInterface.AddHandlerCalls())

func (*ProjectAlertRuleInterfaceMock) AddLifecycle

func (mock *ProjectAlertRuleInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectAlertRuleLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectAlertRuleInterfaceMock) AddLifecycleCalls

func (mock *ProjectAlertRuleInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectAlertRuleLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectAlertRuleInterface.AddLifecycleCalls())

func (*ProjectAlertRuleInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectAlertRuleInterfaceMock) ControllerCalls

func (mock *ProjectAlertRuleInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectAlertRuleInterface.ControllerCalls())

func (*ProjectAlertRuleInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectAlertRuleInterfaceMock) CreateCalls

func (mock *ProjectAlertRuleInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectAlertRule
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectAlertRuleInterface.CreateCalls())

func (*ProjectAlertRuleInterfaceMock) Delete

func (mock *ProjectAlertRuleInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectAlertRuleInterfaceMock) DeleteCalls

func (mock *ProjectAlertRuleInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectAlertRuleInterface.DeleteCalls())

func (*ProjectAlertRuleInterfaceMock) DeleteCollection

func (mock *ProjectAlertRuleInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectAlertRuleInterfaceMock) DeleteCollectionCalls

func (mock *ProjectAlertRuleInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectAlertRuleInterface.DeleteCollectionCalls())

func (*ProjectAlertRuleInterfaceMock) DeleteNamespaced

func (mock *ProjectAlertRuleInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectAlertRuleInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectAlertRuleInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectAlertRuleInterface.DeleteNamespacedCalls())

func (*ProjectAlertRuleInterfaceMock) Get

Get calls GetFunc.

func (*ProjectAlertRuleInterfaceMock) GetCalls

func (mock *ProjectAlertRuleInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectAlertRuleInterface.GetCalls())

func (*ProjectAlertRuleInterfaceMock) GetNamespaced

func (mock *ProjectAlertRuleInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectAlertRule, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectAlertRuleInterfaceMock) GetNamespacedCalls

func (mock *ProjectAlertRuleInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectAlertRuleInterface.GetNamespacedCalls())

func (*ProjectAlertRuleInterfaceMock) List

List calls ListFunc.

func (*ProjectAlertRuleInterfaceMock) ListCalls

func (mock *ProjectAlertRuleInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectAlertRuleInterface.ListCalls())

func (*ProjectAlertRuleInterfaceMock) ListNamespaced

func (mock *ProjectAlertRuleInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectAlertRuleList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectAlertRuleInterfaceMock) ListNamespacedCalls

func (mock *ProjectAlertRuleInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectAlertRuleInterface.ListNamespacedCalls())

func (*ProjectAlertRuleInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectAlertRuleInterfaceMock) ObjectClientCalls

func (mock *ProjectAlertRuleInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectAlertRuleInterface.ObjectClientCalls())

func (*ProjectAlertRuleInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectAlertRuleInterfaceMock) UpdateCalls

func (mock *ProjectAlertRuleInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectAlertRule
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectAlertRuleInterface.UpdateCalls())

func (*ProjectAlertRuleInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectAlertRuleInterfaceMock) WatchCalls

func (mock *ProjectAlertRuleInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectAlertRuleInterface.WatchCalls())

type ProjectAlertRuleListerMock

type ProjectAlertRuleListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectAlertRule, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectAlertRule, error)
	// contains filtered or unexported fields
}

ProjectAlertRuleListerMock is a mock implementation of ProjectAlertRuleLister.

    func TestSomethingThatUsesProjectAlertRuleLister(t *testing.T) {

        // make and configure a mocked ProjectAlertRuleLister
        mockedProjectAlertRuleLister := &ProjectAlertRuleListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectAlertRule, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectAlertRule, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectAlertRuleLister in code that requires ProjectAlertRuleLister
        // and then make assertions.

    }

func (*ProjectAlertRuleListerMock) Get

func (mock *ProjectAlertRuleListerMock) Get(namespace string, name string) (*v3.ProjectAlertRule, error)

Get calls GetFunc.

func (*ProjectAlertRuleListerMock) GetCalls

func (mock *ProjectAlertRuleListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectAlertRuleLister.GetCalls())

func (*ProjectAlertRuleListerMock) List

func (mock *ProjectAlertRuleListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectAlertRule, error)

List calls ListFunc.

func (*ProjectAlertRuleListerMock) ListCalls

func (mock *ProjectAlertRuleListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectAlertRuleLister.ListCalls())

type ProjectAlertRulesGetterMock

type ProjectAlertRulesGetterMock struct {
	// ProjectAlertRulesFunc mocks the ProjectAlertRules method.
	ProjectAlertRulesFunc func(namespace string) v3.ProjectAlertRuleInterface
	// contains filtered or unexported fields
}

ProjectAlertRulesGetterMock is a mock implementation of ProjectAlertRulesGetter.

    func TestSomethingThatUsesProjectAlertRulesGetter(t *testing.T) {

        // make and configure a mocked ProjectAlertRulesGetter
        mockedProjectAlertRulesGetter := &ProjectAlertRulesGetterMock{
            ProjectAlertRulesFunc: func(namespace string) v3.ProjectAlertRuleInterface {
	               panic("mock out the ProjectAlertRules method")
            },
        }

        // use mockedProjectAlertRulesGetter in code that requires ProjectAlertRulesGetter
        // and then make assertions.

    }

func (*ProjectAlertRulesGetterMock) ProjectAlertRules

func (mock *ProjectAlertRulesGetterMock) ProjectAlertRules(namespace string) v3.ProjectAlertRuleInterface

ProjectAlertRules calls ProjectAlertRulesFunc.

func (*ProjectAlertRulesGetterMock) ProjectAlertRulesCalls

func (mock *ProjectAlertRulesGetterMock) ProjectAlertRulesCalls() []struct {
	Namespace string
}

ProjectAlertRulesCalls gets all the calls that were made to ProjectAlertRules. Check the length with:

len(mockedProjectAlertRulesGetter.ProjectAlertRulesCalls())

type ProjectAlertsGetterMock

type ProjectAlertsGetterMock struct {
	// ProjectAlertsFunc mocks the ProjectAlerts method.
	ProjectAlertsFunc func(namespace string) v3.ProjectAlertInterface
	// contains filtered or unexported fields
}

ProjectAlertsGetterMock is a mock implementation of ProjectAlertsGetter.

    func TestSomethingThatUsesProjectAlertsGetter(t *testing.T) {

        // make and configure a mocked ProjectAlertsGetter
        mockedProjectAlertsGetter := &ProjectAlertsGetterMock{
            ProjectAlertsFunc: func(namespace string) v3.ProjectAlertInterface {
	               panic("mock out the ProjectAlerts method")
            },
        }

        // use mockedProjectAlertsGetter in code that requires ProjectAlertsGetter
        // and then make assertions.

    }

func (*ProjectAlertsGetterMock) ProjectAlerts

func (mock *ProjectAlertsGetterMock) ProjectAlerts(namespace string) v3.ProjectAlertInterface

ProjectAlerts calls ProjectAlertsFunc.

func (*ProjectAlertsGetterMock) ProjectAlertsCalls

func (mock *ProjectAlertsGetterMock) ProjectAlertsCalls() []struct {
	Namespace string
}

ProjectAlertsCalls gets all the calls that were made to ProjectAlerts. Check the length with:

len(mockedProjectAlertsGetter.ProjectAlertsCalls())

type ProjectCatalogControllerMock

type ProjectCatalogControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectCatalogHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectCatalogHandlerFunc)

	// 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.ProjectCatalogLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectCatalogControllerMock is a mock implementation of ProjectCatalogController.

    func TestSomethingThatUsesProjectCatalogController(t *testing.T) {

        // make and configure a mocked ProjectCatalogController
        mockedProjectCatalogController := &ProjectCatalogControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectCatalogHandlerFunc)  {
	               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.ProjectCatalogLister {
	               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 mockedProjectCatalogController in code that requires ProjectCatalogController
        // and then make assertions.

    }

func (*ProjectCatalogControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectCatalogControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectCatalogControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectCatalogControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectCatalogHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectCatalogController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectCatalogControllerMock) AddClusterScopedHandler

func (mock *ProjectCatalogControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectCatalogControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectCatalogControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectCatalogHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectCatalogController.AddClusterScopedHandlerCalls())

func (*ProjectCatalogControllerMock) AddFeatureHandler

func (mock *ProjectCatalogControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectCatalogHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectCatalogControllerMock) AddFeatureHandlerCalls

func (mock *ProjectCatalogControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectCatalogHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectCatalogController.AddFeatureHandlerCalls())

func (*ProjectCatalogControllerMock) AddHandler

func (mock *ProjectCatalogControllerMock) AddHandler(ctx context.Context, name string, handler v3.ProjectCatalogHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ProjectCatalogControllerMock) AddHandlerCalls

func (mock *ProjectCatalogControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectCatalogHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectCatalogController.AddHandlerCalls())

func (*ProjectCatalogControllerMock) Enqueue

func (mock *ProjectCatalogControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectCatalogControllerMock) EnqueueAfter

func (mock *ProjectCatalogControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectCatalogControllerMock) EnqueueAfterCalls

func (mock *ProjectCatalogControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectCatalogController.EnqueueAfterCalls())

func (*ProjectCatalogControllerMock) EnqueueCalls

func (mock *ProjectCatalogControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectCatalogController.EnqueueCalls())

func (*ProjectCatalogControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectCatalogControllerMock) GenericCalls

func (mock *ProjectCatalogControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectCatalogController.GenericCalls())

func (*ProjectCatalogControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectCatalogControllerMock) InformerCalls

func (mock *ProjectCatalogControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectCatalogController.InformerCalls())

func (*ProjectCatalogControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectCatalogControllerMock) ListerCalls

func (mock *ProjectCatalogControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectCatalogController.ListerCalls())

func (*ProjectCatalogControllerMock) Start

func (mock *ProjectCatalogControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectCatalogControllerMock) StartCalls

func (mock *ProjectCatalogControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectCatalogController.StartCalls())

func (*ProjectCatalogControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectCatalogControllerMock) SyncCalls

func (mock *ProjectCatalogControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectCatalogController.SyncCalls())

type ProjectCatalogInterfaceMock

type ProjectCatalogInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectCatalogHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectCatalogLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectCatalogHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectCatalogLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectCatalogHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectCatalogLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectCatalogHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectCatalogLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectCatalogController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectCatalog) (*v3.ProjectCatalog, 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.ProjectCatalog, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectCatalog, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectCatalogList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectCatalogList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectCatalog) (*v3.ProjectCatalog, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectCatalogInterfaceMock is a mock implementation of ProjectCatalogInterface.

    func TestSomethingThatUsesProjectCatalogInterface(t *testing.T) {

        // make and configure a mocked ProjectCatalogInterface
        mockedProjectCatalogInterface := &ProjectCatalogInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectCatalogLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectCatalogLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectCatalogLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectCatalogLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectCatalogController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectCatalog) (*v3.ProjectCatalog, 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.ProjectCatalog, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectCatalog, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectCatalogList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectCatalogList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectCatalog) (*v3.ProjectCatalog, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectCatalogInterface in code that requires ProjectCatalogInterface
        // and then make assertions.

    }

func (*ProjectCatalogInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectCatalogHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectCatalogInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectCatalogHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectCatalogInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectCatalogInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectCatalogLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectCatalogInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectCatalogLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectCatalogInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectCatalogInterfaceMock) AddClusterScopedHandler

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectCatalogHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectCatalogInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectCatalogHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectCatalogInterface.AddClusterScopedHandlerCalls())

func (*ProjectCatalogInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectCatalogLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectCatalogInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectCatalogInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectCatalogLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectCatalogInterface.AddClusterScopedLifecycleCalls())

func (*ProjectCatalogInterfaceMock) AddFeatureHandler

func (mock *ProjectCatalogInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectCatalogHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectCatalogInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectCatalogInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectCatalogHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectCatalogInterface.AddFeatureHandlerCalls())

func (*ProjectCatalogInterfaceMock) AddFeatureLifecycle

func (mock *ProjectCatalogInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectCatalogLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectCatalogInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectCatalogInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectCatalogLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectCatalogInterface.AddFeatureLifecycleCalls())

func (*ProjectCatalogInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectCatalogInterfaceMock) AddHandlerCalls

func (mock *ProjectCatalogInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectCatalogHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectCatalogInterface.AddHandlerCalls())

func (*ProjectCatalogInterfaceMock) AddLifecycle

func (mock *ProjectCatalogInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectCatalogLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectCatalogInterfaceMock) AddLifecycleCalls

func (mock *ProjectCatalogInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectCatalogLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectCatalogInterface.AddLifecycleCalls())

func (*ProjectCatalogInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectCatalogInterfaceMock) ControllerCalls

func (mock *ProjectCatalogInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectCatalogInterface.ControllerCalls())

func (*ProjectCatalogInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectCatalogInterfaceMock) CreateCalls

func (mock *ProjectCatalogInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectCatalog
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectCatalogInterface.CreateCalls())

func (*ProjectCatalogInterfaceMock) Delete

func (mock *ProjectCatalogInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectCatalogInterfaceMock) DeleteCalls

func (mock *ProjectCatalogInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectCatalogInterface.DeleteCalls())

func (*ProjectCatalogInterfaceMock) DeleteCollection

func (mock *ProjectCatalogInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectCatalogInterfaceMock) DeleteCollectionCalls

func (mock *ProjectCatalogInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectCatalogInterface.DeleteCollectionCalls())

func (*ProjectCatalogInterfaceMock) DeleteNamespaced

func (mock *ProjectCatalogInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectCatalogInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectCatalogInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectCatalogInterface.DeleteNamespacedCalls())

func (*ProjectCatalogInterfaceMock) Get

Get calls GetFunc.

func (*ProjectCatalogInterfaceMock) GetCalls

func (mock *ProjectCatalogInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectCatalogInterface.GetCalls())

func (*ProjectCatalogInterfaceMock) GetNamespaced

func (mock *ProjectCatalogInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectCatalog, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectCatalogInterfaceMock) GetNamespacedCalls

func (mock *ProjectCatalogInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectCatalogInterface.GetNamespacedCalls())

func (*ProjectCatalogInterfaceMock) List

List calls ListFunc.

func (*ProjectCatalogInterfaceMock) ListCalls

func (mock *ProjectCatalogInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectCatalogInterface.ListCalls())

func (*ProjectCatalogInterfaceMock) ListNamespaced

func (mock *ProjectCatalogInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectCatalogList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectCatalogInterfaceMock) ListNamespacedCalls

func (mock *ProjectCatalogInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectCatalogInterface.ListNamespacedCalls())

func (*ProjectCatalogInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectCatalogInterfaceMock) ObjectClientCalls

func (mock *ProjectCatalogInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectCatalogInterface.ObjectClientCalls())

func (*ProjectCatalogInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectCatalogInterfaceMock) UpdateCalls

func (mock *ProjectCatalogInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectCatalog
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectCatalogInterface.UpdateCalls())

func (*ProjectCatalogInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectCatalogInterfaceMock) WatchCalls

func (mock *ProjectCatalogInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectCatalogInterface.WatchCalls())

type ProjectCatalogListerMock

type ProjectCatalogListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectCatalog, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectCatalog, error)
	// contains filtered or unexported fields
}

ProjectCatalogListerMock is a mock implementation of ProjectCatalogLister.

    func TestSomethingThatUsesProjectCatalogLister(t *testing.T) {

        // make and configure a mocked ProjectCatalogLister
        mockedProjectCatalogLister := &ProjectCatalogListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectCatalog, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectCatalog, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectCatalogLister in code that requires ProjectCatalogLister
        // and then make assertions.

    }

func (*ProjectCatalogListerMock) Get

func (mock *ProjectCatalogListerMock) Get(namespace string, name string) (*v3.ProjectCatalog, error)

Get calls GetFunc.

func (*ProjectCatalogListerMock) GetCalls

func (mock *ProjectCatalogListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectCatalogLister.GetCalls())

func (*ProjectCatalogListerMock) List

func (mock *ProjectCatalogListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectCatalog, error)

List calls ListFunc.

func (*ProjectCatalogListerMock) ListCalls

func (mock *ProjectCatalogListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectCatalogLister.ListCalls())

type ProjectCatalogsGetterMock

type ProjectCatalogsGetterMock struct {
	// ProjectCatalogsFunc mocks the ProjectCatalogs method.
	ProjectCatalogsFunc func(namespace string) v3.ProjectCatalogInterface
	// contains filtered or unexported fields
}

ProjectCatalogsGetterMock is a mock implementation of ProjectCatalogsGetter.

    func TestSomethingThatUsesProjectCatalogsGetter(t *testing.T) {

        // make and configure a mocked ProjectCatalogsGetter
        mockedProjectCatalogsGetter := &ProjectCatalogsGetterMock{
            ProjectCatalogsFunc: func(namespace string) v3.ProjectCatalogInterface {
	               panic("mock out the ProjectCatalogs method")
            },
        }

        // use mockedProjectCatalogsGetter in code that requires ProjectCatalogsGetter
        // and then make assertions.

    }

func (*ProjectCatalogsGetterMock) ProjectCatalogs

func (mock *ProjectCatalogsGetterMock) ProjectCatalogs(namespace string) v3.ProjectCatalogInterface

ProjectCatalogs calls ProjectCatalogsFunc.

func (*ProjectCatalogsGetterMock) ProjectCatalogsCalls

func (mock *ProjectCatalogsGetterMock) ProjectCatalogsCalls() []struct {
	Namespace string
}

ProjectCatalogsCalls gets all the calls that were made to ProjectCatalogs. Check the length with:

len(mockedProjectCatalogsGetter.ProjectCatalogsCalls())

type ProjectControllerMock

type ProjectControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectHandlerFunc)

	// 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.ProjectLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectControllerMock is a mock implementation of ProjectController.

    func TestSomethingThatUsesProjectController(t *testing.T) {

        // make and configure a mocked ProjectController
        mockedProjectController := &ProjectControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectHandlerFunc)  {
	               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.ProjectLister {
	               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 mockedProjectController in code that requires ProjectController
        // and then make assertions.

    }

func (*ProjectControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectControllerMock) AddClusterScopedHandler

func (mock *ProjectControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectController.AddClusterScopedHandlerCalls())

func (*ProjectControllerMock) AddFeatureHandler

func (mock *ProjectControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectControllerMock) AddFeatureHandlerCalls

func (mock *ProjectControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectController.AddFeatureHandlerCalls())

func (*ProjectControllerMock) AddHandler

func (mock *ProjectControllerMock) AddHandler(ctx context.Context, name string, handler v3.ProjectHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ProjectControllerMock) AddHandlerCalls

func (mock *ProjectControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectController.AddHandlerCalls())

func (*ProjectControllerMock) Enqueue

func (mock *ProjectControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectControllerMock) EnqueueAfter

func (mock *ProjectControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectControllerMock) EnqueueAfterCalls

func (mock *ProjectControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectController.EnqueueAfterCalls())

func (*ProjectControllerMock) EnqueueCalls

func (mock *ProjectControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectController.EnqueueCalls())

func (*ProjectControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectControllerMock) GenericCalls

func (mock *ProjectControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectController.GenericCalls())

func (*ProjectControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectControllerMock) InformerCalls

func (mock *ProjectControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectController.InformerCalls())

func (*ProjectControllerMock) Lister

func (mock *ProjectControllerMock) Lister() v3.ProjectLister

Lister calls ListerFunc.

func (*ProjectControllerMock) ListerCalls

func (mock *ProjectControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectController.ListerCalls())

func (*ProjectControllerMock) Start

func (mock *ProjectControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectControllerMock) StartCalls

func (mock *ProjectControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectController.StartCalls())

func (*ProjectControllerMock) Sync

func (mock *ProjectControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*ProjectControllerMock) SyncCalls

func (mock *ProjectControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectController.SyncCalls())

type ProjectInterfaceMock

type ProjectInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Project) (*v3.Project, 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.Project, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Project, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Project) (*v3.Project, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectInterfaceMock is a mock implementation of ProjectInterface.

    func TestSomethingThatUsesProjectInterface(t *testing.T) {

        // make and configure a mocked ProjectInterface
        mockedProjectInterface := &ProjectInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Project) (*v3.Project, 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.Project, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Project, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Project) (*v3.Project, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectInterface in code that requires ProjectInterface
        // and then make assertions.

    }

func (*ProjectInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectInterfaceMock) AddClusterScopedHandler

func (mock *ProjectInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectInterface.AddClusterScopedHandlerCalls())

func (*ProjectInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectInterface.AddClusterScopedLifecycleCalls())

func (*ProjectInterfaceMock) AddFeatureHandler

func (mock *ProjectInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectInterface.AddFeatureHandlerCalls())

func (*ProjectInterfaceMock) AddFeatureLifecycle

func (mock *ProjectInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectInterface.AddFeatureLifecycleCalls())

func (*ProjectInterfaceMock) AddHandler

func (mock *ProjectInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ProjectHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ProjectInterfaceMock) AddHandlerCalls

func (mock *ProjectInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectInterface.AddHandlerCalls())

func (*ProjectInterfaceMock) AddLifecycle

func (mock *ProjectInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectInterfaceMock) AddLifecycleCalls

func (mock *ProjectInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectInterface.AddLifecycleCalls())

func (*ProjectInterfaceMock) Controller

func (mock *ProjectInterfaceMock) Controller() v3.ProjectController

Controller calls ControllerFunc.

func (*ProjectInterfaceMock) ControllerCalls

func (mock *ProjectInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectInterface.ControllerCalls())

func (*ProjectInterfaceMock) Create

func (mock *ProjectInterfaceMock) Create(in1 *v3.Project) (*v3.Project, error)

Create calls CreateFunc.

func (*ProjectInterfaceMock) CreateCalls

func (mock *ProjectInterfaceMock) CreateCalls() []struct {
	In1 *v3.Project
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectInterface.CreateCalls())

func (*ProjectInterfaceMock) Delete

func (mock *ProjectInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectInterfaceMock) DeleteCalls

func (mock *ProjectInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectInterface.DeleteCalls())

func (*ProjectInterfaceMock) DeleteCollection

func (mock *ProjectInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectInterfaceMock) DeleteCollectionCalls

func (mock *ProjectInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectInterface.DeleteCollectionCalls())

func (*ProjectInterfaceMock) DeleteNamespaced

func (mock *ProjectInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectInterface.DeleteNamespacedCalls())

func (*ProjectInterfaceMock) Get

func (mock *ProjectInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Project, error)

Get calls GetFunc.

func (*ProjectInterfaceMock) GetCalls

func (mock *ProjectInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectInterface.GetCalls())

func (*ProjectInterfaceMock) GetNamespaced

func (mock *ProjectInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Project, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectInterfaceMock) GetNamespacedCalls

func (mock *ProjectInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectInterface.GetNamespacedCalls())

func (*ProjectInterfaceMock) List

func (mock *ProjectInterfaceMock) List(opts v1.ListOptions) (*v3.ProjectList, error)

List calls ListFunc.

func (*ProjectInterfaceMock) ListCalls

func (mock *ProjectInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectInterface.ListCalls())

func (*ProjectInterfaceMock) ListNamespaced

func (mock *ProjectInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectInterfaceMock) ListNamespacedCalls

func (mock *ProjectInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectInterface.ListNamespacedCalls())

func (*ProjectInterfaceMock) ObjectClient

func (mock *ProjectInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectInterfaceMock) ObjectClientCalls

func (mock *ProjectInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectInterface.ObjectClientCalls())

func (*ProjectInterfaceMock) Update

func (mock *ProjectInterfaceMock) Update(in1 *v3.Project) (*v3.Project, error)

Update calls UpdateFunc.

func (*ProjectInterfaceMock) UpdateCalls

func (mock *ProjectInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Project
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectInterface.UpdateCalls())

func (*ProjectInterfaceMock) Watch

func (mock *ProjectInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*ProjectInterfaceMock) WatchCalls

func (mock *ProjectInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectInterface.WatchCalls())

type ProjectListerMock

type ProjectListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Project, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Project, error)
	// contains filtered or unexported fields
}

ProjectListerMock is a mock implementation of ProjectLister.

    func TestSomethingThatUsesProjectLister(t *testing.T) {

        // make and configure a mocked ProjectLister
        mockedProjectLister := &ProjectListerMock{
            GetFunc: func(namespace string, name string) (*v3.Project, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Project, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectLister in code that requires ProjectLister
        // and then make assertions.

    }

func (*ProjectListerMock) Get

func (mock *ProjectListerMock) Get(namespace string, name string) (*v3.Project, error)

Get calls GetFunc.

func (*ProjectListerMock) GetCalls

func (mock *ProjectListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectLister.GetCalls())

func (*ProjectListerMock) List

func (mock *ProjectListerMock) List(namespace string, selector labels.Selector) ([]*v3.Project, error)

List calls ListFunc.

func (*ProjectListerMock) ListCalls

func (mock *ProjectListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectLister.ListCalls())

type ProjectLoggingControllerMock

type ProjectLoggingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectLoggingHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectLoggingHandlerFunc)

	// 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.ProjectLoggingLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectLoggingControllerMock is a mock implementation of ProjectLoggingController.

    func TestSomethingThatUsesProjectLoggingController(t *testing.T) {

        // make and configure a mocked ProjectLoggingController
        mockedProjectLoggingController := &ProjectLoggingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectLoggingHandlerFunc)  {
	               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.ProjectLoggingLister {
	               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 mockedProjectLoggingController in code that requires ProjectLoggingController
        // and then make assertions.

    }

func (*ProjectLoggingControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectLoggingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectLoggingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectLoggingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectLoggingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectLoggingController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectLoggingControllerMock) AddClusterScopedHandler

func (mock *ProjectLoggingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectLoggingControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectLoggingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectLoggingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectLoggingController.AddClusterScopedHandlerCalls())

func (*ProjectLoggingControllerMock) AddFeatureHandler

func (mock *ProjectLoggingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectLoggingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectLoggingControllerMock) AddFeatureHandlerCalls

func (mock *ProjectLoggingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectLoggingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectLoggingController.AddFeatureHandlerCalls())

func (*ProjectLoggingControllerMock) AddHandler

func (mock *ProjectLoggingControllerMock) AddHandler(ctx context.Context, name string, handler v3.ProjectLoggingHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ProjectLoggingControllerMock) AddHandlerCalls

func (mock *ProjectLoggingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectLoggingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectLoggingController.AddHandlerCalls())

func (*ProjectLoggingControllerMock) Enqueue

func (mock *ProjectLoggingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectLoggingControllerMock) EnqueueAfter

func (mock *ProjectLoggingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectLoggingControllerMock) EnqueueAfterCalls

func (mock *ProjectLoggingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectLoggingController.EnqueueAfterCalls())

func (*ProjectLoggingControllerMock) EnqueueCalls

func (mock *ProjectLoggingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectLoggingController.EnqueueCalls())

func (*ProjectLoggingControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectLoggingControllerMock) GenericCalls

func (mock *ProjectLoggingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectLoggingController.GenericCalls())

func (*ProjectLoggingControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectLoggingControllerMock) InformerCalls

func (mock *ProjectLoggingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectLoggingController.InformerCalls())

func (*ProjectLoggingControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectLoggingControllerMock) ListerCalls

func (mock *ProjectLoggingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectLoggingController.ListerCalls())

func (*ProjectLoggingControllerMock) Start

func (mock *ProjectLoggingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectLoggingControllerMock) StartCalls

func (mock *ProjectLoggingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectLoggingController.StartCalls())

func (*ProjectLoggingControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectLoggingControllerMock) SyncCalls

func (mock *ProjectLoggingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectLoggingController.SyncCalls())

type ProjectLoggingInterfaceMock

type ProjectLoggingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectLoggingHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectLoggingLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectLoggingHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectLoggingLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectLoggingHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectLoggingLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectLoggingHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectLoggingLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectLoggingController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectLogging) (*v3.ProjectLogging, 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.ProjectLogging, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectLogging, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectLoggingList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectLoggingList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectLogging) (*v3.ProjectLogging, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectLoggingInterfaceMock is a mock implementation of ProjectLoggingInterface.

    func TestSomethingThatUsesProjectLoggingInterface(t *testing.T) {

        // make and configure a mocked ProjectLoggingInterface
        mockedProjectLoggingInterface := &ProjectLoggingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectLoggingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectLoggingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectLoggingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectLoggingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectLoggingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectLogging) (*v3.ProjectLogging, 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.ProjectLogging, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectLogging, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectLoggingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectLoggingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectLogging) (*v3.ProjectLogging, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectLoggingInterface in code that requires ProjectLoggingInterface
        // and then make assertions.

    }

func (*ProjectLoggingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectLoggingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectLoggingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectLoggingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectLoggingInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectLoggingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectLoggingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectLoggingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectLoggingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectLoggingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectLoggingInterfaceMock) AddClusterScopedHandler

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectLoggingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectLoggingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectLoggingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectLoggingInterface.AddClusterScopedHandlerCalls())

func (*ProjectLoggingInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectLoggingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectLoggingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectLoggingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectLoggingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectLoggingInterface.AddClusterScopedLifecycleCalls())

func (*ProjectLoggingInterfaceMock) AddFeatureHandler

func (mock *ProjectLoggingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectLoggingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectLoggingInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectLoggingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectLoggingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectLoggingInterface.AddFeatureHandlerCalls())

func (*ProjectLoggingInterfaceMock) AddFeatureLifecycle

func (mock *ProjectLoggingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectLoggingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectLoggingInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectLoggingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectLoggingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectLoggingInterface.AddFeatureLifecycleCalls())

func (*ProjectLoggingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectLoggingInterfaceMock) AddHandlerCalls

func (mock *ProjectLoggingInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectLoggingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectLoggingInterface.AddHandlerCalls())

func (*ProjectLoggingInterfaceMock) AddLifecycle

func (mock *ProjectLoggingInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectLoggingLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectLoggingInterfaceMock) AddLifecycleCalls

func (mock *ProjectLoggingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectLoggingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectLoggingInterface.AddLifecycleCalls())

func (*ProjectLoggingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectLoggingInterfaceMock) ControllerCalls

func (mock *ProjectLoggingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectLoggingInterface.ControllerCalls())

func (*ProjectLoggingInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectLoggingInterfaceMock) CreateCalls

func (mock *ProjectLoggingInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectLogging
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectLoggingInterface.CreateCalls())

func (*ProjectLoggingInterfaceMock) Delete

func (mock *ProjectLoggingInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectLoggingInterfaceMock) DeleteCalls

func (mock *ProjectLoggingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectLoggingInterface.DeleteCalls())

func (*ProjectLoggingInterfaceMock) DeleteCollection

func (mock *ProjectLoggingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectLoggingInterfaceMock) DeleteCollectionCalls

func (mock *ProjectLoggingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectLoggingInterface.DeleteCollectionCalls())

func (*ProjectLoggingInterfaceMock) DeleteNamespaced

func (mock *ProjectLoggingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectLoggingInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectLoggingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectLoggingInterface.DeleteNamespacedCalls())

func (*ProjectLoggingInterfaceMock) Get

Get calls GetFunc.

func (*ProjectLoggingInterfaceMock) GetCalls

func (mock *ProjectLoggingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectLoggingInterface.GetCalls())

func (*ProjectLoggingInterfaceMock) GetNamespaced

func (mock *ProjectLoggingInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectLogging, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectLoggingInterfaceMock) GetNamespacedCalls

func (mock *ProjectLoggingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectLoggingInterface.GetNamespacedCalls())

func (*ProjectLoggingInterfaceMock) List

List calls ListFunc.

func (*ProjectLoggingInterfaceMock) ListCalls

func (mock *ProjectLoggingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectLoggingInterface.ListCalls())

func (*ProjectLoggingInterfaceMock) ListNamespaced

func (mock *ProjectLoggingInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectLoggingList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectLoggingInterfaceMock) ListNamespacedCalls

func (mock *ProjectLoggingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectLoggingInterface.ListNamespacedCalls())

func (*ProjectLoggingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectLoggingInterfaceMock) ObjectClientCalls

func (mock *ProjectLoggingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectLoggingInterface.ObjectClientCalls())

func (*ProjectLoggingInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectLoggingInterfaceMock) UpdateCalls

func (mock *ProjectLoggingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectLogging
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectLoggingInterface.UpdateCalls())

func (*ProjectLoggingInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectLoggingInterfaceMock) WatchCalls

func (mock *ProjectLoggingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectLoggingInterface.WatchCalls())

type ProjectLoggingListerMock

type ProjectLoggingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectLogging, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectLogging, error)
	// contains filtered or unexported fields
}

ProjectLoggingListerMock is a mock implementation of ProjectLoggingLister.

    func TestSomethingThatUsesProjectLoggingLister(t *testing.T) {

        // make and configure a mocked ProjectLoggingLister
        mockedProjectLoggingLister := &ProjectLoggingListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectLogging, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectLogging, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectLoggingLister in code that requires ProjectLoggingLister
        // and then make assertions.

    }

func (*ProjectLoggingListerMock) Get

func (mock *ProjectLoggingListerMock) Get(namespace string, name string) (*v3.ProjectLogging, error)

Get calls GetFunc.

func (*ProjectLoggingListerMock) GetCalls

func (mock *ProjectLoggingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectLoggingLister.GetCalls())

func (*ProjectLoggingListerMock) List

func (mock *ProjectLoggingListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectLogging, error)

List calls ListFunc.

func (*ProjectLoggingListerMock) ListCalls

func (mock *ProjectLoggingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectLoggingLister.ListCalls())

type ProjectLoggingsGetterMock

type ProjectLoggingsGetterMock struct {
	// ProjectLoggingsFunc mocks the ProjectLoggings method.
	ProjectLoggingsFunc func(namespace string) v3.ProjectLoggingInterface
	// contains filtered or unexported fields
}

ProjectLoggingsGetterMock is a mock implementation of ProjectLoggingsGetter.

    func TestSomethingThatUsesProjectLoggingsGetter(t *testing.T) {

        // make and configure a mocked ProjectLoggingsGetter
        mockedProjectLoggingsGetter := &ProjectLoggingsGetterMock{
            ProjectLoggingsFunc: func(namespace string) v3.ProjectLoggingInterface {
	               panic("mock out the ProjectLoggings method")
            },
        }

        // use mockedProjectLoggingsGetter in code that requires ProjectLoggingsGetter
        // and then make assertions.

    }

func (*ProjectLoggingsGetterMock) ProjectLoggings

func (mock *ProjectLoggingsGetterMock) ProjectLoggings(namespace string) v3.ProjectLoggingInterface

ProjectLoggings calls ProjectLoggingsFunc.

func (*ProjectLoggingsGetterMock) ProjectLoggingsCalls

func (mock *ProjectLoggingsGetterMock) ProjectLoggingsCalls() []struct {
	Namespace string
}

ProjectLoggingsCalls gets all the calls that were made to ProjectLoggings. Check the length with:

len(mockedProjectLoggingsGetter.ProjectLoggingsCalls())

type ProjectMonitorGraphControllerMock

type ProjectMonitorGraphControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectMonitorGraphHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectMonitorGraphHandlerFunc)

	// 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.ProjectMonitorGraphLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectMonitorGraphControllerMock is a mock implementation of ProjectMonitorGraphController.

    func TestSomethingThatUsesProjectMonitorGraphController(t *testing.T) {

        // make and configure a mocked ProjectMonitorGraphController
        mockedProjectMonitorGraphController := &ProjectMonitorGraphControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectMonitorGraphHandlerFunc)  {
	               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.ProjectMonitorGraphLister {
	               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 mockedProjectMonitorGraphController in code that requires ProjectMonitorGraphController
        // and then make assertions.

    }

func (*ProjectMonitorGraphControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectMonitorGraphControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectMonitorGraphControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectMonitorGraphControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectMonitorGraphHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectMonitorGraphController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectMonitorGraphControllerMock) AddClusterScopedHandler

func (mock *ProjectMonitorGraphControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectMonitorGraphControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectMonitorGraphControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectMonitorGraphHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectMonitorGraphController.AddClusterScopedHandlerCalls())

func (*ProjectMonitorGraphControllerMock) AddFeatureHandler

func (mock *ProjectMonitorGraphControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectMonitorGraphHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectMonitorGraphControllerMock) AddFeatureHandlerCalls

func (mock *ProjectMonitorGraphControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectMonitorGraphHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectMonitorGraphController.AddFeatureHandlerCalls())

func (*ProjectMonitorGraphControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectMonitorGraphControllerMock) AddHandlerCalls

func (mock *ProjectMonitorGraphControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectMonitorGraphHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectMonitorGraphController.AddHandlerCalls())

func (*ProjectMonitorGraphControllerMock) Enqueue

func (mock *ProjectMonitorGraphControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectMonitorGraphControllerMock) EnqueueAfter

func (mock *ProjectMonitorGraphControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectMonitorGraphControllerMock) EnqueueAfterCalls

func (mock *ProjectMonitorGraphControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectMonitorGraphController.EnqueueAfterCalls())

func (*ProjectMonitorGraphControllerMock) EnqueueCalls

func (mock *ProjectMonitorGraphControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectMonitorGraphController.EnqueueCalls())

func (*ProjectMonitorGraphControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectMonitorGraphControllerMock) GenericCalls

func (mock *ProjectMonitorGraphControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectMonitorGraphController.GenericCalls())

func (*ProjectMonitorGraphControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectMonitorGraphControllerMock) InformerCalls

func (mock *ProjectMonitorGraphControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectMonitorGraphController.InformerCalls())

func (*ProjectMonitorGraphControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectMonitorGraphControllerMock) ListerCalls

func (mock *ProjectMonitorGraphControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectMonitorGraphController.ListerCalls())

func (*ProjectMonitorGraphControllerMock) Start

func (mock *ProjectMonitorGraphControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectMonitorGraphControllerMock) StartCalls

func (mock *ProjectMonitorGraphControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectMonitorGraphController.StartCalls())

func (*ProjectMonitorGraphControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectMonitorGraphControllerMock) SyncCalls

func (mock *ProjectMonitorGraphControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectMonitorGraphController.SyncCalls())

type ProjectMonitorGraphInterfaceMock

type ProjectMonitorGraphInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectMonitorGraphHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectMonitorGraphLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectMonitorGraphHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectMonitorGraphLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectMonitorGraphHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectMonitorGraphLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectMonitorGraphHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectMonitorGraphLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectMonitorGraphController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectMonitorGraph) (*v3.ProjectMonitorGraph, 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.ProjectMonitorGraph, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectMonitorGraph, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectMonitorGraphList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectMonitorGraphList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectMonitorGraph) (*v3.ProjectMonitorGraph, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectMonitorGraphInterfaceMock is a mock implementation of ProjectMonitorGraphInterface.

    func TestSomethingThatUsesProjectMonitorGraphInterface(t *testing.T) {

        // make and configure a mocked ProjectMonitorGraphInterface
        mockedProjectMonitorGraphInterface := &ProjectMonitorGraphInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectMonitorGraphLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectMonitorGraphLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectMonitorGraphLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectMonitorGraphLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectMonitorGraphController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectMonitorGraph) (*v3.ProjectMonitorGraph, 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.ProjectMonitorGraph, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectMonitorGraph, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectMonitorGraphList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectMonitorGraphList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectMonitorGraph) (*v3.ProjectMonitorGraph, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectMonitorGraphInterface in code that requires ProjectMonitorGraphInterface
        // and then make assertions.

    }

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectMonitorGraphHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectMonitorGraphHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectMonitorGraphInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectMonitorGraphLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectMonitorGraphLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectMonitorGraphInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedHandler

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectMonitorGraphHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectMonitorGraphHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectMonitorGraphInterface.AddClusterScopedHandlerCalls())

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectMonitorGraphLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectMonitorGraphInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectMonitorGraphLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectMonitorGraphInterface.AddClusterScopedLifecycleCalls())

func (*ProjectMonitorGraphInterfaceMock) AddFeatureHandler

func (mock *ProjectMonitorGraphInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectMonitorGraphHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectMonitorGraphInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectMonitorGraphHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectMonitorGraphInterface.AddFeatureHandlerCalls())

func (*ProjectMonitorGraphInterfaceMock) AddFeatureLifecycle

func (mock *ProjectMonitorGraphInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectMonitorGraphLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectMonitorGraphInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectMonitorGraphLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectMonitorGraphInterface.AddFeatureLifecycleCalls())

func (*ProjectMonitorGraphInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectMonitorGraphInterfaceMock) AddHandlerCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectMonitorGraphHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectMonitorGraphInterface.AddHandlerCalls())

func (*ProjectMonitorGraphInterfaceMock) AddLifecycle

func (mock *ProjectMonitorGraphInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ProjectMonitorGraphLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ProjectMonitorGraphInterfaceMock) AddLifecycleCalls

func (mock *ProjectMonitorGraphInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectMonitorGraphLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectMonitorGraphInterface.AddLifecycleCalls())

func (*ProjectMonitorGraphInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectMonitorGraphInterfaceMock) ControllerCalls

func (mock *ProjectMonitorGraphInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectMonitorGraphInterface.ControllerCalls())

func (*ProjectMonitorGraphInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectMonitorGraphInterfaceMock) CreateCalls

func (mock *ProjectMonitorGraphInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectMonitorGraph
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectMonitorGraphInterface.CreateCalls())

func (*ProjectMonitorGraphInterfaceMock) Delete

func (mock *ProjectMonitorGraphInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectMonitorGraphInterfaceMock) DeleteCalls

func (mock *ProjectMonitorGraphInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectMonitorGraphInterface.DeleteCalls())

func (*ProjectMonitorGraphInterfaceMock) DeleteCollection

func (mock *ProjectMonitorGraphInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectMonitorGraphInterfaceMock) DeleteCollectionCalls

func (mock *ProjectMonitorGraphInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectMonitorGraphInterface.DeleteCollectionCalls())

func (*ProjectMonitorGraphInterfaceMock) DeleteNamespaced

func (mock *ProjectMonitorGraphInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectMonitorGraphInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectMonitorGraphInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectMonitorGraphInterface.DeleteNamespacedCalls())

func (*ProjectMonitorGraphInterfaceMock) Get

Get calls GetFunc.

func (*ProjectMonitorGraphInterfaceMock) GetCalls

func (mock *ProjectMonitorGraphInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectMonitorGraphInterface.GetCalls())

func (*ProjectMonitorGraphInterfaceMock) GetNamespaced

func (mock *ProjectMonitorGraphInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectMonitorGraph, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectMonitorGraphInterfaceMock) GetNamespacedCalls

func (mock *ProjectMonitorGraphInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectMonitorGraphInterface.GetNamespacedCalls())

func (*ProjectMonitorGraphInterfaceMock) List

List calls ListFunc.

func (*ProjectMonitorGraphInterfaceMock) ListCalls

func (mock *ProjectMonitorGraphInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectMonitorGraphInterface.ListCalls())

func (*ProjectMonitorGraphInterfaceMock) ListNamespaced

func (mock *ProjectMonitorGraphInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectMonitorGraphList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectMonitorGraphInterfaceMock) ListNamespacedCalls

func (mock *ProjectMonitorGraphInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectMonitorGraphInterface.ListNamespacedCalls())

func (*ProjectMonitorGraphInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectMonitorGraphInterfaceMock) ObjectClientCalls

func (mock *ProjectMonitorGraphInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectMonitorGraphInterface.ObjectClientCalls())

func (*ProjectMonitorGraphInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectMonitorGraphInterfaceMock) UpdateCalls

func (mock *ProjectMonitorGraphInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectMonitorGraph
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectMonitorGraphInterface.UpdateCalls())

func (*ProjectMonitorGraphInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectMonitorGraphInterfaceMock) WatchCalls

func (mock *ProjectMonitorGraphInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectMonitorGraphInterface.WatchCalls())

type ProjectMonitorGraphListerMock

type ProjectMonitorGraphListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectMonitorGraph, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectMonitorGraph, error)
	// contains filtered or unexported fields
}

ProjectMonitorGraphListerMock is a mock implementation of ProjectMonitorGraphLister.

    func TestSomethingThatUsesProjectMonitorGraphLister(t *testing.T) {

        // make and configure a mocked ProjectMonitorGraphLister
        mockedProjectMonitorGraphLister := &ProjectMonitorGraphListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectMonitorGraph, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectMonitorGraph, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectMonitorGraphLister in code that requires ProjectMonitorGraphLister
        // and then make assertions.

    }

func (*ProjectMonitorGraphListerMock) Get

func (mock *ProjectMonitorGraphListerMock) Get(namespace string, name string) (*v3.ProjectMonitorGraph, error)

Get calls GetFunc.

func (*ProjectMonitorGraphListerMock) GetCalls

func (mock *ProjectMonitorGraphListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectMonitorGraphLister.GetCalls())

func (*ProjectMonitorGraphListerMock) List

func (mock *ProjectMonitorGraphListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectMonitorGraph, error)

List calls ListFunc.

func (*ProjectMonitorGraphListerMock) ListCalls

func (mock *ProjectMonitorGraphListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectMonitorGraphLister.ListCalls())

type ProjectMonitorGraphsGetterMock

type ProjectMonitorGraphsGetterMock struct {
	// ProjectMonitorGraphsFunc mocks the ProjectMonitorGraphs method.
	ProjectMonitorGraphsFunc func(namespace string) v3.ProjectMonitorGraphInterface
	// contains filtered or unexported fields
}

ProjectMonitorGraphsGetterMock is a mock implementation of ProjectMonitorGraphsGetter.

    func TestSomethingThatUsesProjectMonitorGraphsGetter(t *testing.T) {

        // make and configure a mocked ProjectMonitorGraphsGetter
        mockedProjectMonitorGraphsGetter := &ProjectMonitorGraphsGetterMock{
            ProjectMonitorGraphsFunc: func(namespace string) v3.ProjectMonitorGraphInterface {
	               panic("mock out the ProjectMonitorGraphs method")
            },
        }

        // use mockedProjectMonitorGraphsGetter in code that requires ProjectMonitorGraphsGetter
        // and then make assertions.

    }

func (*ProjectMonitorGraphsGetterMock) ProjectMonitorGraphs

func (mock *ProjectMonitorGraphsGetterMock) ProjectMonitorGraphs(namespace string) v3.ProjectMonitorGraphInterface

ProjectMonitorGraphs calls ProjectMonitorGraphsFunc.

func (*ProjectMonitorGraphsGetterMock) ProjectMonitorGraphsCalls

func (mock *ProjectMonitorGraphsGetterMock) ProjectMonitorGraphsCalls() []struct {
	Namespace string
}

ProjectMonitorGraphsCalls gets all the calls that were made to ProjectMonitorGraphs. Check the length with:

len(mockedProjectMonitorGraphsGetter.ProjectMonitorGraphsCalls())

type ProjectNetworkPoliciesGetterMock

type ProjectNetworkPoliciesGetterMock struct {
	// ProjectNetworkPoliciesFunc mocks the ProjectNetworkPolicies method.
	ProjectNetworkPoliciesFunc func(namespace string) v3.ProjectNetworkPolicyInterface
	// contains filtered or unexported fields
}

ProjectNetworkPoliciesGetterMock is a mock implementation of ProjectNetworkPoliciesGetter.

    func TestSomethingThatUsesProjectNetworkPoliciesGetter(t *testing.T) {

        // make and configure a mocked ProjectNetworkPoliciesGetter
        mockedProjectNetworkPoliciesGetter := &ProjectNetworkPoliciesGetterMock{
            ProjectNetworkPoliciesFunc: func(namespace string) v3.ProjectNetworkPolicyInterface {
	               panic("mock out the ProjectNetworkPolicies method")
            },
        }

        // use mockedProjectNetworkPoliciesGetter in code that requires ProjectNetworkPoliciesGetter
        // and then make assertions.

    }

func (*ProjectNetworkPoliciesGetterMock) ProjectNetworkPolicies

func (mock *ProjectNetworkPoliciesGetterMock) ProjectNetworkPolicies(namespace string) v3.ProjectNetworkPolicyInterface

ProjectNetworkPolicies calls ProjectNetworkPoliciesFunc.

func (*ProjectNetworkPoliciesGetterMock) ProjectNetworkPoliciesCalls

func (mock *ProjectNetworkPoliciesGetterMock) ProjectNetworkPoliciesCalls() []struct {
	Namespace string
}

ProjectNetworkPoliciesCalls gets all the calls that were made to ProjectNetworkPolicies. Check the length with:

len(mockedProjectNetworkPoliciesGetter.ProjectNetworkPoliciesCalls())

type ProjectNetworkPolicyControllerMock

type ProjectNetworkPolicyControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectNetworkPolicyHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectNetworkPolicyHandlerFunc)

	// 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.ProjectNetworkPolicyLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectNetworkPolicyControllerMock is a mock implementation of ProjectNetworkPolicyController.

    func TestSomethingThatUsesProjectNetworkPolicyController(t *testing.T) {

        // make and configure a mocked ProjectNetworkPolicyController
        mockedProjectNetworkPolicyController := &ProjectNetworkPolicyControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectNetworkPolicyHandlerFunc)  {
	               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.ProjectNetworkPolicyLister {
	               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 mockedProjectNetworkPolicyController in code that requires ProjectNetworkPolicyController
        // and then make assertions.

    }

func (*ProjectNetworkPolicyControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectNetworkPolicyControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectNetworkPolicyControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectNetworkPolicyControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectNetworkPolicyHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectNetworkPolicyController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectNetworkPolicyControllerMock) AddClusterScopedHandler

func (mock *ProjectNetworkPolicyControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectNetworkPolicyControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectNetworkPolicyControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectNetworkPolicyHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectNetworkPolicyController.AddClusterScopedHandlerCalls())

func (*ProjectNetworkPolicyControllerMock) AddFeatureHandler

func (mock *ProjectNetworkPolicyControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectNetworkPolicyHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectNetworkPolicyControllerMock) AddFeatureHandlerCalls

func (mock *ProjectNetworkPolicyControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectNetworkPolicyHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectNetworkPolicyController.AddFeatureHandlerCalls())

func (*ProjectNetworkPolicyControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectNetworkPolicyControllerMock) AddHandlerCalls

func (mock *ProjectNetworkPolicyControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectNetworkPolicyHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectNetworkPolicyController.AddHandlerCalls())

func (*ProjectNetworkPolicyControllerMock) Enqueue

func (mock *ProjectNetworkPolicyControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectNetworkPolicyControllerMock) EnqueueAfter

func (mock *ProjectNetworkPolicyControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectNetworkPolicyControllerMock) EnqueueAfterCalls

func (mock *ProjectNetworkPolicyControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectNetworkPolicyController.EnqueueAfterCalls())

func (*ProjectNetworkPolicyControllerMock) EnqueueCalls

func (mock *ProjectNetworkPolicyControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectNetworkPolicyController.EnqueueCalls())

func (*ProjectNetworkPolicyControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectNetworkPolicyControllerMock) GenericCalls

func (mock *ProjectNetworkPolicyControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectNetworkPolicyController.GenericCalls())

func (*ProjectNetworkPolicyControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectNetworkPolicyControllerMock) InformerCalls

func (mock *ProjectNetworkPolicyControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectNetworkPolicyController.InformerCalls())

func (*ProjectNetworkPolicyControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectNetworkPolicyControllerMock) ListerCalls

func (mock *ProjectNetworkPolicyControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectNetworkPolicyController.ListerCalls())

func (*ProjectNetworkPolicyControllerMock) Start

func (mock *ProjectNetworkPolicyControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectNetworkPolicyControllerMock) StartCalls

func (mock *ProjectNetworkPolicyControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectNetworkPolicyController.StartCalls())

func (*ProjectNetworkPolicyControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectNetworkPolicyControllerMock) SyncCalls

func (mock *ProjectNetworkPolicyControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectNetworkPolicyController.SyncCalls())

type ProjectNetworkPolicyInterfaceMock

type ProjectNetworkPolicyInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectNetworkPolicyHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectNetworkPolicyLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectNetworkPolicyHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectNetworkPolicyLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectNetworkPolicyHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectNetworkPolicyLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectNetworkPolicyHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectNetworkPolicyLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectNetworkPolicyController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectNetworkPolicy) (*v3.ProjectNetworkPolicy, 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.ProjectNetworkPolicy, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectNetworkPolicy, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectNetworkPolicyList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectNetworkPolicyList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectNetworkPolicy) (*v3.ProjectNetworkPolicy, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectNetworkPolicyInterfaceMock is a mock implementation of ProjectNetworkPolicyInterface.

    func TestSomethingThatUsesProjectNetworkPolicyInterface(t *testing.T) {

        // make and configure a mocked ProjectNetworkPolicyInterface
        mockedProjectNetworkPolicyInterface := &ProjectNetworkPolicyInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectNetworkPolicyLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectNetworkPolicyLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectNetworkPolicyLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectNetworkPolicyLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectNetworkPolicyController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectNetworkPolicy) (*v3.ProjectNetworkPolicy, 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.ProjectNetworkPolicy, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectNetworkPolicy, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectNetworkPolicyList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectNetworkPolicyList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectNetworkPolicy) (*v3.ProjectNetworkPolicy, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectNetworkPolicyInterface in code that requires ProjectNetworkPolicyInterface
        // and then make assertions.

    }

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectNetworkPolicyHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectNetworkPolicyHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectNetworkPolicyLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectNetworkPolicyLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedHandler

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectNetworkPolicyHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectNetworkPolicyHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddClusterScopedHandlerCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectNetworkPolicyLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectNetworkPolicyLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddClusterScopedLifecycleCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddFeatureHandler

func (mock *ProjectNetworkPolicyInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectNetworkPolicyHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectNetworkPolicyHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddFeatureHandlerCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddFeatureLifecycle

func (mock *ProjectNetworkPolicyInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectNetworkPolicyLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectNetworkPolicyLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddFeatureLifecycleCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddHandlerCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ProjectNetworkPolicyHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddHandlerCalls())

func (*ProjectNetworkPolicyInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*ProjectNetworkPolicyInterfaceMock) AddLifecycleCalls

func (mock *ProjectNetworkPolicyInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectNetworkPolicyLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectNetworkPolicyInterface.AddLifecycleCalls())

func (*ProjectNetworkPolicyInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectNetworkPolicyInterfaceMock) ControllerCalls

func (mock *ProjectNetworkPolicyInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectNetworkPolicyInterface.ControllerCalls())

func (*ProjectNetworkPolicyInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectNetworkPolicyInterfaceMock) CreateCalls

func (mock *ProjectNetworkPolicyInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectNetworkPolicy
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectNetworkPolicyInterface.CreateCalls())

func (*ProjectNetworkPolicyInterfaceMock) Delete

func (mock *ProjectNetworkPolicyInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ProjectNetworkPolicyInterfaceMock) DeleteCalls

func (mock *ProjectNetworkPolicyInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectNetworkPolicyInterface.DeleteCalls())

func (*ProjectNetworkPolicyInterfaceMock) DeleteCollection

func (mock *ProjectNetworkPolicyInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectNetworkPolicyInterfaceMock) DeleteCollectionCalls

func (mock *ProjectNetworkPolicyInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectNetworkPolicyInterface.DeleteCollectionCalls())

func (*ProjectNetworkPolicyInterfaceMock) DeleteNamespaced

func (mock *ProjectNetworkPolicyInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectNetworkPolicyInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectNetworkPolicyInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectNetworkPolicyInterface.DeleteNamespacedCalls())

func (*ProjectNetworkPolicyInterfaceMock) Get

Get calls GetFunc.

func (*ProjectNetworkPolicyInterfaceMock) GetCalls

func (mock *ProjectNetworkPolicyInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectNetworkPolicyInterface.GetCalls())

func (*ProjectNetworkPolicyInterfaceMock) GetNamespaced

func (mock *ProjectNetworkPolicyInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ProjectNetworkPolicy, error)

GetNamespaced calls GetNamespacedFunc.

func (*ProjectNetworkPolicyInterfaceMock) GetNamespacedCalls

func (mock *ProjectNetworkPolicyInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectNetworkPolicyInterface.GetNamespacedCalls())

func (*ProjectNetworkPolicyInterfaceMock) List

List calls ListFunc.

func (*ProjectNetworkPolicyInterfaceMock) ListCalls

func (mock *ProjectNetworkPolicyInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectNetworkPolicyInterface.ListCalls())

func (*ProjectNetworkPolicyInterfaceMock) ListNamespaced

func (mock *ProjectNetworkPolicyInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ProjectNetworkPolicyList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ProjectNetworkPolicyInterfaceMock) ListNamespacedCalls

func (mock *ProjectNetworkPolicyInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectNetworkPolicyInterface.ListNamespacedCalls())

func (*ProjectNetworkPolicyInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectNetworkPolicyInterfaceMock) ObjectClientCalls

func (mock *ProjectNetworkPolicyInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectNetworkPolicyInterface.ObjectClientCalls())

func (*ProjectNetworkPolicyInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectNetworkPolicyInterfaceMock) UpdateCalls

func (mock *ProjectNetworkPolicyInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectNetworkPolicy
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectNetworkPolicyInterface.UpdateCalls())

func (*ProjectNetworkPolicyInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectNetworkPolicyInterfaceMock) WatchCalls

func (mock *ProjectNetworkPolicyInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectNetworkPolicyInterface.WatchCalls())

type ProjectNetworkPolicyListerMock

type ProjectNetworkPolicyListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectNetworkPolicy, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectNetworkPolicy, error)
	// contains filtered or unexported fields
}

ProjectNetworkPolicyListerMock is a mock implementation of ProjectNetworkPolicyLister.

    func TestSomethingThatUsesProjectNetworkPolicyLister(t *testing.T) {

        // make and configure a mocked ProjectNetworkPolicyLister
        mockedProjectNetworkPolicyLister := &ProjectNetworkPolicyListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectNetworkPolicy, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectNetworkPolicy, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectNetworkPolicyLister in code that requires ProjectNetworkPolicyLister
        // and then make assertions.

    }

func (*ProjectNetworkPolicyListerMock) Get

Get calls GetFunc.

func (*ProjectNetworkPolicyListerMock) GetCalls

func (mock *ProjectNetworkPolicyListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectNetworkPolicyLister.GetCalls())

func (*ProjectNetworkPolicyListerMock) List

func (mock *ProjectNetworkPolicyListerMock) List(namespace string, selector labels.Selector) ([]*v3.ProjectNetworkPolicy, error)

List calls ListFunc.

func (*ProjectNetworkPolicyListerMock) ListCalls

func (mock *ProjectNetworkPolicyListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectNetworkPolicyLister.ListCalls())

type ProjectRoleTemplateBindingControllerMock

type ProjectRoleTemplateBindingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ProjectRoleTemplateBindingHandlerFunc)

	// 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.ProjectRoleTemplateBindingLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

ProjectRoleTemplateBindingControllerMock is a mock implementation of ProjectRoleTemplateBindingController.

    func TestSomethingThatUsesProjectRoleTemplateBindingController(t *testing.T) {

        // make and configure a mocked ProjectRoleTemplateBindingController
        mockedProjectRoleTemplateBindingController := &ProjectRoleTemplateBindingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               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.ProjectRoleTemplateBindingLister {
	               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 mockedProjectRoleTemplateBindingController in code that requires ProjectRoleTemplateBindingController
        // and then make assertions.

    }

func (*ProjectRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandler

func (mock *ProjectRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectRoleTemplateBindingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ProjectRoleTemplateBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectRoleTemplateBindingController.AddClusterScopedFeatureHandlerCalls())

func (*ProjectRoleTemplateBindingControllerMock) AddClusterScopedHandler

func (mock *ProjectRoleTemplateBindingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectRoleTemplateBindingControllerMock) AddClusterScopedHandlerCalls

func (mock *ProjectRoleTemplateBindingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ProjectRoleTemplateBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectRoleTemplateBindingController.AddClusterScopedHandlerCalls())

func (*ProjectRoleTemplateBindingControllerMock) AddFeatureHandler

func (mock *ProjectRoleTemplateBindingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectRoleTemplateBindingControllerMock) AddFeatureHandlerCalls

func (mock *ProjectRoleTemplateBindingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectRoleTemplateBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectRoleTemplateBindingController.AddFeatureHandlerCalls())

func (*ProjectRoleTemplateBindingControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectRoleTemplateBindingControllerMock) AddHandlerCalls

func (mock *ProjectRoleTemplateBindingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ProjectRoleTemplateBindingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectRoleTemplateBindingController.AddHandlerCalls())

func (*ProjectRoleTemplateBindingControllerMock) Enqueue

func (mock *ProjectRoleTemplateBindingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ProjectRoleTemplateBindingControllerMock) EnqueueAfter

func (mock *ProjectRoleTemplateBindingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ProjectRoleTemplateBindingControllerMock) EnqueueAfterCalls

func (mock *ProjectRoleTemplateBindingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedProjectRoleTemplateBindingController.EnqueueAfterCalls())

func (*ProjectRoleTemplateBindingControllerMock) EnqueueCalls

func (mock *ProjectRoleTemplateBindingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedProjectRoleTemplateBindingController.EnqueueCalls())

func (*ProjectRoleTemplateBindingControllerMock) Generic

Generic calls GenericFunc.

func (*ProjectRoleTemplateBindingControllerMock) GenericCalls

func (mock *ProjectRoleTemplateBindingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedProjectRoleTemplateBindingController.GenericCalls())

func (*ProjectRoleTemplateBindingControllerMock) Informer

Informer calls InformerFunc.

func (*ProjectRoleTemplateBindingControllerMock) InformerCalls

func (mock *ProjectRoleTemplateBindingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedProjectRoleTemplateBindingController.InformerCalls())

func (*ProjectRoleTemplateBindingControllerMock) Lister

Lister calls ListerFunc.

func (*ProjectRoleTemplateBindingControllerMock) ListerCalls

func (mock *ProjectRoleTemplateBindingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedProjectRoleTemplateBindingController.ListerCalls())

func (*ProjectRoleTemplateBindingControllerMock) Start

func (mock *ProjectRoleTemplateBindingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ProjectRoleTemplateBindingControllerMock) StartCalls

func (mock *ProjectRoleTemplateBindingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedProjectRoleTemplateBindingController.StartCalls())

func (*ProjectRoleTemplateBindingControllerMock) Sync

Sync calls SyncFunc.

func (*ProjectRoleTemplateBindingControllerMock) SyncCalls

func (mock *ProjectRoleTemplateBindingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedProjectRoleTemplateBindingController.SyncCalls())

type ProjectRoleTemplateBindingInterfaceMock

type ProjectRoleTemplateBindingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ProjectRoleTemplateBindingController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ProjectRoleTemplateBinding) (*v3.ProjectRoleTemplateBinding, 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.ProjectRoleTemplateBinding, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectRoleTemplateBinding, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ProjectRoleTemplateBindingList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ProjectRoleTemplateBindingList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ProjectRoleTemplateBinding) (*v3.ProjectRoleTemplateBinding, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ProjectRoleTemplateBindingInterfaceMock is a mock implementation of ProjectRoleTemplateBindingInterface.

    func TestSomethingThatUsesProjectRoleTemplateBindingInterface(t *testing.T) {

        // make and configure a mocked ProjectRoleTemplateBindingInterface
        mockedProjectRoleTemplateBindingInterface := &ProjectRoleTemplateBindingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ProjectRoleTemplateBindingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ProjectRoleTemplateBinding) (*v3.ProjectRoleTemplateBinding, 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.ProjectRoleTemplateBinding, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ProjectRoleTemplateBinding, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ProjectRoleTemplateBindingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ProjectRoleTemplateBindingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ProjectRoleTemplateBinding) (*v3.ProjectRoleTemplateBinding, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedProjectRoleTemplateBindingInterface in code that requires ProjectRoleTemplateBindingInterface
        // and then make assertions.

    }

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ProjectRoleTemplateBindingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddClusterScopedFeatureHandlerCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectRoleTemplateBindingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedHandler

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ProjectRoleTemplateBindingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddClusterScopedHandlerCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycle

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ProjectRoleTemplateBindingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddClusterScopedLifecycleCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddFeatureHandler

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ProjectRoleTemplateBindingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddFeatureHandlerCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ProjectRoleTemplateBindingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddFeatureHandlerCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddFeatureLifecycle

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ProjectRoleTemplateBindingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddFeatureLifecycleCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ProjectRoleTemplateBindingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddFeatureLifecycleCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddHandlerCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) AddLifecycleCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ProjectRoleTemplateBindingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.AddLifecycleCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) ControllerCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.ControllerCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) Create

Create calls CreateFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) CreateCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) CreateCalls() []struct {
	In1 *v3.ProjectRoleTemplateBinding
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.CreateCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) Delete

Delete calls DeleteFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) DeleteCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.DeleteCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) DeleteCollection

func (mock *ProjectRoleTemplateBindingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) DeleteCollectionCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.DeleteCollectionCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) DeleteNamespaced

func (mock *ProjectRoleTemplateBindingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) DeleteNamespacedCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.DeleteNamespacedCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) Get

Get calls GetFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) GetCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.GetCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) GetNamespaced

GetNamespaced calls GetNamespacedFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) GetNamespacedCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.GetNamespacedCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) List

List calls ListFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) ListCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.ListCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) ListNamespacedCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.ListNamespacedCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) ObjectClientCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.ObjectClientCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) Update

Update calls UpdateFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) UpdateCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ProjectRoleTemplateBinding
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.UpdateCalls())

func (*ProjectRoleTemplateBindingInterfaceMock) Watch

Watch calls WatchFunc.

func (*ProjectRoleTemplateBindingInterfaceMock) WatchCalls

func (mock *ProjectRoleTemplateBindingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedProjectRoleTemplateBindingInterface.WatchCalls())

type ProjectRoleTemplateBindingListerMock

type ProjectRoleTemplateBindingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ProjectRoleTemplateBinding, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ProjectRoleTemplateBinding, error)
	// contains filtered or unexported fields
}

ProjectRoleTemplateBindingListerMock is a mock implementation of ProjectRoleTemplateBindingLister.

    func TestSomethingThatUsesProjectRoleTemplateBindingLister(t *testing.T) {

        // make and configure a mocked ProjectRoleTemplateBindingLister
        mockedProjectRoleTemplateBindingLister := &ProjectRoleTemplateBindingListerMock{
            GetFunc: func(namespace string, name string) (*v3.ProjectRoleTemplateBinding, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ProjectRoleTemplateBinding, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedProjectRoleTemplateBindingLister in code that requires ProjectRoleTemplateBindingLister
        // and then make assertions.

    }

func (*ProjectRoleTemplateBindingListerMock) Get

Get calls GetFunc.

func (*ProjectRoleTemplateBindingListerMock) GetCalls

func (mock *ProjectRoleTemplateBindingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedProjectRoleTemplateBindingLister.GetCalls())

func (*ProjectRoleTemplateBindingListerMock) List

List calls ListFunc.

func (*ProjectRoleTemplateBindingListerMock) ListCalls

func (mock *ProjectRoleTemplateBindingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedProjectRoleTemplateBindingLister.ListCalls())

type ProjectRoleTemplateBindingsGetterMock

type ProjectRoleTemplateBindingsGetterMock struct {
	// ProjectRoleTemplateBindingsFunc mocks the ProjectRoleTemplateBindings method.
	ProjectRoleTemplateBindingsFunc func(namespace string) v3.ProjectRoleTemplateBindingInterface
	// contains filtered or unexported fields
}

ProjectRoleTemplateBindingsGetterMock is a mock implementation of ProjectRoleTemplateBindingsGetter.

    func TestSomethingThatUsesProjectRoleTemplateBindingsGetter(t *testing.T) {

        // make and configure a mocked ProjectRoleTemplateBindingsGetter
        mockedProjectRoleTemplateBindingsGetter := &ProjectRoleTemplateBindingsGetterMock{
            ProjectRoleTemplateBindingsFunc: func(namespace string) v3.ProjectRoleTemplateBindingInterface {
	               panic("mock out the ProjectRoleTemplateBindings method")
            },
        }

        // use mockedProjectRoleTemplateBindingsGetter in code that requires ProjectRoleTemplateBindingsGetter
        // and then make assertions.

    }

func (*ProjectRoleTemplateBindingsGetterMock) ProjectRoleTemplateBindings

func (mock *ProjectRoleTemplateBindingsGetterMock) ProjectRoleTemplateBindings(namespace string) v3.ProjectRoleTemplateBindingInterface

ProjectRoleTemplateBindings calls ProjectRoleTemplateBindingsFunc.

func (*ProjectRoleTemplateBindingsGetterMock) ProjectRoleTemplateBindingsCalls

func (mock *ProjectRoleTemplateBindingsGetterMock) ProjectRoleTemplateBindingsCalls() []struct {
	Namespace string
}

ProjectRoleTemplateBindingsCalls gets all the calls that were made to ProjectRoleTemplateBindings. Check the length with:

len(mockedProjectRoleTemplateBindingsGetter.ProjectRoleTemplateBindingsCalls())

type ProjectsGetterMock

type ProjectsGetterMock struct {
	// ProjectsFunc mocks the Projects method.
	ProjectsFunc func(namespace string) v3.ProjectInterface
	// contains filtered or unexported fields
}

ProjectsGetterMock is a mock implementation of ProjectsGetter.

    func TestSomethingThatUsesProjectsGetter(t *testing.T) {

        // make and configure a mocked ProjectsGetter
        mockedProjectsGetter := &ProjectsGetterMock{
            ProjectsFunc: func(namespace string) v3.ProjectInterface {
	               panic("mock out the Projects method")
            },
        }

        // use mockedProjectsGetter in code that requires ProjectsGetter
        // and then make assertions.

    }

func (*ProjectsGetterMock) Projects

func (mock *ProjectsGetterMock) Projects(namespace string) v3.ProjectInterface

Projects calls ProjectsFunc.

func (*ProjectsGetterMock) ProjectsCalls

func (mock *ProjectsGetterMock) ProjectsCalls() []struct {
	Namespace string
}

ProjectsCalls gets all the calls that were made to Projects. Check the length with:

len(mockedProjectsGetter.ProjectsCalls())

type RKEAddonControllerMock

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
	// contains filtered or unexported fields
}

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.

    }

func (*RKEAddonControllerMock) AddClusterScopedFeatureHandler

func (mock *RKEAddonControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEAddonHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RKEAddonControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *RKEAddonControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.RKEAddonHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRKEAddonController.AddClusterScopedFeatureHandlerCalls())

func (*RKEAddonControllerMock) AddClusterScopedHandler

func (mock *RKEAddonControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.RKEAddonHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RKEAddonControllerMock) AddClusterScopedHandlerCalls

func (mock *RKEAddonControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.RKEAddonHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRKEAddonController.AddClusterScopedHandlerCalls())

func (*RKEAddonControllerMock) AddFeatureHandler

func (mock *RKEAddonControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RKEAddonControllerMock) AddFeatureHandlerCalls

func (mock *RKEAddonControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RKEAddonHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRKEAddonController.AddFeatureHandlerCalls())

func (*RKEAddonControllerMock) AddHandler

func (mock *RKEAddonControllerMock) AddHandler(ctx context.Context, name string, handler v3.RKEAddonHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*RKEAddonControllerMock) AddHandlerCalls

func (mock *RKEAddonControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.RKEAddonHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRKEAddonController.AddHandlerCalls())

func (*RKEAddonControllerMock) Enqueue

func (mock *RKEAddonControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*RKEAddonControllerMock) EnqueueAfter

func (mock *RKEAddonControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*RKEAddonControllerMock) EnqueueAfterCalls

func (mock *RKEAddonControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedRKEAddonController.EnqueueAfterCalls())

func (*RKEAddonControllerMock) EnqueueCalls

func (mock *RKEAddonControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedRKEAddonController.EnqueueCalls())

func (*RKEAddonControllerMock) Generic

Generic calls GenericFunc.

func (*RKEAddonControllerMock) GenericCalls

func (mock *RKEAddonControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedRKEAddonController.GenericCalls())

func (*RKEAddonControllerMock) Informer

Informer calls InformerFunc.

func (*RKEAddonControllerMock) InformerCalls

func (mock *RKEAddonControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedRKEAddonController.InformerCalls())

func (*RKEAddonControllerMock) Lister

func (mock *RKEAddonControllerMock) Lister() v3.RKEAddonLister

Lister calls ListerFunc.

func (*RKEAddonControllerMock) ListerCalls

func (mock *RKEAddonControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedRKEAddonController.ListerCalls())

func (*RKEAddonControllerMock) Start

func (mock *RKEAddonControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*RKEAddonControllerMock) StartCalls

func (mock *RKEAddonControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedRKEAddonController.StartCalls())

func (*RKEAddonControllerMock) Sync

func (mock *RKEAddonControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*RKEAddonControllerMock) SyncCalls

func (mock *RKEAddonControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedRKEAddonController.SyncCalls())

type RKEAddonInterfaceMock

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)
	// contains filtered or unexported fields
}

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.

    }

func (*RKEAddonInterfaceMock) AddClusterScopedFeatureHandler

func (mock *RKEAddonInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEAddonHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RKEAddonInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *RKEAddonInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.RKEAddonHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRKEAddonInterface.AddClusterScopedFeatureHandlerCalls())

func (*RKEAddonInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *RKEAddonInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RKEAddonLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*RKEAddonInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *RKEAddonInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.RKEAddonLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedRKEAddonInterface.AddClusterScopedFeatureLifecycleCalls())

func (*RKEAddonInterfaceMock) AddClusterScopedHandler

func (mock *RKEAddonInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.RKEAddonHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RKEAddonInterfaceMock) AddClusterScopedHandlerCalls

func (mock *RKEAddonInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.RKEAddonHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRKEAddonInterface.AddClusterScopedHandlerCalls())

func (*RKEAddonInterfaceMock) AddClusterScopedLifecycle

func (mock *RKEAddonInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.RKEAddonLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*RKEAddonInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *RKEAddonInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.RKEAddonLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedRKEAddonInterface.AddClusterScopedLifecycleCalls())

func (*RKEAddonInterfaceMock) AddFeatureHandler

func (mock *RKEAddonInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEAddonHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RKEAddonInterfaceMock) AddFeatureHandlerCalls

func (mock *RKEAddonInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RKEAddonHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRKEAddonInterface.AddFeatureHandlerCalls())

func (*RKEAddonInterfaceMock) AddFeatureLifecycle

func (mock *RKEAddonInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.RKEAddonLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*RKEAddonInterfaceMock) AddFeatureLifecycleCalls

func (mock *RKEAddonInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.RKEAddonLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedRKEAddonInterface.AddFeatureLifecycleCalls())

func (*RKEAddonInterfaceMock) AddHandler

func (mock *RKEAddonInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.RKEAddonHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*RKEAddonInterfaceMock) AddHandlerCalls

func (mock *RKEAddonInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.RKEAddonHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRKEAddonInterface.AddHandlerCalls())

func (*RKEAddonInterfaceMock) AddLifecycle

func (mock *RKEAddonInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.RKEAddonLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*RKEAddonInterfaceMock) AddLifecycleCalls

func (mock *RKEAddonInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.RKEAddonLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedRKEAddonInterface.AddLifecycleCalls())

func (*RKEAddonInterfaceMock) Controller

func (mock *RKEAddonInterfaceMock) Controller() v3.RKEAddonController

Controller calls ControllerFunc.

func (*RKEAddonInterfaceMock) ControllerCalls

func (mock *RKEAddonInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedRKEAddonInterface.ControllerCalls())

func (*RKEAddonInterfaceMock) Create

func (mock *RKEAddonInterfaceMock) Create(in1 *v3.RKEAddon) (*v3.RKEAddon, error)

Create calls CreateFunc.

func (*RKEAddonInterfaceMock) CreateCalls

func (mock *RKEAddonInterfaceMock) CreateCalls() []struct {
	In1 *v3.RKEAddon
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedRKEAddonInterface.CreateCalls())

func (*RKEAddonInterfaceMock) Delete

func (mock *RKEAddonInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*RKEAddonInterfaceMock) DeleteCalls

func (mock *RKEAddonInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedRKEAddonInterface.DeleteCalls())

func (*RKEAddonInterfaceMock) DeleteCollection

func (mock *RKEAddonInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*RKEAddonInterfaceMock) DeleteCollectionCalls

func (mock *RKEAddonInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedRKEAddonInterface.DeleteCollectionCalls())

func (*RKEAddonInterfaceMock) DeleteNamespaced

func (mock *RKEAddonInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*RKEAddonInterfaceMock) DeleteNamespacedCalls

func (mock *RKEAddonInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedRKEAddonInterface.DeleteNamespacedCalls())

func (*RKEAddonInterfaceMock) Get

func (mock *RKEAddonInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.RKEAddon, error)

Get calls GetFunc.

func (*RKEAddonInterfaceMock) GetCalls

func (mock *RKEAddonInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRKEAddonInterface.GetCalls())

func (*RKEAddonInterfaceMock) GetNamespaced

func (mock *RKEAddonInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.RKEAddon, error)

GetNamespaced calls GetNamespacedFunc.

func (*RKEAddonInterfaceMock) GetNamespacedCalls

func (mock *RKEAddonInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedRKEAddonInterface.GetNamespacedCalls())

func (*RKEAddonInterfaceMock) List

List calls ListFunc.

func (*RKEAddonInterfaceMock) ListCalls

func (mock *RKEAddonInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRKEAddonInterface.ListCalls())

func (*RKEAddonInterfaceMock) ListNamespaced

func (mock *RKEAddonInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.RKEAddonList, error)

ListNamespaced calls ListNamespacedFunc.

func (*RKEAddonInterfaceMock) ListNamespacedCalls

func (mock *RKEAddonInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedRKEAddonInterface.ListNamespacedCalls())

func (*RKEAddonInterfaceMock) ObjectClient

func (mock *RKEAddonInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*RKEAddonInterfaceMock) ObjectClientCalls

func (mock *RKEAddonInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedRKEAddonInterface.ObjectClientCalls())

func (*RKEAddonInterfaceMock) Update

func (mock *RKEAddonInterfaceMock) Update(in1 *v3.RKEAddon) (*v3.RKEAddon, error)

Update calls UpdateFunc.

func (*RKEAddonInterfaceMock) UpdateCalls

func (mock *RKEAddonInterfaceMock) UpdateCalls() []struct {
	In1 *v3.RKEAddon
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedRKEAddonInterface.UpdateCalls())

func (*RKEAddonInterfaceMock) Watch

Watch calls WatchFunc.

func (*RKEAddonInterfaceMock) WatchCalls

func (mock *RKEAddonInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedRKEAddonInterface.WatchCalls())

type RKEAddonListerMock

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)
	// contains filtered or unexported fields
}

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.

    }

func (*RKEAddonListerMock) Get

func (mock *RKEAddonListerMock) Get(namespace string, name string) (*v3.RKEAddon, error)

Get calls GetFunc.

func (*RKEAddonListerMock) GetCalls

func (mock *RKEAddonListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRKEAddonLister.GetCalls())

func (*RKEAddonListerMock) List

func (mock *RKEAddonListerMock) List(namespace string, selector labels.Selector) ([]*v3.RKEAddon, error)

List calls ListFunc.

func (*RKEAddonListerMock) ListCalls

func (mock *RKEAddonListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRKEAddonLister.ListCalls())

type RKEAddonsGetterMock

type RKEAddonsGetterMock struct {
	// RKEAddonsFunc mocks the RKEAddons method.
	RKEAddonsFunc func(namespace string) v3.RKEAddonInterface
	// contains filtered or unexported fields
}

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.

    }

func (*RKEAddonsGetterMock) RKEAddons

func (mock *RKEAddonsGetterMock) RKEAddons(namespace string) v3.RKEAddonInterface

RKEAddons calls RKEAddonsFunc.

func (*RKEAddonsGetterMock) RKEAddonsCalls

func (mock *RKEAddonsGetterMock) RKEAddonsCalls() []struct {
	Namespace string
}

RKEAddonsCalls gets all the calls that were made to RKEAddons. Check the length with:

len(mockedRKEAddonsGetter.RKEAddonsCalls())

type RKEK8sServiceOptionControllerMock

type RKEK8sServiceOptionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEK8sServiceOptionHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.RKEK8sServiceOptionHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sServiceOptionHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.RKEK8sServiceOptionHandlerFunc)

	// 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.RKEK8sServiceOptionLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

RKEK8sServiceOptionControllerMock is a mock implementation of RKEK8sServiceOptionController.

    func TestSomethingThatUsesRKEK8sServiceOptionController(t *testing.T) {

        // make and configure a mocked RKEK8sServiceOptionController
        mockedRKEK8sServiceOptionController := &RKEK8sServiceOptionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.RKEK8sServiceOptionHandlerFunc)  {
	               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.RKEK8sServiceOptionLister {
	               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 mockedRKEK8sServiceOptionController in code that requires RKEK8sServiceOptionController
        // and then make assertions.

    }

func (*RKEK8sServiceOptionControllerMock) AddClusterScopedFeatureHandler

func (mock *RKEK8sServiceOptionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEK8sServiceOptionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RKEK8sServiceOptionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *RKEK8sServiceOptionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.RKEK8sServiceOptionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRKEK8sServiceOptionController.AddClusterScopedFeatureHandlerCalls())

func (*RKEK8sServiceOptionControllerMock) AddClusterScopedHandler

func (mock *RKEK8sServiceOptionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.RKEK8sServiceOptionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RKEK8sServiceOptionControllerMock) AddClusterScopedHandlerCalls

func (mock *RKEK8sServiceOptionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.RKEK8sServiceOptionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRKEK8sServiceOptionController.AddClusterScopedHandlerCalls())

func (*RKEK8sServiceOptionControllerMock) AddFeatureHandler

func (mock *RKEK8sServiceOptionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sServiceOptionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RKEK8sServiceOptionControllerMock) AddFeatureHandlerCalls

func (mock *RKEK8sServiceOptionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RKEK8sServiceOptionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRKEK8sServiceOptionController.AddFeatureHandlerCalls())

func (*RKEK8sServiceOptionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*RKEK8sServiceOptionControllerMock) AddHandlerCalls

func (mock *RKEK8sServiceOptionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.RKEK8sServiceOptionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRKEK8sServiceOptionController.AddHandlerCalls())

func (*RKEK8sServiceOptionControllerMock) Enqueue

func (mock *RKEK8sServiceOptionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*RKEK8sServiceOptionControllerMock) EnqueueAfter

func (mock *RKEK8sServiceOptionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*RKEK8sServiceOptionControllerMock) EnqueueAfterCalls

func (mock *RKEK8sServiceOptionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedRKEK8sServiceOptionController.EnqueueAfterCalls())

func (*RKEK8sServiceOptionControllerMock) EnqueueCalls

func (mock *RKEK8sServiceOptionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedRKEK8sServiceOptionController.EnqueueCalls())

func (*RKEK8sServiceOptionControllerMock) Generic

Generic calls GenericFunc.

func (*RKEK8sServiceOptionControllerMock) GenericCalls

func (mock *RKEK8sServiceOptionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedRKEK8sServiceOptionController.GenericCalls())

func (*RKEK8sServiceOptionControllerMock) Informer

Informer calls InformerFunc.

func (*RKEK8sServiceOptionControllerMock) InformerCalls

func (mock *RKEK8sServiceOptionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedRKEK8sServiceOptionController.InformerCalls())

func (*RKEK8sServiceOptionControllerMock) Lister

Lister calls ListerFunc.

func (*RKEK8sServiceOptionControllerMock) ListerCalls

func (mock *RKEK8sServiceOptionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedRKEK8sServiceOptionController.ListerCalls())

func (*RKEK8sServiceOptionControllerMock) Start

func (mock *RKEK8sServiceOptionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*RKEK8sServiceOptionControllerMock) StartCalls

func (mock *RKEK8sServiceOptionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedRKEK8sServiceOptionController.StartCalls())

func (*RKEK8sServiceOptionControllerMock) Sync

Sync calls SyncFunc.

func (*RKEK8sServiceOptionControllerMock) SyncCalls

func (mock *RKEK8sServiceOptionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedRKEK8sServiceOptionController.SyncCalls())

type RKEK8sServiceOptionInterfaceMock

type RKEK8sServiceOptionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEK8sServiceOptionHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RKEK8sServiceOptionLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.RKEK8sServiceOptionHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.RKEK8sServiceOptionLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sServiceOptionHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.RKEK8sServiceOptionLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.RKEK8sServiceOptionHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.RKEK8sServiceOptionLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.RKEK8sServiceOptionController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.RKEK8sServiceOption) (*v3.RKEK8sServiceOption, 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.RKEK8sServiceOption, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.RKEK8sServiceOption, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.RKEK8sServiceOptionList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.RKEK8sServiceOptionList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.RKEK8sServiceOption) (*v3.RKEK8sServiceOption, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

RKEK8sServiceOptionInterfaceMock is a mock implementation of RKEK8sServiceOptionInterface.

    func TestSomethingThatUsesRKEK8sServiceOptionInterface(t *testing.T) {

        // make and configure a mocked RKEK8sServiceOptionInterface
        mockedRKEK8sServiceOptionInterface := &RKEK8sServiceOptionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RKEK8sServiceOptionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.RKEK8sServiceOptionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.RKEK8sServiceOptionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.RKEK8sServiceOptionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.RKEK8sServiceOptionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.RKEK8sServiceOptionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.RKEK8sServiceOption) (*v3.RKEK8sServiceOption, 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.RKEK8sServiceOption, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.RKEK8sServiceOption, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.RKEK8sServiceOptionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.RKEK8sServiceOptionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.RKEK8sServiceOption) (*v3.RKEK8sServiceOption, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedRKEK8sServiceOptionInterface in code that requires RKEK8sServiceOptionInterface
        // and then make assertions.

    }

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEK8sServiceOptionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.RKEK8sServiceOptionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddClusterScopedFeatureHandlerCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RKEK8sServiceOptionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.RKEK8sServiceOptionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedHandler

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.RKEK8sServiceOptionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.RKEK8sServiceOptionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddClusterScopedHandlerCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedLifecycle

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.RKEK8sServiceOptionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.RKEK8sServiceOptionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddClusterScopedLifecycleCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddFeatureHandler

func (mock *RKEK8sServiceOptionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sServiceOptionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddFeatureHandlerCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RKEK8sServiceOptionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddFeatureHandlerCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddFeatureLifecycle

func (mock *RKEK8sServiceOptionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.RKEK8sServiceOptionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddFeatureLifecycleCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.RKEK8sServiceOptionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddFeatureLifecycleCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddHandlerCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.RKEK8sServiceOptionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddHandlerCalls())

func (*RKEK8sServiceOptionInterfaceMock) AddLifecycle

func (mock *RKEK8sServiceOptionInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.RKEK8sServiceOptionLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*RKEK8sServiceOptionInterfaceMock) AddLifecycleCalls

func (mock *RKEK8sServiceOptionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.RKEK8sServiceOptionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedRKEK8sServiceOptionInterface.AddLifecycleCalls())

func (*RKEK8sServiceOptionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*RKEK8sServiceOptionInterfaceMock) ControllerCalls

func (mock *RKEK8sServiceOptionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedRKEK8sServiceOptionInterface.ControllerCalls())

func (*RKEK8sServiceOptionInterfaceMock) Create

Create calls CreateFunc.

func (*RKEK8sServiceOptionInterfaceMock) CreateCalls

func (mock *RKEK8sServiceOptionInterfaceMock) CreateCalls() []struct {
	In1 *v3.RKEK8sServiceOption
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedRKEK8sServiceOptionInterface.CreateCalls())

func (*RKEK8sServiceOptionInterfaceMock) Delete

func (mock *RKEK8sServiceOptionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*RKEK8sServiceOptionInterfaceMock) DeleteCalls

func (mock *RKEK8sServiceOptionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedRKEK8sServiceOptionInterface.DeleteCalls())

func (*RKEK8sServiceOptionInterfaceMock) DeleteCollection

func (mock *RKEK8sServiceOptionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*RKEK8sServiceOptionInterfaceMock) DeleteCollectionCalls

func (mock *RKEK8sServiceOptionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedRKEK8sServiceOptionInterface.DeleteCollectionCalls())

func (*RKEK8sServiceOptionInterfaceMock) DeleteNamespaced

func (mock *RKEK8sServiceOptionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*RKEK8sServiceOptionInterfaceMock) DeleteNamespacedCalls

func (mock *RKEK8sServiceOptionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedRKEK8sServiceOptionInterface.DeleteNamespacedCalls())

func (*RKEK8sServiceOptionInterfaceMock) Get

Get calls GetFunc.

func (*RKEK8sServiceOptionInterfaceMock) GetCalls

func (mock *RKEK8sServiceOptionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRKEK8sServiceOptionInterface.GetCalls())

func (*RKEK8sServiceOptionInterfaceMock) GetNamespaced

func (mock *RKEK8sServiceOptionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.RKEK8sServiceOption, error)

GetNamespaced calls GetNamespacedFunc.

func (*RKEK8sServiceOptionInterfaceMock) GetNamespacedCalls

func (mock *RKEK8sServiceOptionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedRKEK8sServiceOptionInterface.GetNamespacedCalls())

func (*RKEK8sServiceOptionInterfaceMock) List

List calls ListFunc.

func (*RKEK8sServiceOptionInterfaceMock) ListCalls

func (mock *RKEK8sServiceOptionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRKEK8sServiceOptionInterface.ListCalls())

func (*RKEK8sServiceOptionInterfaceMock) ListNamespaced

func (mock *RKEK8sServiceOptionInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.RKEK8sServiceOptionList, error)

ListNamespaced calls ListNamespacedFunc.

func (*RKEK8sServiceOptionInterfaceMock) ListNamespacedCalls

func (mock *RKEK8sServiceOptionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedRKEK8sServiceOptionInterface.ListNamespacedCalls())

func (*RKEK8sServiceOptionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*RKEK8sServiceOptionInterfaceMock) ObjectClientCalls

func (mock *RKEK8sServiceOptionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedRKEK8sServiceOptionInterface.ObjectClientCalls())

func (*RKEK8sServiceOptionInterfaceMock) Update

Update calls UpdateFunc.

func (*RKEK8sServiceOptionInterfaceMock) UpdateCalls

func (mock *RKEK8sServiceOptionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.RKEK8sServiceOption
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedRKEK8sServiceOptionInterface.UpdateCalls())

func (*RKEK8sServiceOptionInterfaceMock) Watch

Watch calls WatchFunc.

func (*RKEK8sServiceOptionInterfaceMock) WatchCalls

func (mock *RKEK8sServiceOptionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedRKEK8sServiceOptionInterface.WatchCalls())

type RKEK8sServiceOptionListerMock

type RKEK8sServiceOptionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.RKEK8sServiceOption, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.RKEK8sServiceOption, error)
	// contains filtered or unexported fields
}

RKEK8sServiceOptionListerMock is a mock implementation of RKEK8sServiceOptionLister.

    func TestSomethingThatUsesRKEK8sServiceOptionLister(t *testing.T) {

        // make and configure a mocked RKEK8sServiceOptionLister
        mockedRKEK8sServiceOptionLister := &RKEK8sServiceOptionListerMock{
            GetFunc: func(namespace string, name string) (*v3.RKEK8sServiceOption, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.RKEK8sServiceOption, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedRKEK8sServiceOptionLister in code that requires RKEK8sServiceOptionLister
        // and then make assertions.

    }

func (*RKEK8sServiceOptionListerMock) Get

func (mock *RKEK8sServiceOptionListerMock) Get(namespace string, name string) (*v3.RKEK8sServiceOption, error)

Get calls GetFunc.

func (*RKEK8sServiceOptionListerMock) GetCalls

func (mock *RKEK8sServiceOptionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRKEK8sServiceOptionLister.GetCalls())

func (*RKEK8sServiceOptionListerMock) List

func (mock *RKEK8sServiceOptionListerMock) List(namespace string, selector labels.Selector) ([]*v3.RKEK8sServiceOption, error)

List calls ListFunc.

func (*RKEK8sServiceOptionListerMock) ListCalls

func (mock *RKEK8sServiceOptionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRKEK8sServiceOptionLister.ListCalls())

type RKEK8sServiceOptionsGetterMock

type RKEK8sServiceOptionsGetterMock struct {
	// RKEK8sServiceOptionsFunc mocks the RKEK8sServiceOptions method.
	RKEK8sServiceOptionsFunc func(namespace string) v3.RKEK8sServiceOptionInterface
	// contains filtered or unexported fields
}

RKEK8sServiceOptionsGetterMock is a mock implementation of RKEK8sServiceOptionsGetter.

    func TestSomethingThatUsesRKEK8sServiceOptionsGetter(t *testing.T) {

        // make and configure a mocked RKEK8sServiceOptionsGetter
        mockedRKEK8sServiceOptionsGetter := &RKEK8sServiceOptionsGetterMock{
            RKEK8sServiceOptionsFunc: func(namespace string) v3.RKEK8sServiceOptionInterface {
	               panic("mock out the RKEK8sServiceOptions method")
            },
        }

        // use mockedRKEK8sServiceOptionsGetter in code that requires RKEK8sServiceOptionsGetter
        // and then make assertions.

    }

func (*RKEK8sServiceOptionsGetterMock) RKEK8sServiceOptions

func (mock *RKEK8sServiceOptionsGetterMock) RKEK8sServiceOptions(namespace string) v3.RKEK8sServiceOptionInterface

RKEK8sServiceOptions calls RKEK8sServiceOptionsFunc.

func (*RKEK8sServiceOptionsGetterMock) RKEK8sServiceOptionsCalls

func (mock *RKEK8sServiceOptionsGetterMock) RKEK8sServiceOptionsCalls() []struct {
	Namespace string
}

RKEK8sServiceOptionsCalls gets all the calls that were made to RKEK8sServiceOptions. Check the length with:

len(mockedRKEK8sServiceOptionsGetter.RKEK8sServiceOptionsCalls())

type RKEK8sSystemImageControllerMock

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
	// contains filtered or unexported fields
}

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.

    }

func (*RKEK8sSystemImageControllerMock) AddClusterScopedFeatureHandler

func (mock *RKEK8sSystemImageControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RKEK8sSystemImageHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RKEK8sSystemImageControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *RKEK8sSystemImageControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.RKEK8sSystemImageHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRKEK8sSystemImageController.AddClusterScopedFeatureHandlerCalls())

func (*RKEK8sSystemImageControllerMock) AddClusterScopedHandler

func (mock *RKEK8sSystemImageControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.RKEK8sSystemImageHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RKEK8sSystemImageControllerMock) AddClusterScopedHandlerCalls

func (mock *RKEK8sSystemImageControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.RKEK8sSystemImageHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRKEK8sSystemImageController.AddClusterScopedHandlerCalls())

func (*RKEK8sSystemImageControllerMock) AddFeatureHandler

func (mock *RKEK8sSystemImageControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sSystemImageHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RKEK8sSystemImageControllerMock) AddFeatureHandlerCalls

func (mock *RKEK8sSystemImageControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RKEK8sSystemImageHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRKEK8sSystemImageController.AddFeatureHandlerCalls())

func (*RKEK8sSystemImageControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*RKEK8sSystemImageControllerMock) AddHandlerCalls

func (mock *RKEK8sSystemImageControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.RKEK8sSystemImageHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRKEK8sSystemImageController.AddHandlerCalls())

func (*RKEK8sSystemImageControllerMock) Enqueue

func (mock *RKEK8sSystemImageControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*RKEK8sSystemImageControllerMock) EnqueueAfter

func (mock *RKEK8sSystemImageControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*RKEK8sSystemImageControllerMock) EnqueueAfterCalls

func (mock *RKEK8sSystemImageControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedRKEK8sSystemImageController.EnqueueAfterCalls())

func (*RKEK8sSystemImageControllerMock) EnqueueCalls

func (mock *RKEK8sSystemImageControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedRKEK8sSystemImageController.EnqueueCalls())

func (*RKEK8sSystemImageControllerMock) Generic

Generic calls GenericFunc.

func (*RKEK8sSystemImageControllerMock) GenericCalls

func (mock *RKEK8sSystemImageControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedRKEK8sSystemImageController.GenericCalls())

func (*RKEK8sSystemImageControllerMock) Informer

Informer calls InformerFunc.

func (*RKEK8sSystemImageControllerMock) InformerCalls

func (mock *RKEK8sSystemImageControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedRKEK8sSystemImageController.InformerCalls())

func (*RKEK8sSystemImageControllerMock) Lister

Lister calls ListerFunc.

func (*RKEK8sSystemImageControllerMock) ListerCalls

func (mock *RKEK8sSystemImageControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedRKEK8sSystemImageController.ListerCalls())

func (*RKEK8sSystemImageControllerMock) Start

func (mock *RKEK8sSystemImageControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*RKEK8sSystemImageControllerMock) StartCalls

func (mock *RKEK8sSystemImageControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedRKEK8sSystemImageController.StartCalls())

func (*RKEK8sSystemImageControllerMock) Sync

Sync calls SyncFunc.

func (*RKEK8sSystemImageControllerMock) SyncCalls

func (mock *RKEK8sSystemImageControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedRKEK8sSystemImageController.SyncCalls())

type RKEK8sSystemImageInterfaceMock

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)
	// contains filtered or unexported fields
}

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.

    }

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureHandler

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RKEK8sSystemImageHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.RKEK8sSystemImageHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddClusterScopedFeatureHandlerCalls())

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RKEK8sSystemImageLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.RKEK8sSystemImageLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddClusterScopedFeatureLifecycleCalls())

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedHandler

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.RKEK8sSystemImageHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedHandlerCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.RKEK8sSystemImageHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddClusterScopedHandlerCalls())

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedLifecycle

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.RKEK8sSystemImageLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*RKEK8sSystemImageInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.RKEK8sSystemImageLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddClusterScopedLifecycleCalls())

func (*RKEK8sSystemImageInterfaceMock) AddFeatureHandler

func (mock *RKEK8sSystemImageInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RKEK8sSystemImageHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RKEK8sSystemImageInterfaceMock) AddFeatureHandlerCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RKEK8sSystemImageHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddFeatureHandlerCalls())

func (*RKEK8sSystemImageInterfaceMock) AddFeatureLifecycle

func (mock *RKEK8sSystemImageInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.RKEK8sSystemImageLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*RKEK8sSystemImageInterfaceMock) AddFeatureLifecycleCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.RKEK8sSystemImageLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddFeatureLifecycleCalls())

func (*RKEK8sSystemImageInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*RKEK8sSystemImageInterfaceMock) AddHandlerCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.RKEK8sSystemImageHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddHandlerCalls())

func (*RKEK8sSystemImageInterfaceMock) AddLifecycle

func (mock *RKEK8sSystemImageInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.RKEK8sSystemImageLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*RKEK8sSystemImageInterfaceMock) AddLifecycleCalls

func (mock *RKEK8sSystemImageInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.RKEK8sSystemImageLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedRKEK8sSystemImageInterface.AddLifecycleCalls())

func (*RKEK8sSystemImageInterfaceMock) Controller

Controller calls ControllerFunc.

func (*RKEK8sSystemImageInterfaceMock) ControllerCalls

func (mock *RKEK8sSystemImageInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedRKEK8sSystemImageInterface.ControllerCalls())

func (*RKEK8sSystemImageInterfaceMock) Create

Create calls CreateFunc.

func (*RKEK8sSystemImageInterfaceMock) CreateCalls

func (mock *RKEK8sSystemImageInterfaceMock) CreateCalls() []struct {
	In1 *v3.RKEK8sSystemImage
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedRKEK8sSystemImageInterface.CreateCalls())

func (*RKEK8sSystemImageInterfaceMock) Delete

func (mock *RKEK8sSystemImageInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*RKEK8sSystemImageInterfaceMock) DeleteCalls

func (mock *RKEK8sSystemImageInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedRKEK8sSystemImageInterface.DeleteCalls())

func (*RKEK8sSystemImageInterfaceMock) DeleteCollection

func (mock *RKEK8sSystemImageInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*RKEK8sSystemImageInterfaceMock) DeleteCollectionCalls

func (mock *RKEK8sSystemImageInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedRKEK8sSystemImageInterface.DeleteCollectionCalls())

func (*RKEK8sSystemImageInterfaceMock) DeleteNamespaced

func (mock *RKEK8sSystemImageInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*RKEK8sSystemImageInterfaceMock) DeleteNamespacedCalls

func (mock *RKEK8sSystemImageInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedRKEK8sSystemImageInterface.DeleteNamespacedCalls())

func (*RKEK8sSystemImageInterfaceMock) Get

Get calls GetFunc.

func (*RKEK8sSystemImageInterfaceMock) GetCalls

func (mock *RKEK8sSystemImageInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRKEK8sSystemImageInterface.GetCalls())

func (*RKEK8sSystemImageInterfaceMock) GetNamespaced

func (mock *RKEK8sSystemImageInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.RKEK8sSystemImage, error)

GetNamespaced calls GetNamespacedFunc.

func (*RKEK8sSystemImageInterfaceMock) GetNamespacedCalls

func (mock *RKEK8sSystemImageInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedRKEK8sSystemImageInterface.GetNamespacedCalls())

func (*RKEK8sSystemImageInterfaceMock) List

List calls ListFunc.

func (*RKEK8sSystemImageInterfaceMock) ListCalls

func (mock *RKEK8sSystemImageInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRKEK8sSystemImageInterface.ListCalls())

func (*RKEK8sSystemImageInterfaceMock) ListNamespaced

func (mock *RKEK8sSystemImageInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.RKEK8sSystemImageList, error)

ListNamespaced calls ListNamespacedFunc.

func (*RKEK8sSystemImageInterfaceMock) ListNamespacedCalls

func (mock *RKEK8sSystemImageInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedRKEK8sSystemImageInterface.ListNamespacedCalls())

func (*RKEK8sSystemImageInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*RKEK8sSystemImageInterfaceMock) ObjectClientCalls

func (mock *RKEK8sSystemImageInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedRKEK8sSystemImageInterface.ObjectClientCalls())

func (*RKEK8sSystemImageInterfaceMock) Update

Update calls UpdateFunc.

func (*RKEK8sSystemImageInterfaceMock) UpdateCalls

func (mock *RKEK8sSystemImageInterfaceMock) UpdateCalls() []struct {
	In1 *v3.RKEK8sSystemImage
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedRKEK8sSystemImageInterface.UpdateCalls())

func (*RKEK8sSystemImageInterfaceMock) Watch

Watch calls WatchFunc.

func (*RKEK8sSystemImageInterfaceMock) WatchCalls

func (mock *RKEK8sSystemImageInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedRKEK8sSystemImageInterface.WatchCalls())

type RKEK8sSystemImageListerMock

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)
	// contains filtered or unexported fields
}

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.

    }

func (*RKEK8sSystemImageListerMock) Get

func (mock *RKEK8sSystemImageListerMock) Get(namespace string, name string) (*v3.RKEK8sSystemImage, error)

Get calls GetFunc.

func (*RKEK8sSystemImageListerMock) GetCalls

func (mock *RKEK8sSystemImageListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRKEK8sSystemImageLister.GetCalls())

func (*RKEK8sSystemImageListerMock) List

func (mock *RKEK8sSystemImageListerMock) List(namespace string, selector labels.Selector) ([]*v3.RKEK8sSystemImage, error)

List calls ListFunc.

func (*RKEK8sSystemImageListerMock) ListCalls

func (mock *RKEK8sSystemImageListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRKEK8sSystemImageLister.ListCalls())

type RKEK8sSystemImagesGetterMock

type RKEK8sSystemImagesGetterMock struct {
	// RKEK8sSystemImagesFunc mocks the RKEK8sSystemImages method.
	RKEK8sSystemImagesFunc func(namespace string) v3.RKEK8sSystemImageInterface
	// contains filtered or unexported fields
}

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.

    }

func (*RKEK8sSystemImagesGetterMock) RKEK8sSystemImages

func (mock *RKEK8sSystemImagesGetterMock) RKEK8sSystemImages(namespace string) v3.RKEK8sSystemImageInterface

RKEK8sSystemImages calls RKEK8sSystemImagesFunc.

func (*RKEK8sSystemImagesGetterMock) RKEK8sSystemImagesCalls

func (mock *RKEK8sSystemImagesGetterMock) RKEK8sSystemImagesCalls() []struct {
	Namespace string
}

RKEK8sSystemImagesCalls gets all the calls that were made to RKEK8sSystemImages. Check the length with:

len(mockedRKEK8sSystemImagesGetter.RKEK8sSystemImagesCalls())

type RoleTemplateControllerMock

type RoleTemplateControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.RoleTemplateHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.RoleTemplateHandlerFunc)

	// 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.RoleTemplateLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

RoleTemplateControllerMock is a mock implementation of RoleTemplateController.

    func TestSomethingThatUsesRoleTemplateController(t *testing.T) {

        // make and configure a mocked RoleTemplateController
        mockedRoleTemplateController := &RoleTemplateControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.RoleTemplateHandlerFunc)  {
	               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.RoleTemplateLister {
	               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 mockedRoleTemplateController in code that requires RoleTemplateController
        // and then make assertions.

    }

func (*RoleTemplateControllerMock) AddClusterScopedFeatureHandler

func (mock *RoleTemplateControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RoleTemplateControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *RoleTemplateControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.RoleTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRoleTemplateController.AddClusterScopedFeatureHandlerCalls())

func (*RoleTemplateControllerMock) AddClusterScopedHandler

func (mock *RoleTemplateControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RoleTemplateControllerMock) AddClusterScopedHandlerCalls

func (mock *RoleTemplateControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.RoleTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRoleTemplateController.AddClusterScopedHandlerCalls())

func (*RoleTemplateControllerMock) AddFeatureHandler

func (mock *RoleTemplateControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RoleTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RoleTemplateControllerMock) AddFeatureHandlerCalls

func (mock *RoleTemplateControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RoleTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRoleTemplateController.AddFeatureHandlerCalls())

func (*RoleTemplateControllerMock) AddHandler

func (mock *RoleTemplateControllerMock) AddHandler(ctx context.Context, name string, handler v3.RoleTemplateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*RoleTemplateControllerMock) AddHandlerCalls

func (mock *RoleTemplateControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.RoleTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRoleTemplateController.AddHandlerCalls())

func (*RoleTemplateControllerMock) Enqueue

func (mock *RoleTemplateControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*RoleTemplateControllerMock) EnqueueAfter

func (mock *RoleTemplateControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*RoleTemplateControllerMock) EnqueueAfterCalls

func (mock *RoleTemplateControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedRoleTemplateController.EnqueueAfterCalls())

func (*RoleTemplateControllerMock) EnqueueCalls

func (mock *RoleTemplateControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedRoleTemplateController.EnqueueCalls())

func (*RoleTemplateControllerMock) Generic

Generic calls GenericFunc.

func (*RoleTemplateControllerMock) GenericCalls

func (mock *RoleTemplateControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedRoleTemplateController.GenericCalls())

func (*RoleTemplateControllerMock) Informer

Informer calls InformerFunc.

func (*RoleTemplateControllerMock) InformerCalls

func (mock *RoleTemplateControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedRoleTemplateController.InformerCalls())

func (*RoleTemplateControllerMock) Lister

Lister calls ListerFunc.

func (*RoleTemplateControllerMock) ListerCalls

func (mock *RoleTemplateControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedRoleTemplateController.ListerCalls())

func (*RoleTemplateControllerMock) Start

func (mock *RoleTemplateControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*RoleTemplateControllerMock) StartCalls

func (mock *RoleTemplateControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedRoleTemplateController.StartCalls())

func (*RoleTemplateControllerMock) Sync

Sync calls SyncFunc.

func (*RoleTemplateControllerMock) SyncCalls

func (mock *RoleTemplateControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedRoleTemplateController.SyncCalls())

type RoleTemplateInterfaceMock

type RoleTemplateInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RoleTemplateHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RoleTemplateLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.RoleTemplateHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.RoleTemplateLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.RoleTemplateHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.RoleTemplateLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.RoleTemplateHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.RoleTemplateLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.RoleTemplateController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.RoleTemplate) (*v3.RoleTemplate, 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.RoleTemplate, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.RoleTemplate, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.RoleTemplateList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.RoleTemplateList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.RoleTemplate) (*v3.RoleTemplate, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

RoleTemplateInterfaceMock is a mock implementation of RoleTemplateInterface.

    func TestSomethingThatUsesRoleTemplateInterface(t *testing.T) {

        // make and configure a mocked RoleTemplateInterface
        mockedRoleTemplateInterface := &RoleTemplateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RoleTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.RoleTemplateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.RoleTemplateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.RoleTemplateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.RoleTemplateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.RoleTemplate) (*v3.RoleTemplate, 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.RoleTemplate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.RoleTemplate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.RoleTemplateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.RoleTemplateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.RoleTemplate) (*v3.RoleTemplate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedRoleTemplateInterface in code that requires RoleTemplateInterface
        // and then make assertions.

    }

func (*RoleTemplateInterfaceMock) AddClusterScopedFeatureHandler

func (mock *RoleTemplateInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.RoleTemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*RoleTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *RoleTemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.RoleTemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedRoleTemplateInterface.AddClusterScopedFeatureHandlerCalls())

func (*RoleTemplateInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *RoleTemplateInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.RoleTemplateLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*RoleTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *RoleTemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.RoleTemplateLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedRoleTemplateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*RoleTemplateInterfaceMock) AddClusterScopedHandler

func (mock *RoleTemplateInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.RoleTemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*RoleTemplateInterfaceMock) AddClusterScopedHandlerCalls

func (mock *RoleTemplateInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.RoleTemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedRoleTemplateInterface.AddClusterScopedHandlerCalls())

func (*RoleTemplateInterfaceMock) AddClusterScopedLifecycle

func (mock *RoleTemplateInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.RoleTemplateLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*RoleTemplateInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *RoleTemplateInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.RoleTemplateLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedRoleTemplateInterface.AddClusterScopedLifecycleCalls())

func (*RoleTemplateInterfaceMock) AddFeatureHandler

func (mock *RoleTemplateInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.RoleTemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*RoleTemplateInterfaceMock) AddFeatureHandlerCalls

func (mock *RoleTemplateInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.RoleTemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedRoleTemplateInterface.AddFeatureHandlerCalls())

func (*RoleTemplateInterfaceMock) AddFeatureLifecycle

func (mock *RoleTemplateInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.RoleTemplateLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*RoleTemplateInterfaceMock) AddFeatureLifecycleCalls

func (mock *RoleTemplateInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.RoleTemplateLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedRoleTemplateInterface.AddFeatureLifecycleCalls())

func (*RoleTemplateInterfaceMock) AddHandler

func (mock *RoleTemplateInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.RoleTemplateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*RoleTemplateInterfaceMock) AddHandlerCalls

func (mock *RoleTemplateInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.RoleTemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedRoleTemplateInterface.AddHandlerCalls())

func (*RoleTemplateInterfaceMock) AddLifecycle

func (mock *RoleTemplateInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.RoleTemplateLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*RoleTemplateInterfaceMock) AddLifecycleCalls

func (mock *RoleTemplateInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.RoleTemplateLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedRoleTemplateInterface.AddLifecycleCalls())

func (*RoleTemplateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*RoleTemplateInterfaceMock) ControllerCalls

func (mock *RoleTemplateInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedRoleTemplateInterface.ControllerCalls())

func (*RoleTemplateInterfaceMock) Create

Create calls CreateFunc.

func (*RoleTemplateInterfaceMock) CreateCalls

func (mock *RoleTemplateInterfaceMock) CreateCalls() []struct {
	In1 *v3.RoleTemplate
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedRoleTemplateInterface.CreateCalls())

func (*RoleTemplateInterfaceMock) Delete

func (mock *RoleTemplateInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*RoleTemplateInterfaceMock) DeleteCalls

func (mock *RoleTemplateInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedRoleTemplateInterface.DeleteCalls())

func (*RoleTemplateInterfaceMock) DeleteCollection

func (mock *RoleTemplateInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*RoleTemplateInterfaceMock) DeleteCollectionCalls

func (mock *RoleTemplateInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedRoleTemplateInterface.DeleteCollectionCalls())

func (*RoleTemplateInterfaceMock) DeleteNamespaced

func (mock *RoleTemplateInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*RoleTemplateInterfaceMock) DeleteNamespacedCalls

func (mock *RoleTemplateInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedRoleTemplateInterface.DeleteNamespacedCalls())

func (*RoleTemplateInterfaceMock) Get

Get calls GetFunc.

func (*RoleTemplateInterfaceMock) GetCalls

func (mock *RoleTemplateInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRoleTemplateInterface.GetCalls())

func (*RoleTemplateInterfaceMock) GetNamespaced

func (mock *RoleTemplateInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.RoleTemplate, error)

GetNamespaced calls GetNamespacedFunc.

func (*RoleTemplateInterfaceMock) GetNamespacedCalls

func (mock *RoleTemplateInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedRoleTemplateInterface.GetNamespacedCalls())

func (*RoleTemplateInterfaceMock) List

List calls ListFunc.

func (*RoleTemplateInterfaceMock) ListCalls

func (mock *RoleTemplateInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRoleTemplateInterface.ListCalls())

func (*RoleTemplateInterfaceMock) ListNamespaced

func (mock *RoleTemplateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.RoleTemplateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*RoleTemplateInterfaceMock) ListNamespacedCalls

func (mock *RoleTemplateInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedRoleTemplateInterface.ListNamespacedCalls())

func (*RoleTemplateInterfaceMock) ObjectClient

func (mock *RoleTemplateInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*RoleTemplateInterfaceMock) ObjectClientCalls

func (mock *RoleTemplateInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedRoleTemplateInterface.ObjectClientCalls())

func (*RoleTemplateInterfaceMock) Update

Update calls UpdateFunc.

func (*RoleTemplateInterfaceMock) UpdateCalls

func (mock *RoleTemplateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.RoleTemplate
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedRoleTemplateInterface.UpdateCalls())

func (*RoleTemplateInterfaceMock) Watch

Watch calls WatchFunc.

func (*RoleTemplateInterfaceMock) WatchCalls

func (mock *RoleTemplateInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedRoleTemplateInterface.WatchCalls())

type RoleTemplateListerMock

type RoleTemplateListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.RoleTemplate, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.RoleTemplate, error)
	// contains filtered or unexported fields
}

RoleTemplateListerMock is a mock implementation of RoleTemplateLister.

    func TestSomethingThatUsesRoleTemplateLister(t *testing.T) {

        // make and configure a mocked RoleTemplateLister
        mockedRoleTemplateLister := &RoleTemplateListerMock{
            GetFunc: func(namespace string, name string) (*v3.RoleTemplate, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.RoleTemplate, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedRoleTemplateLister in code that requires RoleTemplateLister
        // and then make assertions.

    }

func (*RoleTemplateListerMock) Get

func (mock *RoleTemplateListerMock) Get(namespace string, name string) (*v3.RoleTemplate, error)

Get calls GetFunc.

func (*RoleTemplateListerMock) GetCalls

func (mock *RoleTemplateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedRoleTemplateLister.GetCalls())

func (*RoleTemplateListerMock) List

func (mock *RoleTemplateListerMock) List(namespace string, selector labels.Selector) ([]*v3.RoleTemplate, error)

List calls ListFunc.

func (*RoleTemplateListerMock) ListCalls

func (mock *RoleTemplateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedRoleTemplateLister.ListCalls())

type RoleTemplatesGetterMock

type RoleTemplatesGetterMock struct {
	// RoleTemplatesFunc mocks the RoleTemplates method.
	RoleTemplatesFunc func(namespace string) v3.RoleTemplateInterface
	// contains filtered or unexported fields
}

RoleTemplatesGetterMock is a mock implementation of RoleTemplatesGetter.

    func TestSomethingThatUsesRoleTemplatesGetter(t *testing.T) {

        // make and configure a mocked RoleTemplatesGetter
        mockedRoleTemplatesGetter := &RoleTemplatesGetterMock{
            RoleTemplatesFunc: func(namespace string) v3.RoleTemplateInterface {
	               panic("mock out the RoleTemplates method")
            },
        }

        // use mockedRoleTemplatesGetter in code that requires RoleTemplatesGetter
        // and then make assertions.

    }

func (*RoleTemplatesGetterMock) RoleTemplates

func (mock *RoleTemplatesGetterMock) RoleTemplates(namespace string) v3.RoleTemplateInterface

RoleTemplates calls RoleTemplatesFunc.

func (*RoleTemplatesGetterMock) RoleTemplatesCalls

func (mock *RoleTemplatesGetterMock) RoleTemplatesCalls() []struct {
	Namespace string
}

RoleTemplatesCalls gets all the calls that were made to RoleTemplates. Check the length with:

len(mockedRoleTemplatesGetter.RoleTemplatesCalls())

type SettingControllerMock

type SettingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SettingHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.SettingHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SettingHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.SettingHandlerFunc)

	// 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.SettingLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

SettingControllerMock is a mock implementation of SettingController.

    func TestSomethingThatUsesSettingController(t *testing.T) {

        // make and configure a mocked SettingController
        mockedSettingController := &SettingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SettingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.SettingHandlerFunc)  {
	               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.SettingLister {
	               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 mockedSettingController in code that requires SettingController
        // and then make assertions.

    }

func (*SettingControllerMock) AddClusterScopedFeatureHandler

func (mock *SettingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SettingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SettingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *SettingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.SettingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSettingController.AddClusterScopedFeatureHandlerCalls())

func (*SettingControllerMock) AddClusterScopedHandler

func (mock *SettingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.SettingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SettingControllerMock) AddClusterScopedHandlerCalls

func (mock *SettingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.SettingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSettingController.AddClusterScopedHandlerCalls())

func (*SettingControllerMock) AddFeatureHandler

func (mock *SettingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SettingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SettingControllerMock) AddFeatureHandlerCalls

func (mock *SettingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SettingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSettingController.AddFeatureHandlerCalls())

func (*SettingControllerMock) AddHandler

func (mock *SettingControllerMock) AddHandler(ctx context.Context, name string, handler v3.SettingHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*SettingControllerMock) AddHandlerCalls

func (mock *SettingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.SettingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSettingController.AddHandlerCalls())

func (*SettingControllerMock) Enqueue

func (mock *SettingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*SettingControllerMock) EnqueueAfter

func (mock *SettingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*SettingControllerMock) EnqueueAfterCalls

func (mock *SettingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedSettingController.EnqueueAfterCalls())

func (*SettingControllerMock) EnqueueCalls

func (mock *SettingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedSettingController.EnqueueCalls())

func (*SettingControllerMock) Generic

Generic calls GenericFunc.

func (*SettingControllerMock) GenericCalls

func (mock *SettingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedSettingController.GenericCalls())

func (*SettingControllerMock) Informer

Informer calls InformerFunc.

func (*SettingControllerMock) InformerCalls

func (mock *SettingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedSettingController.InformerCalls())

func (*SettingControllerMock) Lister

func (mock *SettingControllerMock) Lister() v3.SettingLister

Lister calls ListerFunc.

func (*SettingControllerMock) ListerCalls

func (mock *SettingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedSettingController.ListerCalls())

func (*SettingControllerMock) Start

func (mock *SettingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*SettingControllerMock) StartCalls

func (mock *SettingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedSettingController.StartCalls())

func (*SettingControllerMock) Sync

func (mock *SettingControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*SettingControllerMock) SyncCalls

func (mock *SettingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedSettingController.SyncCalls())

type SettingInterfaceMock

type SettingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SettingHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SettingLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.SettingHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.SettingLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SettingHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SettingLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.SettingHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.SettingLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.SettingController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Setting) (*v3.Setting, 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.Setting, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Setting, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.SettingList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.SettingList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Setting) (*v3.Setting, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

SettingInterfaceMock is a mock implementation of SettingInterface.

    func TestSomethingThatUsesSettingInterface(t *testing.T) {

        // make and configure a mocked SettingInterface
        mockedSettingInterface := &SettingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SettingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.SettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.SettingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SettingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SettingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.SettingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.SettingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.SettingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Setting) (*v3.Setting, 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.Setting, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Setting, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.SettingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.SettingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Setting) (*v3.Setting, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSettingInterface in code that requires SettingInterface
        // and then make assertions.

    }

func (*SettingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *SettingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SettingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SettingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *SettingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.SettingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSettingInterface.AddClusterScopedFeatureHandlerCalls())

func (*SettingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *SettingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SettingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*SettingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *SettingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.SettingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedSettingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*SettingInterfaceMock) AddClusterScopedHandler

func (mock *SettingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.SettingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SettingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SettingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.SettingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSettingInterface.AddClusterScopedHandlerCalls())

func (*SettingInterfaceMock) AddClusterScopedLifecycle

func (mock *SettingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.SettingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SettingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SettingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.SettingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedSettingInterface.AddClusterScopedLifecycleCalls())

func (*SettingInterfaceMock) AddFeatureHandler

func (mock *SettingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SettingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SettingInterfaceMock) AddFeatureHandlerCalls

func (mock *SettingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SettingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSettingInterface.AddFeatureHandlerCalls())

func (*SettingInterfaceMock) AddFeatureLifecycle

func (mock *SettingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.SettingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*SettingInterfaceMock) AddFeatureLifecycleCalls

func (mock *SettingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.SettingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedSettingInterface.AddFeatureLifecycleCalls())

func (*SettingInterfaceMock) AddHandler

func (mock *SettingInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.SettingHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*SettingInterfaceMock) AddHandlerCalls

func (mock *SettingInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.SettingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSettingInterface.AddHandlerCalls())

func (*SettingInterfaceMock) AddLifecycle

func (mock *SettingInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.SettingLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*SettingInterfaceMock) AddLifecycleCalls

func (mock *SettingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.SettingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedSettingInterface.AddLifecycleCalls())

func (*SettingInterfaceMock) Controller

func (mock *SettingInterfaceMock) Controller() v3.SettingController

Controller calls ControllerFunc.

func (*SettingInterfaceMock) ControllerCalls

func (mock *SettingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedSettingInterface.ControllerCalls())

func (*SettingInterfaceMock) Create

func (mock *SettingInterfaceMock) Create(in1 *v3.Setting) (*v3.Setting, error)

Create calls CreateFunc.

func (*SettingInterfaceMock) CreateCalls

func (mock *SettingInterfaceMock) CreateCalls() []struct {
	In1 *v3.Setting
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedSettingInterface.CreateCalls())

func (*SettingInterfaceMock) Delete

func (mock *SettingInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*SettingInterfaceMock) DeleteCalls

func (mock *SettingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedSettingInterface.DeleteCalls())

func (*SettingInterfaceMock) DeleteCollection

func (mock *SettingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SettingInterfaceMock) DeleteCollectionCalls

func (mock *SettingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedSettingInterface.DeleteCollectionCalls())

func (*SettingInterfaceMock) DeleteNamespaced

func (mock *SettingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SettingInterfaceMock) DeleteNamespacedCalls

func (mock *SettingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedSettingInterface.DeleteNamespacedCalls())

func (*SettingInterfaceMock) Get

func (mock *SettingInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Setting, error)

Get calls GetFunc.

func (*SettingInterfaceMock) GetCalls

func (mock *SettingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSettingInterface.GetCalls())

func (*SettingInterfaceMock) GetNamespaced

func (mock *SettingInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Setting, error)

GetNamespaced calls GetNamespacedFunc.

func (*SettingInterfaceMock) GetNamespacedCalls

func (mock *SettingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedSettingInterface.GetNamespacedCalls())

func (*SettingInterfaceMock) List

func (mock *SettingInterfaceMock) List(opts v1.ListOptions) (*v3.SettingList, error)

List calls ListFunc.

func (*SettingInterfaceMock) ListCalls

func (mock *SettingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSettingInterface.ListCalls())

func (*SettingInterfaceMock) ListNamespaced

func (mock *SettingInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.SettingList, error)

ListNamespaced calls ListNamespacedFunc.

func (*SettingInterfaceMock) ListNamespacedCalls

func (mock *SettingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedSettingInterface.ListNamespacedCalls())

func (*SettingInterfaceMock) ObjectClient

func (mock *SettingInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*SettingInterfaceMock) ObjectClientCalls

func (mock *SettingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedSettingInterface.ObjectClientCalls())

func (*SettingInterfaceMock) Update

func (mock *SettingInterfaceMock) Update(in1 *v3.Setting) (*v3.Setting, error)

Update calls UpdateFunc.

func (*SettingInterfaceMock) UpdateCalls

func (mock *SettingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Setting
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedSettingInterface.UpdateCalls())

func (*SettingInterfaceMock) Watch

func (mock *SettingInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*SettingInterfaceMock) WatchCalls

func (mock *SettingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedSettingInterface.WatchCalls())

type SettingListerMock

type SettingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Setting, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Setting, error)
	// contains filtered or unexported fields
}

SettingListerMock is a mock implementation of SettingLister.

    func TestSomethingThatUsesSettingLister(t *testing.T) {

        // make and configure a mocked SettingLister
        mockedSettingLister := &SettingListerMock{
            GetFunc: func(namespace string, name string) (*v3.Setting, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Setting, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSettingLister in code that requires SettingLister
        // and then make assertions.

    }

func (*SettingListerMock) Get

func (mock *SettingListerMock) Get(namespace string, name string) (*v3.Setting, error)

Get calls GetFunc.

func (*SettingListerMock) GetCalls

func (mock *SettingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSettingLister.GetCalls())

func (*SettingListerMock) List

func (mock *SettingListerMock) List(namespace string, selector labels.Selector) ([]*v3.Setting, error)

List calls ListFunc.

func (*SettingListerMock) ListCalls

func (mock *SettingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSettingLister.ListCalls())

type SettingsGetterMock

type SettingsGetterMock struct {
	// SettingsFunc mocks the Settings method.
	SettingsFunc func(namespace string) v3.SettingInterface
	// contains filtered or unexported fields
}

SettingsGetterMock is a mock implementation of SettingsGetter.

    func TestSomethingThatUsesSettingsGetter(t *testing.T) {

        // make and configure a mocked SettingsGetter
        mockedSettingsGetter := &SettingsGetterMock{
            SettingsFunc: func(namespace string) v3.SettingInterface {
	               panic("mock out the Settings method")
            },
        }

        // use mockedSettingsGetter in code that requires SettingsGetter
        // and then make assertions.

    }

func (*SettingsGetterMock) Settings

func (mock *SettingsGetterMock) Settings(namespace string) v3.SettingInterface

Settings calls SettingsFunc.

func (*SettingsGetterMock) SettingsCalls

func (mock *SettingsGetterMock) SettingsCalls() []struct {
	Namespace string
}

SettingsCalls gets all the calls that were made to Settings. Check the length with:

len(mockedSettingsGetter.SettingsCalls())

type TemplateContentControllerMock

type TemplateContentControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateContentHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.TemplateContentHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateContentHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.TemplateContentHandlerFunc)

	// 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.TemplateContentLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

TemplateContentControllerMock is a mock implementation of TemplateContentController.

    func TestSomethingThatUsesTemplateContentController(t *testing.T) {

        // make and configure a mocked TemplateContentController
        mockedTemplateContentController := &TemplateContentControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.TemplateContentHandlerFunc)  {
	               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.TemplateContentLister {
	               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 mockedTemplateContentController in code that requires TemplateContentController
        // and then make assertions.

    }

func (*TemplateContentControllerMock) AddClusterScopedFeatureHandler

func (mock *TemplateContentControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateContentHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TemplateContentControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *TemplateContentControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.TemplateContentHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTemplateContentController.AddClusterScopedFeatureHandlerCalls())

func (*TemplateContentControllerMock) AddClusterScopedHandler

func (mock *TemplateContentControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.TemplateContentHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TemplateContentControllerMock) AddClusterScopedHandlerCalls

func (mock *TemplateContentControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.TemplateContentHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTemplateContentController.AddClusterScopedHandlerCalls())

func (*TemplateContentControllerMock) AddFeatureHandler

func (mock *TemplateContentControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TemplateContentHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TemplateContentControllerMock) AddFeatureHandlerCalls

func (mock *TemplateContentControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TemplateContentHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTemplateContentController.AddFeatureHandlerCalls())

func (*TemplateContentControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*TemplateContentControllerMock) AddHandlerCalls

func (mock *TemplateContentControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.TemplateContentHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTemplateContentController.AddHandlerCalls())

func (*TemplateContentControllerMock) Enqueue

func (mock *TemplateContentControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*TemplateContentControllerMock) EnqueueAfter

func (mock *TemplateContentControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*TemplateContentControllerMock) EnqueueAfterCalls

func (mock *TemplateContentControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedTemplateContentController.EnqueueAfterCalls())

func (*TemplateContentControllerMock) EnqueueCalls

func (mock *TemplateContentControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedTemplateContentController.EnqueueCalls())

func (*TemplateContentControllerMock) Generic

Generic calls GenericFunc.

func (*TemplateContentControllerMock) GenericCalls

func (mock *TemplateContentControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedTemplateContentController.GenericCalls())

func (*TemplateContentControllerMock) Informer

Informer calls InformerFunc.

func (*TemplateContentControllerMock) InformerCalls

func (mock *TemplateContentControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedTemplateContentController.InformerCalls())

func (*TemplateContentControllerMock) Lister

Lister calls ListerFunc.

func (*TemplateContentControllerMock) ListerCalls

func (mock *TemplateContentControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedTemplateContentController.ListerCalls())

func (*TemplateContentControllerMock) Start

func (mock *TemplateContentControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*TemplateContentControllerMock) StartCalls

func (mock *TemplateContentControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedTemplateContentController.StartCalls())

func (*TemplateContentControllerMock) Sync

Sync calls SyncFunc.

func (*TemplateContentControllerMock) SyncCalls

func (mock *TemplateContentControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedTemplateContentController.SyncCalls())

type TemplateContentInterfaceMock

type TemplateContentInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateContentHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateContentLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.TemplateContentHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateContentLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateContentHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateContentLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.TemplateContentHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.TemplateContentLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.TemplateContentController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.TemplateContent) (*v3.TemplateContent, 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.TemplateContent, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.TemplateContent, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.TemplateContentList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.TemplateContentList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.TemplateContent) (*v3.TemplateContent, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

TemplateContentInterfaceMock is a mock implementation of TemplateContentInterface.

    func TestSomethingThatUsesTemplateContentInterface(t *testing.T) {

        // make and configure a mocked TemplateContentInterface
        mockedTemplateContentInterface := &TemplateContentInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateContentLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateContentLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateContentLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.TemplateContentLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.TemplateContentController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.TemplateContent) (*v3.TemplateContent, 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.TemplateContent, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.TemplateContent, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.TemplateContentList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.TemplateContentList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.TemplateContent) (*v3.TemplateContent, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedTemplateContentInterface in code that requires TemplateContentInterface
        // and then make assertions.

    }

func (*TemplateContentInterfaceMock) AddClusterScopedFeatureHandler

func (mock *TemplateContentInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateContentHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TemplateContentInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *TemplateContentInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.TemplateContentHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTemplateContentInterface.AddClusterScopedFeatureHandlerCalls())

func (*TemplateContentInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *TemplateContentInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateContentLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*TemplateContentInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *TemplateContentInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.TemplateContentLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedTemplateContentInterface.AddClusterScopedFeatureLifecycleCalls())

func (*TemplateContentInterfaceMock) AddClusterScopedHandler

func (mock *TemplateContentInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.TemplateContentHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TemplateContentInterfaceMock) AddClusterScopedHandlerCalls

func (mock *TemplateContentInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.TemplateContentHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTemplateContentInterface.AddClusterScopedHandlerCalls())

func (*TemplateContentInterfaceMock) AddClusterScopedLifecycle

func (mock *TemplateContentInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateContentLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*TemplateContentInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *TemplateContentInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.TemplateContentLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedTemplateContentInterface.AddClusterScopedLifecycleCalls())

func (*TemplateContentInterfaceMock) AddFeatureHandler

func (mock *TemplateContentInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TemplateContentHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TemplateContentInterfaceMock) AddFeatureHandlerCalls

func (mock *TemplateContentInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TemplateContentHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTemplateContentInterface.AddFeatureHandlerCalls())

func (*TemplateContentInterfaceMock) AddFeatureLifecycle

func (mock *TemplateContentInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateContentLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*TemplateContentInterfaceMock) AddFeatureLifecycleCalls

func (mock *TemplateContentInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.TemplateContentLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedTemplateContentInterface.AddFeatureLifecycleCalls())

func (*TemplateContentInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*TemplateContentInterfaceMock) AddHandlerCalls

func (mock *TemplateContentInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.TemplateContentHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTemplateContentInterface.AddHandlerCalls())

func (*TemplateContentInterfaceMock) AddLifecycle

func (mock *TemplateContentInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.TemplateContentLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*TemplateContentInterfaceMock) AddLifecycleCalls

func (mock *TemplateContentInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.TemplateContentLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedTemplateContentInterface.AddLifecycleCalls())

func (*TemplateContentInterfaceMock) Controller

Controller calls ControllerFunc.

func (*TemplateContentInterfaceMock) ControllerCalls

func (mock *TemplateContentInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedTemplateContentInterface.ControllerCalls())

func (*TemplateContentInterfaceMock) Create

Create calls CreateFunc.

func (*TemplateContentInterfaceMock) CreateCalls

func (mock *TemplateContentInterfaceMock) CreateCalls() []struct {
	In1 *v3.TemplateContent
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedTemplateContentInterface.CreateCalls())

func (*TemplateContentInterfaceMock) Delete

func (mock *TemplateContentInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*TemplateContentInterfaceMock) DeleteCalls

func (mock *TemplateContentInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedTemplateContentInterface.DeleteCalls())

func (*TemplateContentInterfaceMock) DeleteCollection

func (mock *TemplateContentInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*TemplateContentInterfaceMock) DeleteCollectionCalls

func (mock *TemplateContentInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedTemplateContentInterface.DeleteCollectionCalls())

func (*TemplateContentInterfaceMock) DeleteNamespaced

func (mock *TemplateContentInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*TemplateContentInterfaceMock) DeleteNamespacedCalls

func (mock *TemplateContentInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedTemplateContentInterface.DeleteNamespacedCalls())

func (*TemplateContentInterfaceMock) Get

Get calls GetFunc.

func (*TemplateContentInterfaceMock) GetCalls

func (mock *TemplateContentInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTemplateContentInterface.GetCalls())

func (*TemplateContentInterfaceMock) GetNamespaced

func (mock *TemplateContentInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.TemplateContent, error)

GetNamespaced calls GetNamespacedFunc.

func (*TemplateContentInterfaceMock) GetNamespacedCalls

func (mock *TemplateContentInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedTemplateContentInterface.GetNamespacedCalls())

func (*TemplateContentInterfaceMock) List

List calls ListFunc.

func (*TemplateContentInterfaceMock) ListCalls

func (mock *TemplateContentInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTemplateContentInterface.ListCalls())

func (*TemplateContentInterfaceMock) ListNamespaced

func (mock *TemplateContentInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.TemplateContentList, error)

ListNamespaced calls ListNamespacedFunc.

func (*TemplateContentInterfaceMock) ListNamespacedCalls

func (mock *TemplateContentInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedTemplateContentInterface.ListNamespacedCalls())

func (*TemplateContentInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*TemplateContentInterfaceMock) ObjectClientCalls

func (mock *TemplateContentInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedTemplateContentInterface.ObjectClientCalls())

func (*TemplateContentInterfaceMock) Update

Update calls UpdateFunc.

func (*TemplateContentInterfaceMock) UpdateCalls

func (mock *TemplateContentInterfaceMock) UpdateCalls() []struct {
	In1 *v3.TemplateContent
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedTemplateContentInterface.UpdateCalls())

func (*TemplateContentInterfaceMock) Watch

Watch calls WatchFunc.

func (*TemplateContentInterfaceMock) WatchCalls

func (mock *TemplateContentInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedTemplateContentInterface.WatchCalls())

type TemplateContentListerMock

type TemplateContentListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.TemplateContent, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.TemplateContent, error)
	// contains filtered or unexported fields
}

TemplateContentListerMock is a mock implementation of TemplateContentLister.

    func TestSomethingThatUsesTemplateContentLister(t *testing.T) {

        // make and configure a mocked TemplateContentLister
        mockedTemplateContentLister := &TemplateContentListerMock{
            GetFunc: func(namespace string, name string) (*v3.TemplateContent, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.TemplateContent, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedTemplateContentLister in code that requires TemplateContentLister
        // and then make assertions.

    }

func (*TemplateContentListerMock) Get

func (mock *TemplateContentListerMock) Get(namespace string, name string) (*v3.TemplateContent, error)

Get calls GetFunc.

func (*TemplateContentListerMock) GetCalls

func (mock *TemplateContentListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTemplateContentLister.GetCalls())

func (*TemplateContentListerMock) List

func (mock *TemplateContentListerMock) List(namespace string, selector labels.Selector) ([]*v3.TemplateContent, error)

List calls ListFunc.

func (*TemplateContentListerMock) ListCalls

func (mock *TemplateContentListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTemplateContentLister.ListCalls())

type TemplateContentsGetterMock

type TemplateContentsGetterMock struct {
	// TemplateContentsFunc mocks the TemplateContents method.
	TemplateContentsFunc func(namespace string) v3.TemplateContentInterface
	// contains filtered or unexported fields
}

TemplateContentsGetterMock is a mock implementation of TemplateContentsGetter.

    func TestSomethingThatUsesTemplateContentsGetter(t *testing.T) {

        // make and configure a mocked TemplateContentsGetter
        mockedTemplateContentsGetter := &TemplateContentsGetterMock{
            TemplateContentsFunc: func(namespace string) v3.TemplateContentInterface {
	               panic("mock out the TemplateContents method")
            },
        }

        // use mockedTemplateContentsGetter in code that requires TemplateContentsGetter
        // and then make assertions.

    }

func (*TemplateContentsGetterMock) TemplateContents

func (mock *TemplateContentsGetterMock) TemplateContents(namespace string) v3.TemplateContentInterface

TemplateContents calls TemplateContentsFunc.

func (*TemplateContentsGetterMock) TemplateContentsCalls

func (mock *TemplateContentsGetterMock) TemplateContentsCalls() []struct {
	Namespace string
}

TemplateContentsCalls gets all the calls that were made to TemplateContents. Check the length with:

len(mockedTemplateContentsGetter.TemplateContentsCalls())

type TemplateControllerMock

type TemplateControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.TemplateHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.TemplateHandlerFunc)

	// 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.TemplateLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

TemplateControllerMock is a mock implementation of TemplateController.

    func TestSomethingThatUsesTemplateController(t *testing.T) {

        // make and configure a mocked TemplateController
        mockedTemplateController := &TemplateControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.TemplateHandlerFunc)  {
	               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.TemplateLister {
	               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 mockedTemplateController in code that requires TemplateController
        // and then make assertions.

    }

func (*TemplateControllerMock) AddClusterScopedFeatureHandler

func (mock *TemplateControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TemplateControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *TemplateControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.TemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTemplateController.AddClusterScopedFeatureHandlerCalls())

func (*TemplateControllerMock) AddClusterScopedHandler

func (mock *TemplateControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.TemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TemplateControllerMock) AddClusterScopedHandlerCalls

func (mock *TemplateControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.TemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTemplateController.AddClusterScopedHandlerCalls())

func (*TemplateControllerMock) AddFeatureHandler

func (mock *TemplateControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TemplateControllerMock) AddFeatureHandlerCalls

func (mock *TemplateControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTemplateController.AddFeatureHandlerCalls())

func (*TemplateControllerMock) AddHandler

func (mock *TemplateControllerMock) AddHandler(ctx context.Context, name string, handler v3.TemplateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*TemplateControllerMock) AddHandlerCalls

func (mock *TemplateControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.TemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTemplateController.AddHandlerCalls())

func (*TemplateControllerMock) Enqueue

func (mock *TemplateControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*TemplateControllerMock) EnqueueAfter

func (mock *TemplateControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*TemplateControllerMock) EnqueueAfterCalls

func (mock *TemplateControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedTemplateController.EnqueueAfterCalls())

func (*TemplateControllerMock) EnqueueCalls

func (mock *TemplateControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedTemplateController.EnqueueCalls())

func (*TemplateControllerMock) Generic

Generic calls GenericFunc.

func (*TemplateControllerMock) GenericCalls

func (mock *TemplateControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedTemplateController.GenericCalls())

func (*TemplateControllerMock) Informer

Informer calls InformerFunc.

func (*TemplateControllerMock) InformerCalls

func (mock *TemplateControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedTemplateController.InformerCalls())

func (*TemplateControllerMock) Lister

func (mock *TemplateControllerMock) Lister() v3.TemplateLister

Lister calls ListerFunc.

func (*TemplateControllerMock) ListerCalls

func (mock *TemplateControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedTemplateController.ListerCalls())

func (*TemplateControllerMock) Start

func (mock *TemplateControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*TemplateControllerMock) StartCalls

func (mock *TemplateControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedTemplateController.StartCalls())

func (*TemplateControllerMock) Sync

func (mock *TemplateControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*TemplateControllerMock) SyncCalls

func (mock *TemplateControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedTemplateController.SyncCalls())

type TemplateInterfaceMock

type TemplateInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.TemplateHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.TemplateHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.TemplateLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.TemplateController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Template) (*v3.Template, 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.Template, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Template, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.TemplateList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.TemplateList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Template) (*v3.Template, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

TemplateInterfaceMock is a mock implementation of TemplateInterface.

    func TestSomethingThatUsesTemplateInterface(t *testing.T) {

        // make and configure a mocked TemplateInterface
        mockedTemplateInterface := &TemplateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.TemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.TemplateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.TemplateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.TemplateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Template) (*v3.Template, 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.Template, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Template, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.TemplateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.TemplateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Template) (*v3.Template, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedTemplateInterface in code that requires TemplateInterface
        // and then make assertions.

    }

func (*TemplateInterfaceMock) AddClusterScopedFeatureHandler

func (mock *TemplateInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *TemplateInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.TemplateHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTemplateInterface.AddClusterScopedFeatureHandlerCalls())

func (*TemplateInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *TemplateInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*TemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *TemplateInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.TemplateLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedTemplateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*TemplateInterfaceMock) AddClusterScopedHandler

func (mock *TemplateInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.TemplateHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TemplateInterfaceMock) AddClusterScopedHandlerCalls

func (mock *TemplateInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.TemplateHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTemplateInterface.AddClusterScopedHandlerCalls())

func (*TemplateInterfaceMock) AddClusterScopedLifecycle

func (mock *TemplateInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*TemplateInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *TemplateInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.TemplateLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedTemplateInterface.AddClusterScopedLifecycleCalls())

func (*TemplateInterfaceMock) AddFeatureHandler

func (mock *TemplateInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TemplateHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TemplateInterfaceMock) AddFeatureHandlerCalls

func (mock *TemplateInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TemplateHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTemplateInterface.AddFeatureHandlerCalls())

func (*TemplateInterfaceMock) AddFeatureLifecycle

func (mock *TemplateInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*TemplateInterfaceMock) AddFeatureLifecycleCalls

func (mock *TemplateInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.TemplateLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedTemplateInterface.AddFeatureLifecycleCalls())

func (*TemplateInterfaceMock) AddHandler

func (mock *TemplateInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.TemplateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*TemplateInterfaceMock) AddHandlerCalls

func (mock *TemplateInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.TemplateHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTemplateInterface.AddHandlerCalls())

func (*TemplateInterfaceMock) AddLifecycle

func (mock *TemplateInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.TemplateLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*TemplateInterfaceMock) AddLifecycleCalls

func (mock *TemplateInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.TemplateLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedTemplateInterface.AddLifecycleCalls())

func (*TemplateInterfaceMock) Controller

func (mock *TemplateInterfaceMock) Controller() v3.TemplateController

Controller calls ControllerFunc.

func (*TemplateInterfaceMock) ControllerCalls

func (mock *TemplateInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedTemplateInterface.ControllerCalls())

func (*TemplateInterfaceMock) Create

func (mock *TemplateInterfaceMock) Create(in1 *v3.Template) (*v3.Template, error)

Create calls CreateFunc.

func (*TemplateInterfaceMock) CreateCalls

func (mock *TemplateInterfaceMock) CreateCalls() []struct {
	In1 *v3.Template
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedTemplateInterface.CreateCalls())

func (*TemplateInterfaceMock) Delete

func (mock *TemplateInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*TemplateInterfaceMock) DeleteCalls

func (mock *TemplateInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedTemplateInterface.DeleteCalls())

func (*TemplateInterfaceMock) DeleteCollection

func (mock *TemplateInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*TemplateInterfaceMock) DeleteCollectionCalls

func (mock *TemplateInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedTemplateInterface.DeleteCollectionCalls())

func (*TemplateInterfaceMock) DeleteNamespaced

func (mock *TemplateInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*TemplateInterfaceMock) DeleteNamespacedCalls

func (mock *TemplateInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedTemplateInterface.DeleteNamespacedCalls())

func (*TemplateInterfaceMock) Get

func (mock *TemplateInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Template, error)

Get calls GetFunc.

func (*TemplateInterfaceMock) GetCalls

func (mock *TemplateInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTemplateInterface.GetCalls())

func (*TemplateInterfaceMock) GetNamespaced

func (mock *TemplateInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Template, error)

GetNamespaced calls GetNamespacedFunc.

func (*TemplateInterfaceMock) GetNamespacedCalls

func (mock *TemplateInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedTemplateInterface.GetNamespacedCalls())

func (*TemplateInterfaceMock) List

List calls ListFunc.

func (*TemplateInterfaceMock) ListCalls

func (mock *TemplateInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTemplateInterface.ListCalls())

func (*TemplateInterfaceMock) ListNamespaced

func (mock *TemplateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.TemplateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*TemplateInterfaceMock) ListNamespacedCalls

func (mock *TemplateInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedTemplateInterface.ListNamespacedCalls())

func (*TemplateInterfaceMock) ObjectClient

func (mock *TemplateInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*TemplateInterfaceMock) ObjectClientCalls

func (mock *TemplateInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedTemplateInterface.ObjectClientCalls())

func (*TemplateInterfaceMock) Update

func (mock *TemplateInterfaceMock) Update(in1 *v3.Template) (*v3.Template, error)

Update calls UpdateFunc.

func (*TemplateInterfaceMock) UpdateCalls

func (mock *TemplateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Template
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedTemplateInterface.UpdateCalls())

func (*TemplateInterfaceMock) Watch

Watch calls WatchFunc.

func (*TemplateInterfaceMock) WatchCalls

func (mock *TemplateInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedTemplateInterface.WatchCalls())

type TemplateListerMock

type TemplateListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Template, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Template, error)
	// contains filtered or unexported fields
}

TemplateListerMock is a mock implementation of TemplateLister.

    func TestSomethingThatUsesTemplateLister(t *testing.T) {

        // make and configure a mocked TemplateLister
        mockedTemplateLister := &TemplateListerMock{
            GetFunc: func(namespace string, name string) (*v3.Template, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Template, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedTemplateLister in code that requires TemplateLister
        // and then make assertions.

    }

func (*TemplateListerMock) Get

func (mock *TemplateListerMock) Get(namespace string, name string) (*v3.Template, error)

Get calls GetFunc.

func (*TemplateListerMock) GetCalls

func (mock *TemplateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTemplateLister.GetCalls())

func (*TemplateListerMock) List

func (mock *TemplateListerMock) List(namespace string, selector labels.Selector) ([]*v3.Template, error)

List calls ListFunc.

func (*TemplateListerMock) ListCalls

func (mock *TemplateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTemplateLister.ListCalls())

type TemplateVersionControllerMock

type TemplateVersionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateVersionHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.TemplateVersionHandlerFunc)

	// 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.TemplateVersionLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

TemplateVersionControllerMock is a mock implementation of TemplateVersionController.

    func TestSomethingThatUsesTemplateVersionController(t *testing.T) {

        // make and configure a mocked TemplateVersionController
        mockedTemplateVersionController := &TemplateVersionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.TemplateVersionHandlerFunc)  {
	               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.TemplateVersionLister {
	               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 mockedTemplateVersionController in code that requires TemplateVersionController
        // and then make assertions.

    }

func (*TemplateVersionControllerMock) AddClusterScopedFeatureHandler

func (mock *TemplateVersionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TemplateVersionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *TemplateVersionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.TemplateVersionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTemplateVersionController.AddClusterScopedFeatureHandlerCalls())

func (*TemplateVersionControllerMock) AddClusterScopedHandler

func (mock *TemplateVersionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TemplateVersionControllerMock) AddClusterScopedHandlerCalls

func (mock *TemplateVersionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.TemplateVersionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTemplateVersionController.AddClusterScopedHandlerCalls())

func (*TemplateVersionControllerMock) AddFeatureHandler

func (mock *TemplateVersionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TemplateVersionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TemplateVersionControllerMock) AddFeatureHandlerCalls

func (mock *TemplateVersionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TemplateVersionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTemplateVersionController.AddFeatureHandlerCalls())

func (*TemplateVersionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*TemplateVersionControllerMock) AddHandlerCalls

func (mock *TemplateVersionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.TemplateVersionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTemplateVersionController.AddHandlerCalls())

func (*TemplateVersionControllerMock) Enqueue

func (mock *TemplateVersionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*TemplateVersionControllerMock) EnqueueAfter

func (mock *TemplateVersionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*TemplateVersionControllerMock) EnqueueAfterCalls

func (mock *TemplateVersionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedTemplateVersionController.EnqueueAfterCalls())

func (*TemplateVersionControllerMock) EnqueueCalls

func (mock *TemplateVersionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedTemplateVersionController.EnqueueCalls())

func (*TemplateVersionControllerMock) Generic

Generic calls GenericFunc.

func (*TemplateVersionControllerMock) GenericCalls

func (mock *TemplateVersionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedTemplateVersionController.GenericCalls())

func (*TemplateVersionControllerMock) Informer

Informer calls InformerFunc.

func (*TemplateVersionControllerMock) InformerCalls

func (mock *TemplateVersionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedTemplateVersionController.InformerCalls())

func (*TemplateVersionControllerMock) Lister

Lister calls ListerFunc.

func (*TemplateVersionControllerMock) ListerCalls

func (mock *TemplateVersionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedTemplateVersionController.ListerCalls())

func (*TemplateVersionControllerMock) Start

func (mock *TemplateVersionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*TemplateVersionControllerMock) StartCalls

func (mock *TemplateVersionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedTemplateVersionController.StartCalls())

func (*TemplateVersionControllerMock) Sync

Sync calls SyncFunc.

func (*TemplateVersionControllerMock) SyncCalls

func (mock *TemplateVersionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedTemplateVersionController.SyncCalls())

type TemplateVersionInterfaceMock

type TemplateVersionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateVersionHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateVersionLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.TemplateVersionHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateVersionLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateVersionHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateVersionLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.TemplateVersionHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.TemplateVersionLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.TemplateVersionController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.TemplateVersion) (*v3.TemplateVersion, 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.TemplateVersion, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.TemplateVersion, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.TemplateVersionList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.TemplateVersionList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.TemplateVersion) (*v3.TemplateVersion, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

TemplateVersionInterfaceMock is a mock implementation of TemplateVersionInterface.

    func TestSomethingThatUsesTemplateVersionInterface(t *testing.T) {

        // make and configure a mocked TemplateVersionInterface
        mockedTemplateVersionInterface := &TemplateVersionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateVersionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateVersionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateVersionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.TemplateVersionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.TemplateVersionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.TemplateVersion) (*v3.TemplateVersion, 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.TemplateVersion, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.TemplateVersion, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.TemplateVersionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.TemplateVersionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.TemplateVersion) (*v3.TemplateVersion, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedTemplateVersionInterface in code that requires TemplateVersionInterface
        // and then make assertions.

    }

func (*TemplateVersionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *TemplateVersionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TemplateVersionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TemplateVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *TemplateVersionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.TemplateVersionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTemplateVersionInterface.AddClusterScopedFeatureHandlerCalls())

func (*TemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *TemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TemplateVersionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*TemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *TemplateVersionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.TemplateVersionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedTemplateVersionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*TemplateVersionInterfaceMock) AddClusterScopedHandler

func (mock *TemplateVersionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.TemplateVersionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TemplateVersionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *TemplateVersionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.TemplateVersionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTemplateVersionInterface.AddClusterScopedHandlerCalls())

func (*TemplateVersionInterfaceMock) AddClusterScopedLifecycle

func (mock *TemplateVersionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.TemplateVersionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*TemplateVersionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *TemplateVersionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.TemplateVersionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedTemplateVersionInterface.AddClusterScopedLifecycleCalls())

func (*TemplateVersionInterfaceMock) AddFeatureHandler

func (mock *TemplateVersionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TemplateVersionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TemplateVersionInterfaceMock) AddFeatureHandlerCalls

func (mock *TemplateVersionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TemplateVersionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTemplateVersionInterface.AddFeatureHandlerCalls())

func (*TemplateVersionInterfaceMock) AddFeatureLifecycle

func (mock *TemplateVersionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.TemplateVersionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*TemplateVersionInterfaceMock) AddFeatureLifecycleCalls

func (mock *TemplateVersionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.TemplateVersionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedTemplateVersionInterface.AddFeatureLifecycleCalls())

func (*TemplateVersionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*TemplateVersionInterfaceMock) AddHandlerCalls

func (mock *TemplateVersionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.TemplateVersionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTemplateVersionInterface.AddHandlerCalls())

func (*TemplateVersionInterfaceMock) AddLifecycle

func (mock *TemplateVersionInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.TemplateVersionLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*TemplateVersionInterfaceMock) AddLifecycleCalls

func (mock *TemplateVersionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.TemplateVersionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedTemplateVersionInterface.AddLifecycleCalls())

func (*TemplateVersionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*TemplateVersionInterfaceMock) ControllerCalls

func (mock *TemplateVersionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedTemplateVersionInterface.ControllerCalls())

func (*TemplateVersionInterfaceMock) Create

Create calls CreateFunc.

func (*TemplateVersionInterfaceMock) CreateCalls

func (mock *TemplateVersionInterfaceMock) CreateCalls() []struct {
	In1 *v3.TemplateVersion
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedTemplateVersionInterface.CreateCalls())

func (*TemplateVersionInterfaceMock) Delete

func (mock *TemplateVersionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*TemplateVersionInterfaceMock) DeleteCalls

func (mock *TemplateVersionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedTemplateVersionInterface.DeleteCalls())

func (*TemplateVersionInterfaceMock) DeleteCollection

func (mock *TemplateVersionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*TemplateVersionInterfaceMock) DeleteCollectionCalls

func (mock *TemplateVersionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedTemplateVersionInterface.DeleteCollectionCalls())

func (*TemplateVersionInterfaceMock) DeleteNamespaced

func (mock *TemplateVersionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*TemplateVersionInterfaceMock) DeleteNamespacedCalls

func (mock *TemplateVersionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedTemplateVersionInterface.DeleteNamespacedCalls())

func (*TemplateVersionInterfaceMock) Get

Get calls GetFunc.

func (*TemplateVersionInterfaceMock) GetCalls

func (mock *TemplateVersionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTemplateVersionInterface.GetCalls())

func (*TemplateVersionInterfaceMock) GetNamespaced

func (mock *TemplateVersionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.TemplateVersion, error)

GetNamespaced calls GetNamespacedFunc.

func (*TemplateVersionInterfaceMock) GetNamespacedCalls

func (mock *TemplateVersionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedTemplateVersionInterface.GetNamespacedCalls())

func (*TemplateVersionInterfaceMock) List

List calls ListFunc.

func (*TemplateVersionInterfaceMock) ListCalls

func (mock *TemplateVersionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTemplateVersionInterface.ListCalls())

func (*TemplateVersionInterfaceMock) ListNamespaced

func (mock *TemplateVersionInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.TemplateVersionList, error)

ListNamespaced calls ListNamespacedFunc.

func (*TemplateVersionInterfaceMock) ListNamespacedCalls

func (mock *TemplateVersionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedTemplateVersionInterface.ListNamespacedCalls())

func (*TemplateVersionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*TemplateVersionInterfaceMock) ObjectClientCalls

func (mock *TemplateVersionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedTemplateVersionInterface.ObjectClientCalls())

func (*TemplateVersionInterfaceMock) Update

Update calls UpdateFunc.

func (*TemplateVersionInterfaceMock) UpdateCalls

func (mock *TemplateVersionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.TemplateVersion
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedTemplateVersionInterface.UpdateCalls())

func (*TemplateVersionInterfaceMock) Watch

Watch calls WatchFunc.

func (*TemplateVersionInterfaceMock) WatchCalls

func (mock *TemplateVersionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedTemplateVersionInterface.WatchCalls())

type TemplateVersionListerMock

type TemplateVersionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.TemplateVersion, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.TemplateVersion, error)
	// contains filtered or unexported fields
}

TemplateVersionListerMock is a mock implementation of TemplateVersionLister.

    func TestSomethingThatUsesTemplateVersionLister(t *testing.T) {

        // make and configure a mocked TemplateVersionLister
        mockedTemplateVersionLister := &TemplateVersionListerMock{
            GetFunc: func(namespace string, name string) (*v3.TemplateVersion, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.TemplateVersion, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedTemplateVersionLister in code that requires TemplateVersionLister
        // and then make assertions.

    }

func (*TemplateVersionListerMock) Get

func (mock *TemplateVersionListerMock) Get(namespace string, name string) (*v3.TemplateVersion, error)

Get calls GetFunc.

func (*TemplateVersionListerMock) GetCalls

func (mock *TemplateVersionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTemplateVersionLister.GetCalls())

func (*TemplateVersionListerMock) List

func (mock *TemplateVersionListerMock) List(namespace string, selector labels.Selector) ([]*v3.TemplateVersion, error)

List calls ListFunc.

func (*TemplateVersionListerMock) ListCalls

func (mock *TemplateVersionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTemplateVersionLister.ListCalls())

type TemplateVersionsGetterMock

type TemplateVersionsGetterMock struct {
	// TemplateVersionsFunc mocks the TemplateVersions method.
	TemplateVersionsFunc func(namespace string) v3.TemplateVersionInterface
	// contains filtered or unexported fields
}

TemplateVersionsGetterMock is a mock implementation of TemplateVersionsGetter.

    func TestSomethingThatUsesTemplateVersionsGetter(t *testing.T) {

        // make and configure a mocked TemplateVersionsGetter
        mockedTemplateVersionsGetter := &TemplateVersionsGetterMock{
            TemplateVersionsFunc: func(namespace string) v3.TemplateVersionInterface {
	               panic("mock out the TemplateVersions method")
            },
        }

        // use mockedTemplateVersionsGetter in code that requires TemplateVersionsGetter
        // and then make assertions.

    }

func (*TemplateVersionsGetterMock) TemplateVersions

func (mock *TemplateVersionsGetterMock) TemplateVersions(namespace string) v3.TemplateVersionInterface

TemplateVersions calls TemplateVersionsFunc.

func (*TemplateVersionsGetterMock) TemplateVersionsCalls

func (mock *TemplateVersionsGetterMock) TemplateVersionsCalls() []struct {
	Namespace string
}

TemplateVersionsCalls gets all the calls that were made to TemplateVersions. Check the length with:

len(mockedTemplateVersionsGetter.TemplateVersionsCalls())

type TemplatesGetterMock

type TemplatesGetterMock struct {
	// TemplatesFunc mocks the Templates method.
	TemplatesFunc func(namespace string) v3.TemplateInterface
	// contains filtered or unexported fields
}

TemplatesGetterMock is a mock implementation of TemplatesGetter.

    func TestSomethingThatUsesTemplatesGetter(t *testing.T) {

        // make and configure a mocked TemplatesGetter
        mockedTemplatesGetter := &TemplatesGetterMock{
            TemplatesFunc: func(namespace string) v3.TemplateInterface {
	               panic("mock out the Templates method")
            },
        }

        // use mockedTemplatesGetter in code that requires TemplatesGetter
        // and then make assertions.

    }

func (*TemplatesGetterMock) Templates

func (mock *TemplatesGetterMock) Templates(namespace string) v3.TemplateInterface

Templates calls TemplatesFunc.

func (*TemplatesGetterMock) TemplatesCalls

func (mock *TemplatesGetterMock) TemplatesCalls() []struct {
	Namespace string
}

TemplatesCalls gets all the calls that were made to Templates. Check the length with:

len(mockedTemplatesGetter.TemplatesCalls())

type TokenControllerMock

type TokenControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TokenHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.TokenHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TokenHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.TokenHandlerFunc)

	// 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.TokenLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

TokenControllerMock is a mock implementation of TokenController.

    func TestSomethingThatUsesTokenController(t *testing.T) {

        // make and configure a mocked TokenController
        mockedTokenController := &TokenControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.TokenHandlerFunc)  {
	               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.TokenLister {
	               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 mockedTokenController in code that requires TokenController
        // and then make assertions.

    }

func (*TokenControllerMock) AddClusterScopedFeatureHandler

func (mock *TokenControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.TokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TokenControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *TokenControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.TokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTokenController.AddClusterScopedFeatureHandlerCalls())

func (*TokenControllerMock) AddClusterScopedHandler

func (mock *TokenControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.TokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TokenControllerMock) AddClusterScopedHandlerCalls

func (mock *TokenControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.TokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTokenController.AddClusterScopedHandlerCalls())

func (*TokenControllerMock) AddFeatureHandler

func (mock *TokenControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TokenControllerMock) AddFeatureHandlerCalls

func (mock *TokenControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTokenController.AddFeatureHandlerCalls())

func (*TokenControllerMock) AddHandler

func (mock *TokenControllerMock) AddHandler(ctx context.Context, name string, handler v3.TokenHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*TokenControllerMock) AddHandlerCalls

func (mock *TokenControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.TokenHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTokenController.AddHandlerCalls())

func (*TokenControllerMock) Enqueue

func (mock *TokenControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*TokenControllerMock) EnqueueAfter

func (mock *TokenControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*TokenControllerMock) EnqueueAfterCalls

func (mock *TokenControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedTokenController.EnqueueAfterCalls())

func (*TokenControllerMock) EnqueueCalls

func (mock *TokenControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedTokenController.EnqueueCalls())

func (*TokenControllerMock) Generic

Generic calls GenericFunc.

func (*TokenControllerMock) GenericCalls

func (mock *TokenControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedTokenController.GenericCalls())

func (*TokenControllerMock) Informer

Informer calls InformerFunc.

func (*TokenControllerMock) InformerCalls

func (mock *TokenControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedTokenController.InformerCalls())

func (*TokenControllerMock) Lister

func (mock *TokenControllerMock) Lister() v3.TokenLister

Lister calls ListerFunc.

func (*TokenControllerMock) ListerCalls

func (mock *TokenControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedTokenController.ListerCalls())

func (*TokenControllerMock) Start

func (mock *TokenControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*TokenControllerMock) StartCalls

func (mock *TokenControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedTokenController.StartCalls())

func (*TokenControllerMock) Sync

func (mock *TokenControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*TokenControllerMock) SyncCalls

func (mock *TokenControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedTokenController.SyncCalls())

type TokenInterfaceMock

type TokenInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TokenHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TokenLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.TokenHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.TokenLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.TokenHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TokenLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.TokenHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.TokenLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.TokenController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Token) (*v3.Token, 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.Token, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Token, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.TokenList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.TokenList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Token) (*v3.Token, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

TokenInterfaceMock is a mock implementation of TokenInterface.

    func TestSomethingThatUsesTokenInterface(t *testing.T) {

        // make and configure a mocked TokenInterface
        mockedTokenInterface := &TokenInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TokenLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.TokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.TokenLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.TokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.TokenLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.TokenHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.TokenLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.TokenController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Token) (*v3.Token, 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.Token, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Token, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.TokenList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.TokenList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Token) (*v3.Token, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedTokenInterface in code that requires TokenInterface
        // and then make assertions.

    }

func (*TokenInterfaceMock) AddClusterScopedFeatureHandler

func (mock *TokenInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.TokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*TokenInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *TokenInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.TokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedTokenInterface.AddClusterScopedFeatureHandlerCalls())

func (*TokenInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *TokenInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.TokenLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*TokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *TokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.TokenLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedTokenInterface.AddClusterScopedFeatureLifecycleCalls())

func (*TokenInterfaceMock) AddClusterScopedHandler

func (mock *TokenInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.TokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*TokenInterfaceMock) AddClusterScopedHandlerCalls

func (mock *TokenInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.TokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedTokenInterface.AddClusterScopedHandlerCalls())

func (*TokenInterfaceMock) AddClusterScopedLifecycle

func (mock *TokenInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.TokenLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*TokenInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *TokenInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.TokenLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedTokenInterface.AddClusterScopedLifecycleCalls())

func (*TokenInterfaceMock) AddFeatureHandler

func (mock *TokenInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.TokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*TokenInterfaceMock) AddFeatureHandlerCalls

func (mock *TokenInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.TokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedTokenInterface.AddFeatureHandlerCalls())

func (*TokenInterfaceMock) AddFeatureLifecycle

func (mock *TokenInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.TokenLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*TokenInterfaceMock) AddFeatureLifecycleCalls

func (mock *TokenInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.TokenLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedTokenInterface.AddFeatureLifecycleCalls())

func (*TokenInterfaceMock) AddHandler

func (mock *TokenInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.TokenHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*TokenInterfaceMock) AddHandlerCalls

func (mock *TokenInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.TokenHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedTokenInterface.AddHandlerCalls())

func (*TokenInterfaceMock) AddLifecycle

func (mock *TokenInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.TokenLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*TokenInterfaceMock) AddLifecycleCalls

func (mock *TokenInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.TokenLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedTokenInterface.AddLifecycleCalls())

func (*TokenInterfaceMock) Controller

func (mock *TokenInterfaceMock) Controller() v3.TokenController

Controller calls ControllerFunc.

func (*TokenInterfaceMock) ControllerCalls

func (mock *TokenInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedTokenInterface.ControllerCalls())

func (*TokenInterfaceMock) Create

func (mock *TokenInterfaceMock) Create(in1 *v3.Token) (*v3.Token, error)

Create calls CreateFunc.

func (*TokenInterfaceMock) CreateCalls

func (mock *TokenInterfaceMock) CreateCalls() []struct {
	In1 *v3.Token
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedTokenInterface.CreateCalls())

func (*TokenInterfaceMock) Delete

func (mock *TokenInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*TokenInterfaceMock) DeleteCalls

func (mock *TokenInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedTokenInterface.DeleteCalls())

func (*TokenInterfaceMock) DeleteCollection

func (mock *TokenInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*TokenInterfaceMock) DeleteCollectionCalls

func (mock *TokenInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedTokenInterface.DeleteCollectionCalls())

func (*TokenInterfaceMock) DeleteNamespaced

func (mock *TokenInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*TokenInterfaceMock) DeleteNamespacedCalls

func (mock *TokenInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedTokenInterface.DeleteNamespacedCalls())

func (*TokenInterfaceMock) Get

func (mock *TokenInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Token, error)

Get calls GetFunc.

func (*TokenInterfaceMock) GetCalls

func (mock *TokenInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTokenInterface.GetCalls())

func (*TokenInterfaceMock) GetNamespaced

func (mock *TokenInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Token, error)

GetNamespaced calls GetNamespacedFunc.

func (*TokenInterfaceMock) GetNamespacedCalls

func (mock *TokenInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedTokenInterface.GetNamespacedCalls())

func (*TokenInterfaceMock) List

func (mock *TokenInterfaceMock) List(opts v1.ListOptions) (*v3.TokenList, error)

List calls ListFunc.

func (*TokenInterfaceMock) ListCalls

func (mock *TokenInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTokenInterface.ListCalls())

func (*TokenInterfaceMock) ListNamespaced

func (mock *TokenInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.TokenList, error)

ListNamespaced calls ListNamespacedFunc.

func (*TokenInterfaceMock) ListNamespacedCalls

func (mock *TokenInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedTokenInterface.ListNamespacedCalls())

func (*TokenInterfaceMock) ObjectClient

func (mock *TokenInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*TokenInterfaceMock) ObjectClientCalls

func (mock *TokenInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedTokenInterface.ObjectClientCalls())

func (*TokenInterfaceMock) Update

func (mock *TokenInterfaceMock) Update(in1 *v3.Token) (*v3.Token, error)

Update calls UpdateFunc.

func (*TokenInterfaceMock) UpdateCalls

func (mock *TokenInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Token
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedTokenInterface.UpdateCalls())

func (*TokenInterfaceMock) Watch

func (mock *TokenInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*TokenInterfaceMock) WatchCalls

func (mock *TokenInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedTokenInterface.WatchCalls())

type TokenListerMock

type TokenListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Token, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Token, error)
	// contains filtered or unexported fields
}

TokenListerMock is a mock implementation of TokenLister.

    func TestSomethingThatUsesTokenLister(t *testing.T) {

        // make and configure a mocked TokenLister
        mockedTokenLister := &TokenListerMock{
            GetFunc: func(namespace string, name string) (*v3.Token, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Token, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedTokenLister in code that requires TokenLister
        // and then make assertions.

    }

func (*TokenListerMock) Get

func (mock *TokenListerMock) Get(namespace string, name string) (*v3.Token, error)

Get calls GetFunc.

func (*TokenListerMock) GetCalls

func (mock *TokenListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedTokenLister.GetCalls())

func (*TokenListerMock) List

func (mock *TokenListerMock) List(namespace string, selector labels.Selector) ([]*v3.Token, error)

List calls ListFunc.

func (*TokenListerMock) ListCalls

func (mock *TokenListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedTokenLister.ListCalls())

type TokensGetterMock

type TokensGetterMock struct {
	// TokensFunc mocks the Tokens method.
	TokensFunc func(namespace string) v3.TokenInterface
	// contains filtered or unexported fields
}

TokensGetterMock is a mock implementation of TokensGetter.

    func TestSomethingThatUsesTokensGetter(t *testing.T) {

        // make and configure a mocked TokensGetter
        mockedTokensGetter := &TokensGetterMock{
            TokensFunc: func(namespace string) v3.TokenInterface {
	               panic("mock out the Tokens method")
            },
        }

        // use mockedTokensGetter in code that requires TokensGetter
        // and then make assertions.

    }

func (*TokensGetterMock) Tokens

func (mock *TokensGetterMock) Tokens(namespace string) v3.TokenInterface

Tokens calls TokensFunc.

func (*TokensGetterMock) TokensCalls

func (mock *TokensGetterMock) TokensCalls() []struct {
	Namespace string
}

TokensCalls gets all the calls that were made to Tokens. Check the length with:

len(mockedTokensGetter.TokensCalls())

type UserAttributeControllerMock

type UserAttributeControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.UserAttributeHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.UserAttributeHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.UserAttributeHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.UserAttributeHandlerFunc)

	// 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.UserAttributeLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

UserAttributeControllerMock is a mock implementation of UserAttributeController.

    func TestSomethingThatUsesUserAttributeController(t *testing.T) {

        // make and configure a mocked UserAttributeController
        mockedUserAttributeController := &UserAttributeControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.UserAttributeHandlerFunc)  {
	               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.UserAttributeLister {
	               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 mockedUserAttributeController in code that requires UserAttributeController
        // and then make assertions.

    }

func (*UserAttributeControllerMock) AddClusterScopedFeatureHandler

func (mock *UserAttributeControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.UserAttributeHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*UserAttributeControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *UserAttributeControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.UserAttributeHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedUserAttributeController.AddClusterScopedFeatureHandlerCalls())

func (*UserAttributeControllerMock) AddClusterScopedHandler

func (mock *UserAttributeControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.UserAttributeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*UserAttributeControllerMock) AddClusterScopedHandlerCalls

func (mock *UserAttributeControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.UserAttributeHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedUserAttributeController.AddClusterScopedHandlerCalls())

func (*UserAttributeControllerMock) AddFeatureHandler

func (mock *UserAttributeControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.UserAttributeHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*UserAttributeControllerMock) AddFeatureHandlerCalls

func (mock *UserAttributeControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.UserAttributeHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedUserAttributeController.AddFeatureHandlerCalls())

func (*UserAttributeControllerMock) AddHandler

func (mock *UserAttributeControllerMock) AddHandler(ctx context.Context, name string, handler v3.UserAttributeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*UserAttributeControllerMock) AddHandlerCalls

func (mock *UserAttributeControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.UserAttributeHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedUserAttributeController.AddHandlerCalls())

func (*UserAttributeControllerMock) Enqueue

func (mock *UserAttributeControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*UserAttributeControllerMock) EnqueueAfter

func (mock *UserAttributeControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*UserAttributeControllerMock) EnqueueAfterCalls

func (mock *UserAttributeControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedUserAttributeController.EnqueueAfterCalls())

func (*UserAttributeControllerMock) EnqueueCalls

func (mock *UserAttributeControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedUserAttributeController.EnqueueCalls())

func (*UserAttributeControllerMock) Generic

Generic calls GenericFunc.

func (*UserAttributeControllerMock) GenericCalls

func (mock *UserAttributeControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedUserAttributeController.GenericCalls())

func (*UserAttributeControllerMock) Informer

Informer calls InformerFunc.

func (*UserAttributeControllerMock) InformerCalls

func (mock *UserAttributeControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedUserAttributeController.InformerCalls())

func (*UserAttributeControllerMock) Lister

Lister calls ListerFunc.

func (*UserAttributeControllerMock) ListerCalls

func (mock *UserAttributeControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedUserAttributeController.ListerCalls())

func (*UserAttributeControllerMock) Start

func (mock *UserAttributeControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*UserAttributeControllerMock) StartCalls

func (mock *UserAttributeControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedUserAttributeController.StartCalls())

func (*UserAttributeControllerMock) Sync

Sync calls SyncFunc.

func (*UserAttributeControllerMock) SyncCalls

func (mock *UserAttributeControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedUserAttributeController.SyncCalls())

type UserAttributeInterfaceMock

type UserAttributeInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.UserAttributeHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.UserAttributeLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.UserAttributeHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.UserAttributeLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.UserAttributeHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.UserAttributeLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.UserAttributeHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.UserAttributeLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.UserAttributeController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.UserAttribute) (*v3.UserAttribute, 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.UserAttribute, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.UserAttribute, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.UserAttributeList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.UserAttributeList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.UserAttribute) (*v3.UserAttribute, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

UserAttributeInterfaceMock is a mock implementation of UserAttributeInterface.

    func TestSomethingThatUsesUserAttributeInterface(t *testing.T) {

        // make and configure a mocked UserAttributeInterface
        mockedUserAttributeInterface := &UserAttributeInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.UserAttributeLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.UserAttributeLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.UserAttributeLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.UserAttributeLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.UserAttributeController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.UserAttribute) (*v3.UserAttribute, 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.UserAttribute, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.UserAttribute, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.UserAttributeList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.UserAttributeList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.UserAttribute) (*v3.UserAttribute, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedUserAttributeInterface in code that requires UserAttributeInterface
        // and then make assertions.

    }

func (*UserAttributeInterfaceMock) AddClusterScopedFeatureHandler

func (mock *UserAttributeInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.UserAttributeHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*UserAttributeInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *UserAttributeInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.UserAttributeHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedUserAttributeInterface.AddClusterScopedFeatureHandlerCalls())

func (*UserAttributeInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *UserAttributeInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.UserAttributeLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*UserAttributeInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *UserAttributeInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.UserAttributeLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedUserAttributeInterface.AddClusterScopedFeatureLifecycleCalls())

func (*UserAttributeInterfaceMock) AddClusterScopedHandler

func (mock *UserAttributeInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.UserAttributeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*UserAttributeInterfaceMock) AddClusterScopedHandlerCalls

func (mock *UserAttributeInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.UserAttributeHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedUserAttributeInterface.AddClusterScopedHandlerCalls())

func (*UserAttributeInterfaceMock) AddClusterScopedLifecycle

func (mock *UserAttributeInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.UserAttributeLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*UserAttributeInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *UserAttributeInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.UserAttributeLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedUserAttributeInterface.AddClusterScopedLifecycleCalls())

func (*UserAttributeInterfaceMock) AddFeatureHandler

func (mock *UserAttributeInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.UserAttributeHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*UserAttributeInterfaceMock) AddFeatureHandlerCalls

func (mock *UserAttributeInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.UserAttributeHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedUserAttributeInterface.AddFeatureHandlerCalls())

func (*UserAttributeInterfaceMock) AddFeatureLifecycle

func (mock *UserAttributeInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.UserAttributeLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*UserAttributeInterfaceMock) AddFeatureLifecycleCalls

func (mock *UserAttributeInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.UserAttributeLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedUserAttributeInterface.AddFeatureLifecycleCalls())

func (*UserAttributeInterfaceMock) AddHandler

func (mock *UserAttributeInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.UserAttributeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*UserAttributeInterfaceMock) AddHandlerCalls

func (mock *UserAttributeInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.UserAttributeHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedUserAttributeInterface.AddHandlerCalls())

func (*UserAttributeInterfaceMock) AddLifecycle

func (mock *UserAttributeInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.UserAttributeLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*UserAttributeInterfaceMock) AddLifecycleCalls

func (mock *UserAttributeInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.UserAttributeLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedUserAttributeInterface.AddLifecycleCalls())

func (*UserAttributeInterfaceMock) Controller

Controller calls ControllerFunc.

func (*UserAttributeInterfaceMock) ControllerCalls

func (mock *UserAttributeInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedUserAttributeInterface.ControllerCalls())

func (*UserAttributeInterfaceMock) Create

Create calls CreateFunc.

func (*UserAttributeInterfaceMock) CreateCalls

func (mock *UserAttributeInterfaceMock) CreateCalls() []struct {
	In1 *v3.UserAttribute
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedUserAttributeInterface.CreateCalls())

func (*UserAttributeInterfaceMock) Delete

func (mock *UserAttributeInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*UserAttributeInterfaceMock) DeleteCalls

func (mock *UserAttributeInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedUserAttributeInterface.DeleteCalls())

func (*UserAttributeInterfaceMock) DeleteCollection

func (mock *UserAttributeInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*UserAttributeInterfaceMock) DeleteCollectionCalls

func (mock *UserAttributeInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedUserAttributeInterface.DeleteCollectionCalls())

func (*UserAttributeInterfaceMock) DeleteNamespaced

func (mock *UserAttributeInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*UserAttributeInterfaceMock) DeleteNamespacedCalls

func (mock *UserAttributeInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedUserAttributeInterface.DeleteNamespacedCalls())

func (*UserAttributeInterfaceMock) Get

Get calls GetFunc.

func (*UserAttributeInterfaceMock) GetCalls

func (mock *UserAttributeInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedUserAttributeInterface.GetCalls())

func (*UserAttributeInterfaceMock) GetNamespaced

func (mock *UserAttributeInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.UserAttribute, error)

GetNamespaced calls GetNamespacedFunc.

func (*UserAttributeInterfaceMock) GetNamespacedCalls

func (mock *UserAttributeInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedUserAttributeInterface.GetNamespacedCalls())

func (*UserAttributeInterfaceMock) List

List calls ListFunc.

func (*UserAttributeInterfaceMock) ListCalls

func (mock *UserAttributeInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedUserAttributeInterface.ListCalls())

func (*UserAttributeInterfaceMock) ListNamespaced

func (mock *UserAttributeInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.UserAttributeList, error)

ListNamespaced calls ListNamespacedFunc.

func (*UserAttributeInterfaceMock) ListNamespacedCalls

func (mock *UserAttributeInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedUserAttributeInterface.ListNamespacedCalls())

func (*UserAttributeInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*UserAttributeInterfaceMock) ObjectClientCalls

func (mock *UserAttributeInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedUserAttributeInterface.ObjectClientCalls())

func (*UserAttributeInterfaceMock) Update

Update calls UpdateFunc.

func (*UserAttributeInterfaceMock) UpdateCalls

func (mock *UserAttributeInterfaceMock) UpdateCalls() []struct {
	In1 *v3.UserAttribute
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedUserAttributeInterface.UpdateCalls())

func (*UserAttributeInterfaceMock) Watch

Watch calls WatchFunc.

func (*UserAttributeInterfaceMock) WatchCalls

func (mock *UserAttributeInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedUserAttributeInterface.WatchCalls())

type UserAttributeListerMock

type UserAttributeListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.UserAttribute, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.UserAttribute, error)
	// contains filtered or unexported fields
}

UserAttributeListerMock is a mock implementation of UserAttributeLister.

    func TestSomethingThatUsesUserAttributeLister(t *testing.T) {

        // make and configure a mocked UserAttributeLister
        mockedUserAttributeLister := &UserAttributeListerMock{
            GetFunc: func(namespace string, name string) (*v3.UserAttribute, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.UserAttribute, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedUserAttributeLister in code that requires UserAttributeLister
        // and then make assertions.

    }

func (*UserAttributeListerMock) Get

func (mock *UserAttributeListerMock) Get(namespace string, name string) (*v3.UserAttribute, error)

Get calls GetFunc.

func (*UserAttributeListerMock) GetCalls

func (mock *UserAttributeListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedUserAttributeLister.GetCalls())

func (*UserAttributeListerMock) List

func (mock *UserAttributeListerMock) List(namespace string, selector labels.Selector) ([]*v3.UserAttribute, error)

List calls ListFunc.

func (*UserAttributeListerMock) ListCalls

func (mock *UserAttributeListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedUserAttributeLister.ListCalls())

type UserAttributesGetterMock

type UserAttributesGetterMock struct {
	// UserAttributesFunc mocks the UserAttributes method.
	UserAttributesFunc func(namespace string) v3.UserAttributeInterface
	// contains filtered or unexported fields
}

UserAttributesGetterMock is a mock implementation of UserAttributesGetter.

    func TestSomethingThatUsesUserAttributesGetter(t *testing.T) {

        // make and configure a mocked UserAttributesGetter
        mockedUserAttributesGetter := &UserAttributesGetterMock{
            UserAttributesFunc: func(namespace string) v3.UserAttributeInterface {
	               panic("mock out the UserAttributes method")
            },
        }

        // use mockedUserAttributesGetter in code that requires UserAttributesGetter
        // and then make assertions.

    }

func (*UserAttributesGetterMock) UserAttributes

func (mock *UserAttributesGetterMock) UserAttributes(namespace string) v3.UserAttributeInterface

UserAttributes calls UserAttributesFunc.

func (*UserAttributesGetterMock) UserAttributesCalls

func (mock *UserAttributesGetterMock) UserAttributesCalls() []struct {
	Namespace string
}

UserAttributesCalls gets all the calls that were made to UserAttributes. Check the length with:

len(mockedUserAttributesGetter.UserAttributesCalls())

type UserControllerMock

type UserControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.UserHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.UserHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.UserHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.UserHandlerFunc)

	// 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.UserLister

	// StartFunc mocks the Start method.
	StartFunc func(ctx context.Context, threadiness int) error

	// SyncFunc mocks the Sync method.
	SyncFunc func(ctx context.Context) error
	// contains filtered or unexported fields
}

UserControllerMock is a mock implementation of UserController.

    func TestSomethingThatUsesUserController(t *testing.T) {

        // make and configure a mocked UserController
        mockedUserController := &UserControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.UserHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.UserHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.UserHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.UserHandlerFunc)  {
	               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.UserLister {
	               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 mockedUserController in code that requires UserController
        // and then make assertions.

    }

func (*UserControllerMock) AddClusterScopedFeatureHandler

func (mock *UserControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.UserHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*UserControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *UserControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.UserHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedUserController.AddClusterScopedFeatureHandlerCalls())

func (*UserControllerMock) AddClusterScopedHandler

func (mock *UserControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.UserHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*UserControllerMock) AddClusterScopedHandlerCalls

func (mock *UserControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.UserHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedUserController.AddClusterScopedHandlerCalls())

func (*UserControllerMock) AddFeatureHandler

func (mock *UserControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.UserHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*UserControllerMock) AddFeatureHandlerCalls

func (mock *UserControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.UserHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedUserController.AddFeatureHandlerCalls())

func (*UserControllerMock) AddHandler

func (mock *UserControllerMock) AddHandler(ctx context.Context, name string, handler v3.UserHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*UserControllerMock) AddHandlerCalls

func (mock *UserControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.UserHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedUserController.AddHandlerCalls())

func (*UserControllerMock) Enqueue

func (mock *UserControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*UserControllerMock) EnqueueAfter

func (mock *UserControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*UserControllerMock) EnqueueAfterCalls

func (mock *UserControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedUserController.EnqueueAfterCalls())

func (*UserControllerMock) EnqueueCalls

func (mock *UserControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedUserController.EnqueueCalls())

func (*UserControllerMock) Generic

Generic calls GenericFunc.

func (*UserControllerMock) GenericCalls

func (mock *UserControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedUserController.GenericCalls())

func (*UserControllerMock) Informer

func (mock *UserControllerMock) Informer() cache.SharedIndexInformer

Informer calls InformerFunc.

func (*UserControllerMock) InformerCalls

func (mock *UserControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedUserController.InformerCalls())

func (*UserControllerMock) Lister

func (mock *UserControllerMock) Lister() v3.UserLister

Lister calls ListerFunc.

func (*UserControllerMock) ListerCalls

func (mock *UserControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedUserController.ListerCalls())

func (*UserControllerMock) Start

func (mock *UserControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*UserControllerMock) StartCalls

func (mock *UserControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedUserController.StartCalls())

func (*UserControllerMock) Sync

func (mock *UserControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*UserControllerMock) SyncCalls

func (mock *UserControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedUserController.SyncCalls())

type UserInterfaceMock

type UserInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.UserHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.UserLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.UserHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.UserLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.UserHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.UserLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.UserHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.UserLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.UserController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.User) (*v3.User, 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.User, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.User, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.UserList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.UserList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.User) (*v3.User, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

UserInterfaceMock is a mock implementation of UserInterface.

    func TestSomethingThatUsesUserInterface(t *testing.T) {

        // make and configure a mocked UserInterface
        mockedUserInterface := &UserInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.UserHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.UserLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.UserHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.UserLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.UserHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.UserLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.UserHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.UserLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.UserController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.User) (*v3.User, 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.User, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.User, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.UserList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.UserList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.User) (*v3.User, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedUserInterface in code that requires UserInterface
        // and then make assertions.

    }

func (*UserInterfaceMock) AddClusterScopedFeatureHandler

func (mock *UserInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.UserHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*UserInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *UserInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.UserHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedUserInterface.AddClusterScopedFeatureHandlerCalls())

func (*UserInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *UserInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.UserLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*UserInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *UserInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.UserLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedUserInterface.AddClusterScopedFeatureLifecycleCalls())

func (*UserInterfaceMock) AddClusterScopedHandler

func (mock *UserInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.UserHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*UserInterfaceMock) AddClusterScopedHandlerCalls

func (mock *UserInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.UserHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedUserInterface.AddClusterScopedHandlerCalls())

func (*UserInterfaceMock) AddClusterScopedLifecycle

func (mock *UserInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.UserLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*UserInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *UserInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.UserLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedUserInterface.AddClusterScopedLifecycleCalls())

func (*UserInterfaceMock) AddFeatureHandler

func (mock *UserInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.UserHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*UserInterfaceMock) AddFeatureHandlerCalls

func (mock *UserInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.UserHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedUserInterface.AddFeatureHandlerCalls())

func (*UserInterfaceMock) AddFeatureLifecycle

func (mock *UserInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.UserLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*UserInterfaceMock) AddFeatureLifecycleCalls

func (mock *UserInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.UserLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedUserInterface.AddFeatureLifecycleCalls())

func (*UserInterfaceMock) AddHandler

func (mock *UserInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.UserHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*UserInterfaceMock) AddHandlerCalls

func (mock *UserInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.UserHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedUserInterface.AddHandlerCalls())

func (*UserInterfaceMock) AddLifecycle

func (mock *UserInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.UserLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*UserInterfaceMock) AddLifecycleCalls

func (mock *UserInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.UserLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedUserInterface.AddLifecycleCalls())

func (*UserInterfaceMock) Controller

func (mock *UserInterfaceMock) Controller() v3.UserController

Controller calls ControllerFunc.

func (*UserInterfaceMock) ControllerCalls

func (mock *UserInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedUserInterface.ControllerCalls())

func (*UserInterfaceMock) Create

func (mock *UserInterfaceMock) Create(in1 *v3.User) (*v3.User, error)

Create calls CreateFunc.

func (*UserInterfaceMock) CreateCalls

func (mock *UserInterfaceMock) CreateCalls() []struct {
	In1 *v3.User
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedUserInterface.CreateCalls())

func (*UserInterfaceMock) Delete

func (mock *UserInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*UserInterfaceMock) DeleteCalls

func (mock *UserInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedUserInterface.DeleteCalls())

func (*UserInterfaceMock) DeleteCollection

func (mock *UserInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*UserInterfaceMock) DeleteCollectionCalls

func (mock *UserInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedUserInterface.DeleteCollectionCalls())

func (*UserInterfaceMock) DeleteNamespaced

func (mock *UserInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*UserInterfaceMock) DeleteNamespacedCalls

func (mock *UserInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedUserInterface.DeleteNamespacedCalls())

func (*UserInterfaceMock) Get

func (mock *UserInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.User, error)

Get calls GetFunc.

func (*UserInterfaceMock) GetCalls

func (mock *UserInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedUserInterface.GetCalls())

func (*UserInterfaceMock) GetNamespaced

func (mock *UserInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.User, error)

GetNamespaced calls GetNamespacedFunc.

func (*UserInterfaceMock) GetNamespacedCalls

func (mock *UserInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedUserInterface.GetNamespacedCalls())

func (*UserInterfaceMock) List

func (mock *UserInterfaceMock) List(opts v1.ListOptions) (*v3.UserList, error)

List calls ListFunc.

func (*UserInterfaceMock) ListCalls

func (mock *UserInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedUserInterface.ListCalls())

func (*UserInterfaceMock) ListNamespaced

func (mock *UserInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.UserList, error)

ListNamespaced calls ListNamespacedFunc.

func (*UserInterfaceMock) ListNamespacedCalls

func (mock *UserInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedUserInterface.ListNamespacedCalls())

func (*UserInterfaceMock) ObjectClient

func (mock *UserInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*UserInterfaceMock) ObjectClientCalls

func (mock *UserInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedUserInterface.ObjectClientCalls())

func (*UserInterfaceMock) Update

func (mock *UserInterfaceMock) Update(in1 *v3.User) (*v3.User, error)

Update calls UpdateFunc.

func (*UserInterfaceMock) UpdateCalls

func (mock *UserInterfaceMock) UpdateCalls() []struct {
	In1 *v3.User
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedUserInterface.UpdateCalls())

func (*UserInterfaceMock) Watch

func (mock *UserInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*UserInterfaceMock) WatchCalls

func (mock *UserInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedUserInterface.WatchCalls())

type UserListerMock

type UserListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.User, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.User, error)
	// contains filtered or unexported fields
}

UserListerMock is a mock implementation of UserLister.

    func TestSomethingThatUsesUserLister(t *testing.T) {

        // make and configure a mocked UserLister
        mockedUserLister := &UserListerMock{
            GetFunc: func(namespace string, name string) (*v3.User, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.User, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedUserLister in code that requires UserLister
        // and then make assertions.

    }

func (*UserListerMock) Get

func (mock *UserListerMock) Get(namespace string, name string) (*v3.User, error)

Get calls GetFunc.

func (*UserListerMock) GetCalls

func (mock *UserListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedUserLister.GetCalls())

func (*UserListerMock) List

func (mock *UserListerMock) List(namespace string, selector labels.Selector) ([]*v3.User, error)

List calls ListFunc.

func (*UserListerMock) ListCalls

func (mock *UserListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedUserLister.ListCalls())

type UsersGetterMock

type UsersGetterMock struct {
	// UsersFunc mocks the Users method.
	UsersFunc func(namespace string) v3.UserInterface
	// contains filtered or unexported fields
}

UsersGetterMock is a mock implementation of UsersGetter.

    func TestSomethingThatUsesUsersGetter(t *testing.T) {

        // make and configure a mocked UsersGetter
        mockedUsersGetter := &UsersGetterMock{
            UsersFunc: func(namespace string) v3.UserInterface {
	               panic("mock out the Users method")
            },
        }

        // use mockedUsersGetter in code that requires UsersGetter
        // and then make assertions.

    }

func (*UsersGetterMock) Users

func (mock *UsersGetterMock) Users(namespace string) v3.UserInterface

Users calls UsersFunc.

func (*UsersGetterMock) UsersCalls

func (mock *UsersGetterMock) UsersCalls() []struct {
	Namespace string
}

UsersCalls gets all the calls that were made to Users. Check the length with:

len(mockedUsersGetter.UsersCalls())

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL