fakes

package
v0.0.0-...-c402a22 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 9 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.AuthConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CatalogTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CatalogTemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 CloudCredentialControllerMock

type CloudCredentialControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.CloudCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterRegistrationTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ClusterRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ComposeConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.DynamicSchemaHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.EtcdBackupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 GlobalDNSControllerMock

type GlobalDNSControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalDNSHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalDNSProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalRoleBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GlobalRoleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.GroupMemberHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.KontainerDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.LdapConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 ListenConfigControllerMock

type ListenConfigControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ListenConfigHandlerFunc)

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

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

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

	// 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
}

ListenConfigControllerMock is a mock implementation of ListenConfigController.

    func TestSomethingThatUsesListenConfigController(t *testing.T) {

        // make and configure a mocked ListenConfigController
        mockedListenConfigController := &ListenConfigControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ListenConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ListenConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.ListenConfigLister {
	               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 mockedListenConfigController in code that requires ListenConfigController
        // and then make assertions.

    }

func (*ListenConfigControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ListenConfigControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedListenConfigController.AddClusterScopedHandlerCalls())

func (*ListenConfigControllerMock) AddHandler

func (mock *ListenConfigControllerMock) AddHandler(ctx context.Context, name string, handler v3.ListenConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ListenConfigControllerMock) AddHandlerCalls

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

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

len(mockedListenConfigController.AddHandlerCalls())

func (*ListenConfigControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ListenConfigControllerMock) EnqueueCalls

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

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

len(mockedListenConfigController.EnqueueCalls())

func (*ListenConfigControllerMock) Generic

Generic calls GenericFunc.

func (*ListenConfigControllerMock) GenericCalls

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

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

len(mockedListenConfigController.GenericCalls())

func (*ListenConfigControllerMock) Informer

Informer calls InformerFunc.

func (*ListenConfigControllerMock) InformerCalls

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

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

len(mockedListenConfigController.InformerCalls())

func (*ListenConfigControllerMock) Lister

Lister calls ListerFunc.

func (*ListenConfigControllerMock) ListerCalls

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

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

len(mockedListenConfigController.ListerCalls())

func (*ListenConfigControllerMock) Start

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

Start calls StartFunc.

func (*ListenConfigControllerMock) StartCalls

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

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

len(mockedListenConfigController.StartCalls())

func (*ListenConfigControllerMock) Sync

Sync calls SyncFunc.

func (*ListenConfigControllerMock) SyncCalls

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

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

len(mockedListenConfigController.SyncCalls())

type ListenConfigInterfaceMock

type ListenConfigInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ListenConfigHandlerFunc)

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

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

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

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

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

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

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

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

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

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

ListenConfigInterfaceMock is a mock implementation of ListenConfigInterface.

    func TestSomethingThatUsesListenConfigInterface(t *testing.T) {

        // make and configure a mocked ListenConfigInterface
        mockedListenConfigInterface := &ListenConfigInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ListenConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ListenConfigLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ListenConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ListenConfigLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ListenConfigController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ListenConfig) (*v3.ListenConfig, 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.ListenConfig, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ListenConfig, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ListenConfigList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ListenConfig) (*v3.ListenConfig, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedListenConfigInterface in code that requires ListenConfigInterface
        // and then make assertions.

    }

func (*ListenConfigInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ListenConfigInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedListenConfigInterface.AddClusterScopedHandlerCalls())

func (*ListenConfigInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ListenConfigInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedListenConfigInterface.AddClusterScopedLifecycleCalls())

func (*ListenConfigInterfaceMock) AddHandler

func (mock *ListenConfigInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.ListenConfigHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ListenConfigInterfaceMock) AddHandlerCalls

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

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

len(mockedListenConfigInterface.AddHandlerCalls())

func (*ListenConfigInterfaceMock) AddLifecycle

func (mock *ListenConfigInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ListenConfigLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ListenConfigInterfaceMock) AddLifecycleCalls

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

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

len(mockedListenConfigInterface.AddLifecycleCalls())

func (*ListenConfigInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ListenConfigInterfaceMock) ControllerCalls

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

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

len(mockedListenConfigInterface.ControllerCalls())

func (*ListenConfigInterfaceMock) Create

Create calls CreateFunc.

func (*ListenConfigInterfaceMock) CreateCalls

func (mock *ListenConfigInterfaceMock) CreateCalls() []struct {
	In1 *v3.ListenConfig
}

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

len(mockedListenConfigInterface.CreateCalls())

func (*ListenConfigInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*ListenConfigInterfaceMock) DeleteCalls

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

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

len(mockedListenConfigInterface.DeleteCalls())

func (*ListenConfigInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*ListenConfigInterfaceMock) DeleteCollectionCalls

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

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

len(mockedListenConfigInterface.DeleteCollectionCalls())

func (*ListenConfigInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ListenConfigInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedListenConfigInterface.DeleteNamespacedCalls())

func (*ListenConfigInterfaceMock) Get

Get calls GetFunc.

func (*ListenConfigInterfaceMock) GetCalls

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

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

len(mockedListenConfigInterface.GetCalls())

func (*ListenConfigInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*ListenConfigInterfaceMock) GetNamespacedCalls

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

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

len(mockedListenConfigInterface.GetNamespacedCalls())

func (*ListenConfigInterfaceMock) List

List calls ListFunc.

func (*ListenConfigInterfaceMock) ListCalls

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

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

len(mockedListenConfigInterface.ListCalls())

func (*ListenConfigInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*ListenConfigInterfaceMock) ObjectClientCalls

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

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

len(mockedListenConfigInterface.ObjectClientCalls())

func (*ListenConfigInterfaceMock) Update

Update calls UpdateFunc.

func (*ListenConfigInterfaceMock) UpdateCalls

func (mock *ListenConfigInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ListenConfig
}

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

len(mockedListenConfigInterface.UpdateCalls())

func (*ListenConfigInterfaceMock) Watch

Watch calls WatchFunc.

func (*ListenConfigInterfaceMock) WatchCalls

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

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

len(mockedListenConfigInterface.WatchCalls())

type ListenConfigListerMock

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

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

ListenConfigListerMock is a mock implementation of ListenConfigLister.

    func TestSomethingThatUsesListenConfigLister(t *testing.T) {

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

        // use mockedListenConfigLister in code that requires ListenConfigLister
        // and then make assertions.

    }

func (*ListenConfigListerMock) Get

func (mock *ListenConfigListerMock) Get(namespace string, name string) (*v3.ListenConfig, error)

Get calls GetFunc.

func (*ListenConfigListerMock) GetCalls

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

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

len(mockedListenConfigLister.GetCalls())

func (*ListenConfigListerMock) List

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

List calls ListFunc.

func (*ListenConfigListerMock) ListCalls

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

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

len(mockedListenConfigLister.ListCalls())

type ListenConfigsGetterMock

type ListenConfigsGetterMock struct {
	// ListenConfigsFunc mocks the ListenConfigs method.
	ListenConfigsFunc func(namespace string) v3.ListenConfigInterface
	// contains filtered or unexported fields
}

ListenConfigsGetterMock is a mock implementation of ListenConfigsGetter.

    func TestSomethingThatUsesListenConfigsGetter(t *testing.T) {

        // make and configure a mocked ListenConfigsGetter
        mockedListenConfigsGetter := &ListenConfigsGetterMock{
            ListenConfigsFunc: func(namespace string) v3.ListenConfigInterface {
	               panic("mock out the ListenConfigs method")
            },
        }

        // use mockedListenConfigsGetter in code that requires ListenConfigsGetter
        // and then make assertions.

    }

func (*ListenConfigsGetterMock) ListenConfigs

func (mock *ListenConfigsGetterMock) ListenConfigs(namespace string) v3.ListenConfigInterface

ListenConfigs calls ListenConfigsFunc.

func (*ListenConfigsGetterMock) ListenConfigsCalls

func (mock *ListenConfigsGetterMock) ListenConfigsCalls() []struct {
	Namespace string
}

ListenConfigsCalls gets all the calls that were made to ListenConfigs. Check the length with:

len(mockedListenConfigsGetter.ListenConfigsCalls())

type MonitorMetricControllerMock

type MonitorMetricControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.MonitorMetricHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.MultiClusterAppHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.MultiClusterAppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodeDriverHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodePoolHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NodeTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NotifierHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PodSecurityPolicyTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PodSecurityPolicyTemplateProjectBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PreferenceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PrincipalHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertGroupHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectAlertRuleHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectCatalogHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectLoggingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectMonitorGraphHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectNetworkPolicyHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ProjectRoleTemplateBindingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 RoleTemplateControllerMock

type RoleTemplateControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.RoleTemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TemplateContentHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TemplateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TemplateVersionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.TokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.UserAttributeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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 {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler 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)

	// 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{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.UserHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler 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")
            },
            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) 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) 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) 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 {
	// 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)

	// 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)

	// 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{
            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")
            },
            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")
            },
            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) 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) 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) 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