fakes

package
v0.0.0-...-3e7be7a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentStatusControllerMock

type ComponentStatusControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)

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

	// 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() v1a.ComponentStatusLister

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

ComponentStatusControllerMock is a mock implementation of ComponentStatusController.

    func TestSomethingThatUsesComponentStatusController(t *testing.T) {

        // make and configure a mocked ComponentStatusController
        mockedComponentStatusController := &ComponentStatusControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ComponentStatusHandlerFunc)  {
	               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() v1a.ComponentStatusLister {
	               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 mockedComponentStatusController in code that requires ComponentStatusController
        // and then make assertions.

    }

func (*ComponentStatusControllerMock) AddClusterScopedHandler

func (mock *ComponentStatusControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ComponentStatusControllerMock) AddClusterScopedHandlerCalls

func (mock *ComponentStatusControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.ComponentStatusHandlerFunc
}

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

len(mockedComponentStatusController.AddClusterScopedHandlerCalls())

func (*ComponentStatusControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ComponentStatusControllerMock) AddHandlerCalls

func (mock *ComponentStatusControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.ComponentStatusHandlerFunc
}

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

len(mockedComponentStatusController.AddHandlerCalls())

func (*ComponentStatusControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ComponentStatusControllerMock) EnqueueCalls

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

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

len(mockedComponentStatusController.EnqueueCalls())

func (*ComponentStatusControllerMock) Generic

Generic calls GenericFunc.

func (*ComponentStatusControllerMock) GenericCalls

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

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

len(mockedComponentStatusController.GenericCalls())

func (*ComponentStatusControllerMock) Informer

Informer calls InformerFunc.

func (*ComponentStatusControllerMock) InformerCalls

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

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

len(mockedComponentStatusController.InformerCalls())

func (*ComponentStatusControllerMock) Lister

Lister calls ListerFunc.

func (*ComponentStatusControllerMock) ListerCalls

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

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

len(mockedComponentStatusController.ListerCalls())

func (*ComponentStatusControllerMock) Start

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

Start calls StartFunc.

func (*ComponentStatusControllerMock) StartCalls

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

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

len(mockedComponentStatusController.StartCalls())

func (*ComponentStatusControllerMock) Sync

Sync calls SyncFunc.

func (*ComponentStatusControllerMock) SyncCalls

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

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

len(mockedComponentStatusController.SyncCalls())

type ComponentStatusInterfaceMock

type ComponentStatusInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.ComponentStatusController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.ComponentStatusList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error)

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

ComponentStatusInterfaceMock is a mock implementation of ComponentStatusInterface.

    func TestSomethingThatUsesComponentStatusInterface(t *testing.T) {

        // make and configure a mocked ComponentStatusInterface
        mockedComponentStatusInterface := &ComponentStatusInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ComponentStatusLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.ComponentStatusController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.ComponentStatus, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ComponentStatus, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.ComponentStatusList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedComponentStatusInterface in code that requires ComponentStatusInterface
        // and then make assertions.

    }

func (*ComponentStatusInterfaceMock) AddClusterScopedHandler

func (mock *ComponentStatusInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ComponentStatusInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ComponentStatusInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.ComponentStatusHandlerFunc
}

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

len(mockedComponentStatusInterface.AddClusterScopedHandlerCalls())

func (*ComponentStatusInterfaceMock) AddClusterScopedLifecycle

func (mock *ComponentStatusInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ComponentStatusInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ComponentStatusInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.ComponentStatusLifecycle
}

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

len(mockedComponentStatusInterface.AddClusterScopedLifecycleCalls())

func (*ComponentStatusInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ComponentStatusInterfaceMock) AddHandlerCalls

func (mock *ComponentStatusInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.ComponentStatusHandlerFunc
}

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

len(mockedComponentStatusInterface.AddHandlerCalls())

func (*ComponentStatusInterfaceMock) AddLifecycle

func (mock *ComponentStatusInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ComponentStatusLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ComponentStatusInterfaceMock) AddLifecycleCalls

func (mock *ComponentStatusInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.ComponentStatusLifecycle
}

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

len(mockedComponentStatusInterface.AddLifecycleCalls())

func (*ComponentStatusInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ComponentStatusInterfaceMock) ControllerCalls

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

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

len(mockedComponentStatusInterface.ControllerCalls())

func (*ComponentStatusInterfaceMock) Create

Create calls CreateFunc.

func (*ComponentStatusInterfaceMock) CreateCalls

func (mock *ComponentStatusInterfaceMock) CreateCalls() []struct {
	In1 *v1.ComponentStatus
}

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

len(mockedComponentStatusInterface.CreateCalls())

func (*ComponentStatusInterfaceMock) Delete

func (mock *ComponentStatusInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*ComponentStatusInterfaceMock) DeleteCalls

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

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

len(mockedComponentStatusInterface.DeleteCalls())

func (*ComponentStatusInterfaceMock) DeleteCollection

func (mock *ComponentStatusInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ComponentStatusInterfaceMock) DeleteCollectionCalls

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

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

len(mockedComponentStatusInterface.DeleteCollectionCalls())

func (*ComponentStatusInterfaceMock) DeleteNamespaced

func (mock *ComponentStatusInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ComponentStatusInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedComponentStatusInterface.DeleteNamespacedCalls())

func (*ComponentStatusInterfaceMock) Get

Get calls GetFunc.

func (*ComponentStatusInterfaceMock) GetCalls

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

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

len(mockedComponentStatusInterface.GetCalls())

func (*ComponentStatusInterfaceMock) GetNamespaced

func (mock *ComponentStatusInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ComponentStatus, error)

GetNamespaced calls GetNamespacedFunc.

func (*ComponentStatusInterfaceMock) GetNamespacedCalls

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

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

len(mockedComponentStatusInterface.GetNamespacedCalls())

func (*ComponentStatusInterfaceMock) List

List calls ListFunc.

func (*ComponentStatusInterfaceMock) ListCalls

func (mock *ComponentStatusInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedComponentStatusInterface.ListCalls())

func (*ComponentStatusInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ComponentStatusInterfaceMock) ObjectClientCalls

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

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

len(mockedComponentStatusInterface.ObjectClientCalls())

func (*ComponentStatusInterfaceMock) Update

Update calls UpdateFunc.

func (*ComponentStatusInterfaceMock) UpdateCalls

func (mock *ComponentStatusInterfaceMock) UpdateCalls() []struct {
	In1 *v1.ComponentStatus
}

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

len(mockedComponentStatusInterface.UpdateCalls())

func (*ComponentStatusInterfaceMock) Watch

Watch calls WatchFunc.

func (*ComponentStatusInterfaceMock) WatchCalls

func (mock *ComponentStatusInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedComponentStatusInterface.WatchCalls())

type ComponentStatusListerMock

type ComponentStatusListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.ComponentStatus, error)

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

ComponentStatusListerMock is a mock implementation of ComponentStatusLister.

    func TestSomethingThatUsesComponentStatusLister(t *testing.T) {

        // make and configure a mocked ComponentStatusLister
        mockedComponentStatusLister := &ComponentStatusListerMock{
            GetFunc: func(namespace string, name string) (*v1.ComponentStatus, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ComponentStatus, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedComponentStatusLister in code that requires ComponentStatusLister
        // and then make assertions.

    }

func (*ComponentStatusListerMock) Get

func (mock *ComponentStatusListerMock) Get(namespace string, name string) (*v1.ComponentStatus, error)

Get calls GetFunc.

func (*ComponentStatusListerMock) GetCalls

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

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

len(mockedComponentStatusLister.GetCalls())

func (*ComponentStatusListerMock) List

func (mock *ComponentStatusListerMock) List(namespace string, selector labels.Selector) ([]*v1.ComponentStatus, error)

List calls ListFunc.

func (*ComponentStatusListerMock) ListCalls

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

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

len(mockedComponentStatusLister.ListCalls())

type ComponentStatusesGetterMock

type ComponentStatusesGetterMock struct {
	// ComponentStatusesFunc mocks the ComponentStatuses method.
	ComponentStatusesFunc func(namespace string) v1a.ComponentStatusInterface
	// contains filtered or unexported fields
}

ComponentStatusesGetterMock is a mock implementation of ComponentStatusesGetter.

    func TestSomethingThatUsesComponentStatusesGetter(t *testing.T) {

        // make and configure a mocked ComponentStatusesGetter
        mockedComponentStatusesGetter := &ComponentStatusesGetterMock{
            ComponentStatusesFunc: func(namespace string) v1a.ComponentStatusInterface {
	               panic("mock out the ComponentStatuses method")
            },
        }

        // use mockedComponentStatusesGetter in code that requires ComponentStatusesGetter
        // and then make assertions.

    }

func (*ComponentStatusesGetterMock) ComponentStatuses

func (mock *ComponentStatusesGetterMock) ComponentStatuses(namespace string) v1a.ComponentStatusInterface

ComponentStatuses calls ComponentStatusesFunc.

func (*ComponentStatusesGetterMock) ComponentStatusesCalls

func (mock *ComponentStatusesGetterMock) ComponentStatusesCalls() []struct {
	Namespace string
}

ComponentStatusesCalls gets all the calls that were made to ComponentStatuses. Check the length with:

len(mockedComponentStatusesGetter.ComponentStatusesCalls())

type ConfigMapControllerMock

type ConfigMapControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)

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

	// 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() v1a.ConfigMapLister

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

ConfigMapControllerMock is a mock implementation of ConfigMapController.

    func TestSomethingThatUsesConfigMapController(t *testing.T) {

        // make and configure a mocked ConfigMapController
        mockedConfigMapController := &ConfigMapControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ConfigMapHandlerFunc)  {
	               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() v1a.ConfigMapLister {
	               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 mockedConfigMapController in code that requires ConfigMapController
        // and then make assertions.

    }

func (*ConfigMapControllerMock) AddClusterScopedHandler

func (mock *ConfigMapControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ConfigMapControllerMock) AddClusterScopedHandlerCalls

func (mock *ConfigMapControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.ConfigMapHandlerFunc
}

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

len(mockedConfigMapController.AddClusterScopedHandlerCalls())

func (*ConfigMapControllerMock) AddHandler

func (mock *ConfigMapControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ConfigMapHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ConfigMapControllerMock) AddHandlerCalls

func (mock *ConfigMapControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.ConfigMapHandlerFunc
}

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

len(mockedConfigMapController.AddHandlerCalls())

func (*ConfigMapControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ConfigMapControllerMock) EnqueueCalls

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

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

len(mockedConfigMapController.EnqueueCalls())

func (*ConfigMapControllerMock) Generic

Generic calls GenericFunc.

func (*ConfigMapControllerMock) GenericCalls

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

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

len(mockedConfigMapController.GenericCalls())

func (*ConfigMapControllerMock) Informer

Informer calls InformerFunc.

func (*ConfigMapControllerMock) InformerCalls

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

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

len(mockedConfigMapController.InformerCalls())

func (*ConfigMapControllerMock) Lister

Lister calls ListerFunc.

func (*ConfigMapControllerMock) ListerCalls

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

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

len(mockedConfigMapController.ListerCalls())

func (*ConfigMapControllerMock) Start

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

Start calls StartFunc.

func (*ConfigMapControllerMock) StartCalls

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

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

len(mockedConfigMapController.StartCalls())

func (*ConfigMapControllerMock) Sync

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

Sync calls SyncFunc.

func (*ConfigMapControllerMock) SyncCalls

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

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

len(mockedConfigMapController.SyncCalls())

type ConfigMapInterfaceMock

type ConfigMapInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.ConfigMapController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.ConfigMap) (*v1.ConfigMap, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.ConfigMapList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.ConfigMap) (*v1.ConfigMap, error)

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

ConfigMapInterfaceMock is a mock implementation of ConfigMapInterface.

    func TestSomethingThatUsesConfigMapInterface(t *testing.T) {

        // make and configure a mocked ConfigMapInterface
        mockedConfigMapInterface := &ConfigMapInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ConfigMapLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.ConfigMapController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.ConfigMap) (*v1.ConfigMap, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.ConfigMap, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ConfigMap, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.ConfigMapList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.ConfigMap) (*v1.ConfigMap, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedConfigMapInterface in code that requires ConfigMapInterface
        // and then make assertions.

    }

func (*ConfigMapInterfaceMock) AddClusterScopedHandler

func (mock *ConfigMapInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ConfigMapInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ConfigMapInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.ConfigMapHandlerFunc
}

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

len(mockedConfigMapInterface.AddClusterScopedHandlerCalls())

func (*ConfigMapInterfaceMock) AddClusterScopedLifecycle

func (mock *ConfigMapInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ConfigMapInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ConfigMapInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.ConfigMapLifecycle
}

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

len(mockedConfigMapInterface.AddClusterScopedLifecycleCalls())

func (*ConfigMapInterfaceMock) AddHandler

func (mock *ConfigMapInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ConfigMapHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ConfigMapInterfaceMock) AddHandlerCalls

func (mock *ConfigMapInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.ConfigMapHandlerFunc
}

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

len(mockedConfigMapInterface.AddHandlerCalls())

func (*ConfigMapInterfaceMock) AddLifecycle

func (mock *ConfigMapInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ConfigMapLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ConfigMapInterfaceMock) AddLifecycleCalls

func (mock *ConfigMapInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.ConfigMapLifecycle
}

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

len(mockedConfigMapInterface.AddLifecycleCalls())

func (*ConfigMapInterfaceMock) Controller

func (mock *ConfigMapInterfaceMock) Controller() v1a.ConfigMapController

Controller calls ControllerFunc.

func (*ConfigMapInterfaceMock) ControllerCalls

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

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

len(mockedConfigMapInterface.ControllerCalls())

func (*ConfigMapInterfaceMock) Create

func (mock *ConfigMapInterfaceMock) Create(in1 *v1.ConfigMap) (*v1.ConfigMap, error)

Create calls CreateFunc.

func (*ConfigMapInterfaceMock) CreateCalls

func (mock *ConfigMapInterfaceMock) CreateCalls() []struct {
	In1 *v1.ConfigMap
}

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

len(mockedConfigMapInterface.CreateCalls())

func (*ConfigMapInterfaceMock) Delete

func (mock *ConfigMapInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*ConfigMapInterfaceMock) DeleteCalls

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

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

len(mockedConfigMapInterface.DeleteCalls())

func (*ConfigMapInterfaceMock) DeleteCollection

func (mock *ConfigMapInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ConfigMapInterfaceMock) DeleteCollectionCalls

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

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

len(mockedConfigMapInterface.DeleteCollectionCalls())

func (*ConfigMapInterfaceMock) DeleteNamespaced

func (mock *ConfigMapInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ConfigMapInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedConfigMapInterface.DeleteNamespacedCalls())

func (*ConfigMapInterfaceMock) Get

func (mock *ConfigMapInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ConfigMap, error)

Get calls GetFunc.

func (*ConfigMapInterfaceMock) GetCalls

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

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

len(mockedConfigMapInterface.GetCalls())

func (*ConfigMapInterfaceMock) GetNamespaced

func (mock *ConfigMapInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ConfigMap, error)

GetNamespaced calls GetNamespacedFunc.

func (*ConfigMapInterfaceMock) GetNamespacedCalls

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

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

len(mockedConfigMapInterface.GetNamespacedCalls())

func (*ConfigMapInterfaceMock) List

List calls ListFunc.

func (*ConfigMapInterfaceMock) ListCalls

func (mock *ConfigMapInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedConfigMapInterface.ListCalls())

func (*ConfigMapInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*ConfigMapInterfaceMock) ObjectClientCalls

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

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

len(mockedConfigMapInterface.ObjectClientCalls())

func (*ConfigMapInterfaceMock) Update

func (mock *ConfigMapInterfaceMock) Update(in1 *v1.ConfigMap) (*v1.ConfigMap, error)

Update calls UpdateFunc.

func (*ConfigMapInterfaceMock) UpdateCalls

func (mock *ConfigMapInterfaceMock) UpdateCalls() []struct {
	In1 *v1.ConfigMap
}

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

len(mockedConfigMapInterface.UpdateCalls())

func (*ConfigMapInterfaceMock) Watch

Watch calls WatchFunc.

func (*ConfigMapInterfaceMock) WatchCalls

func (mock *ConfigMapInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedConfigMapInterface.WatchCalls())

type ConfigMapListerMock

type ConfigMapListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.ConfigMap, error)

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

ConfigMapListerMock is a mock implementation of ConfigMapLister.

    func TestSomethingThatUsesConfigMapLister(t *testing.T) {

        // make and configure a mocked ConfigMapLister
        mockedConfigMapLister := &ConfigMapListerMock{
            GetFunc: func(namespace string, name string) (*v1.ConfigMap, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ConfigMap, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedConfigMapLister in code that requires ConfigMapLister
        // and then make assertions.

    }

func (*ConfigMapListerMock) Get

func (mock *ConfigMapListerMock) Get(namespace string, name string) (*v1.ConfigMap, error)

Get calls GetFunc.

func (*ConfigMapListerMock) GetCalls

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

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

len(mockedConfigMapLister.GetCalls())

func (*ConfigMapListerMock) List

func (mock *ConfigMapListerMock) List(namespace string, selector labels.Selector) ([]*v1.ConfigMap, error)

List calls ListFunc.

func (*ConfigMapListerMock) ListCalls

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

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

len(mockedConfigMapLister.ListCalls())

type ConfigMapsGetterMock

type ConfigMapsGetterMock struct {
	// ConfigMapsFunc mocks the ConfigMaps method.
	ConfigMapsFunc func(namespace string) v1a.ConfigMapInterface
	// contains filtered or unexported fields
}

ConfigMapsGetterMock is a mock implementation of ConfigMapsGetter.

    func TestSomethingThatUsesConfigMapsGetter(t *testing.T) {

        // make and configure a mocked ConfigMapsGetter
        mockedConfigMapsGetter := &ConfigMapsGetterMock{
            ConfigMapsFunc: func(namespace string) v1a.ConfigMapInterface {
	               panic("mock out the ConfigMaps method")
            },
        }

        // use mockedConfigMapsGetter in code that requires ConfigMapsGetter
        // and then make assertions.

    }

func (*ConfigMapsGetterMock) ConfigMaps

func (mock *ConfigMapsGetterMock) ConfigMaps(namespace string) v1a.ConfigMapInterface

ConfigMaps calls ConfigMapsFunc.

func (*ConfigMapsGetterMock) ConfigMapsCalls

func (mock *ConfigMapsGetterMock) ConfigMapsCalls() []struct {
	Namespace string
}

ConfigMapsCalls gets all the calls that were made to ConfigMaps. Check the length with:

len(mockedConfigMapsGetter.ConfigMapsCalls())

type EndpointsControllerMock

type EndpointsControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc)

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

	// 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() v1a.EndpointsLister

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

EndpointsControllerMock is a mock implementation of EndpointsController.

    func TestSomethingThatUsesEndpointsController(t *testing.T) {

        // make and configure a mocked EndpointsController
        mockedEndpointsController := &EndpointsControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.EndpointsHandlerFunc)  {
	               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() v1a.EndpointsLister {
	               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 mockedEndpointsController in code that requires EndpointsController
        // and then make assertions.

    }

func (*EndpointsControllerMock) AddClusterScopedHandler

func (mock *EndpointsControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*EndpointsControllerMock) AddClusterScopedHandlerCalls

func (mock *EndpointsControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.EndpointsHandlerFunc
}

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

len(mockedEndpointsController.AddClusterScopedHandlerCalls())

func (*EndpointsControllerMock) AddHandler

func (mock *EndpointsControllerMock) AddHandler(ctx context.Context, name string, handler v1a.EndpointsHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*EndpointsControllerMock) AddHandlerCalls

func (mock *EndpointsControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.EndpointsHandlerFunc
}

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

len(mockedEndpointsController.AddHandlerCalls())

func (*EndpointsControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*EndpointsControllerMock) EnqueueCalls

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

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

len(mockedEndpointsController.EnqueueCalls())

func (*EndpointsControllerMock) Generic

Generic calls GenericFunc.

func (*EndpointsControllerMock) GenericCalls

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

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

len(mockedEndpointsController.GenericCalls())

func (*EndpointsControllerMock) Informer

Informer calls InformerFunc.

func (*EndpointsControllerMock) InformerCalls

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

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

len(mockedEndpointsController.InformerCalls())

func (*EndpointsControllerMock) Lister

Lister calls ListerFunc.

func (*EndpointsControllerMock) ListerCalls

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

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

len(mockedEndpointsController.ListerCalls())

func (*EndpointsControllerMock) Start

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

Start calls StartFunc.

func (*EndpointsControllerMock) StartCalls

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

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

len(mockedEndpointsController.StartCalls())

func (*EndpointsControllerMock) Sync

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

Sync calls SyncFunc.

func (*EndpointsControllerMock) SyncCalls

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

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

len(mockedEndpointsController.SyncCalls())

type EndpointsGetterMock

type EndpointsGetterMock struct {
	// EndpointsFunc mocks the Endpoints method.
	EndpointsFunc func(namespace string) v1a.EndpointsInterface
	// contains filtered or unexported fields
}

EndpointsGetterMock is a mock implementation of EndpointsGetter.

    func TestSomethingThatUsesEndpointsGetter(t *testing.T) {

        // make and configure a mocked EndpointsGetter
        mockedEndpointsGetter := &EndpointsGetterMock{
            EndpointsFunc: func(namespace string) v1a.EndpointsInterface {
	               panic("mock out the Endpoints method")
            },
        }

        // use mockedEndpointsGetter in code that requires EndpointsGetter
        // and then make assertions.

    }

func (*EndpointsGetterMock) Endpoints

func (mock *EndpointsGetterMock) Endpoints(namespace string) v1a.EndpointsInterface

Endpoints calls EndpointsFunc.

func (*EndpointsGetterMock) EndpointsCalls

func (mock *EndpointsGetterMock) EndpointsCalls() []struct {
	Namespace string
}

EndpointsCalls gets all the calls that were made to Endpoints. Check the length with:

len(mockedEndpointsGetter.EndpointsCalls())

type EndpointsInterfaceMock

type EndpointsInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.EndpointsHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.EndpointsController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Endpoints) (*v1.Endpoints, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.EndpointsList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Endpoints) (*v1.Endpoints, error)

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

EndpointsInterfaceMock is a mock implementation of EndpointsInterface.

    func TestSomethingThatUsesEndpointsInterface(t *testing.T) {

        // make and configure a mocked EndpointsInterface
        mockedEndpointsInterface := &EndpointsInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.EndpointsLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.EndpointsLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.EndpointsController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Endpoints) (*v1.Endpoints, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Endpoints, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Endpoints, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.EndpointsList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Endpoints) (*v1.Endpoints, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedEndpointsInterface in code that requires EndpointsInterface
        // and then make assertions.

    }

func (*EndpointsInterfaceMock) AddClusterScopedHandler

func (mock *EndpointsInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.EndpointsHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*EndpointsInterfaceMock) AddClusterScopedHandlerCalls

func (mock *EndpointsInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.EndpointsHandlerFunc
}

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

len(mockedEndpointsInterface.AddClusterScopedHandlerCalls())

func (*EndpointsInterfaceMock) AddClusterScopedLifecycle

func (mock *EndpointsInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.EndpointsLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*EndpointsInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *EndpointsInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.EndpointsLifecycle
}

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

len(mockedEndpointsInterface.AddClusterScopedLifecycleCalls())

func (*EndpointsInterfaceMock) AddHandler

func (mock *EndpointsInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.EndpointsHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*EndpointsInterfaceMock) AddHandlerCalls

func (mock *EndpointsInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.EndpointsHandlerFunc
}

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

len(mockedEndpointsInterface.AddHandlerCalls())

func (*EndpointsInterfaceMock) AddLifecycle

func (mock *EndpointsInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.EndpointsLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*EndpointsInterfaceMock) AddLifecycleCalls

func (mock *EndpointsInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.EndpointsLifecycle
}

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

len(mockedEndpointsInterface.AddLifecycleCalls())

func (*EndpointsInterfaceMock) Controller

func (mock *EndpointsInterfaceMock) Controller() v1a.EndpointsController

Controller calls ControllerFunc.

func (*EndpointsInterfaceMock) ControllerCalls

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

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

len(mockedEndpointsInterface.ControllerCalls())

func (*EndpointsInterfaceMock) Create

func (mock *EndpointsInterfaceMock) Create(in1 *v1.Endpoints) (*v1.Endpoints, error)

Create calls CreateFunc.

func (*EndpointsInterfaceMock) CreateCalls

func (mock *EndpointsInterfaceMock) CreateCalls() []struct {
	In1 *v1.Endpoints
}

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

len(mockedEndpointsInterface.CreateCalls())

func (*EndpointsInterfaceMock) Delete

func (mock *EndpointsInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*EndpointsInterfaceMock) DeleteCalls

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

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

len(mockedEndpointsInterface.DeleteCalls())

func (*EndpointsInterfaceMock) DeleteCollection

func (mock *EndpointsInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*EndpointsInterfaceMock) DeleteCollectionCalls

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

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

len(mockedEndpointsInterface.DeleteCollectionCalls())

func (*EndpointsInterfaceMock) DeleteNamespaced

func (mock *EndpointsInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*EndpointsInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedEndpointsInterface.DeleteNamespacedCalls())

func (*EndpointsInterfaceMock) Get

func (mock *EndpointsInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Endpoints, error)

Get calls GetFunc.

func (*EndpointsInterfaceMock) GetCalls

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

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

len(mockedEndpointsInterface.GetCalls())

func (*EndpointsInterfaceMock) GetNamespaced

func (mock *EndpointsInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Endpoints, error)

GetNamespaced calls GetNamespacedFunc.

func (*EndpointsInterfaceMock) GetNamespacedCalls

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

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

len(mockedEndpointsInterface.GetNamespacedCalls())

func (*EndpointsInterfaceMock) List

List calls ListFunc.

func (*EndpointsInterfaceMock) ListCalls

func (mock *EndpointsInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedEndpointsInterface.ListCalls())

func (*EndpointsInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*EndpointsInterfaceMock) ObjectClientCalls

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

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

len(mockedEndpointsInterface.ObjectClientCalls())

func (*EndpointsInterfaceMock) Update

func (mock *EndpointsInterfaceMock) Update(in1 *v1.Endpoints) (*v1.Endpoints, error)

Update calls UpdateFunc.

func (*EndpointsInterfaceMock) UpdateCalls

func (mock *EndpointsInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Endpoints
}

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

len(mockedEndpointsInterface.UpdateCalls())

func (*EndpointsInterfaceMock) Watch

Watch calls WatchFunc.

func (*EndpointsInterfaceMock) WatchCalls

func (mock *EndpointsInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedEndpointsInterface.WatchCalls())

type EndpointsListerMock

type EndpointsListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.Endpoints, error)

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

EndpointsListerMock is a mock implementation of EndpointsLister.

    func TestSomethingThatUsesEndpointsLister(t *testing.T) {

        // make and configure a mocked EndpointsLister
        mockedEndpointsLister := &EndpointsListerMock{
            GetFunc: func(namespace string, name string) (*v1.Endpoints, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Endpoints, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedEndpointsLister in code that requires EndpointsLister
        // and then make assertions.

    }

func (*EndpointsListerMock) Get

func (mock *EndpointsListerMock) Get(namespace string, name string) (*v1.Endpoints, error)

Get calls GetFunc.

func (*EndpointsListerMock) GetCalls

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

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

len(mockedEndpointsLister.GetCalls())

func (*EndpointsListerMock) List

func (mock *EndpointsListerMock) List(namespace string, selector labels.Selector) ([]*v1.Endpoints, error)

List calls ListFunc.

func (*EndpointsListerMock) ListCalls

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

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

len(mockedEndpointsLister.ListCalls())

type EventControllerMock

type EventControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc)

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

	// 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() v1a.EventLister

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

EventControllerMock is a mock implementation of EventController.

    func TestSomethingThatUsesEventController(t *testing.T) {

        // make and configure a mocked EventController
        mockedEventController := &EventControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.EventHandlerFunc)  {
	               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() v1a.EventLister {
	               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 mockedEventController in code that requires EventController
        // and then make assertions.

    }

func (*EventControllerMock) AddClusterScopedHandler

func (mock *EventControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*EventControllerMock) AddClusterScopedHandlerCalls

func (mock *EventControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.EventHandlerFunc
}

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

len(mockedEventController.AddClusterScopedHandlerCalls())

func (*EventControllerMock) AddHandler

func (mock *EventControllerMock) AddHandler(ctx context.Context, name string, handler v1a.EventHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*EventControllerMock) AddHandlerCalls

func (mock *EventControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.EventHandlerFunc
}

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

len(mockedEventController.AddHandlerCalls())

func (*EventControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*EventControllerMock) EnqueueCalls

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

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

len(mockedEventController.EnqueueCalls())

func (*EventControllerMock) Generic

Generic calls GenericFunc.

func (*EventControllerMock) GenericCalls

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

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

len(mockedEventController.GenericCalls())

func (*EventControllerMock) Informer

Informer calls InformerFunc.

func (*EventControllerMock) InformerCalls

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

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

len(mockedEventController.InformerCalls())

func (*EventControllerMock) Lister

func (mock *EventControllerMock) Lister() v1a.EventLister

Lister calls ListerFunc.

func (*EventControllerMock) ListerCalls

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

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

len(mockedEventController.ListerCalls())

func (*EventControllerMock) Start

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

Start calls StartFunc.

func (*EventControllerMock) StartCalls

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

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

len(mockedEventController.StartCalls())

func (*EventControllerMock) Sync

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

Sync calls SyncFunc.

func (*EventControllerMock) SyncCalls

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

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

len(mockedEventController.SyncCalls())

type EventInterfaceMock

type EventInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.EventHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.EventController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Event) (*v1.Event, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.EventList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Event) (*v1.Event, error)

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

EventInterfaceMock is a mock implementation of EventInterface.

    func TestSomethingThatUsesEventInterface(t *testing.T) {

        // make and configure a mocked EventInterface
        mockedEventInterface := &EventInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.EventHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.EventLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.EventHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.EventLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.EventController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Event) (*v1.Event, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Event, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Event, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.EventList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Event) (*v1.Event, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedEventInterface in code that requires EventInterface
        // and then make assertions.

    }

func (*EventInterfaceMock) AddClusterScopedHandler

func (mock *EventInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.EventHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*EventInterfaceMock) AddClusterScopedHandlerCalls

func (mock *EventInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.EventHandlerFunc
}

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

len(mockedEventInterface.AddClusterScopedHandlerCalls())

func (*EventInterfaceMock) AddClusterScopedLifecycle

func (mock *EventInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.EventLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*EventInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *EventInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.EventLifecycle
}

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

len(mockedEventInterface.AddClusterScopedLifecycleCalls())

func (*EventInterfaceMock) AddHandler

func (mock *EventInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.EventHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*EventInterfaceMock) AddHandlerCalls

func (mock *EventInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.EventHandlerFunc
}

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

len(mockedEventInterface.AddHandlerCalls())

func (*EventInterfaceMock) AddLifecycle

func (mock *EventInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.EventLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*EventInterfaceMock) AddLifecycleCalls

func (mock *EventInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.EventLifecycle
}

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

len(mockedEventInterface.AddLifecycleCalls())

func (*EventInterfaceMock) Controller

func (mock *EventInterfaceMock) Controller() v1a.EventController

Controller calls ControllerFunc.

func (*EventInterfaceMock) ControllerCalls

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

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

len(mockedEventInterface.ControllerCalls())

func (*EventInterfaceMock) Create

func (mock *EventInterfaceMock) Create(in1 *v1.Event) (*v1.Event, error)

Create calls CreateFunc.

func (*EventInterfaceMock) CreateCalls

func (mock *EventInterfaceMock) CreateCalls() []struct {
	In1 *v1.Event
}

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

len(mockedEventInterface.CreateCalls())

func (*EventInterfaceMock) Delete

func (mock *EventInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*EventInterfaceMock) DeleteCalls

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

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

len(mockedEventInterface.DeleteCalls())

func (*EventInterfaceMock) DeleteCollection

func (mock *EventInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*EventInterfaceMock) DeleteCollectionCalls

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

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

len(mockedEventInterface.DeleteCollectionCalls())

func (*EventInterfaceMock) DeleteNamespaced

func (mock *EventInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*EventInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedEventInterface.DeleteNamespacedCalls())

func (*EventInterfaceMock) Get

func (mock *EventInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Event, error)

Get calls GetFunc.

func (*EventInterfaceMock) GetCalls

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

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

len(mockedEventInterface.GetCalls())

func (*EventInterfaceMock) GetNamespaced

func (mock *EventInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Event, error)

GetNamespaced calls GetNamespacedFunc.

func (*EventInterfaceMock) GetNamespacedCalls

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

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

len(mockedEventInterface.GetNamespacedCalls())

func (*EventInterfaceMock) List

func (mock *EventInterfaceMock) List(opts v1b.ListOptions) (*v1a.EventList, error)

List calls ListFunc.

func (*EventInterfaceMock) ListCalls

func (mock *EventInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedEventInterface.ListCalls())

func (*EventInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*EventInterfaceMock) ObjectClientCalls

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

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

len(mockedEventInterface.ObjectClientCalls())

func (*EventInterfaceMock) Update

func (mock *EventInterfaceMock) Update(in1 *v1.Event) (*v1.Event, error)

Update calls UpdateFunc.

func (*EventInterfaceMock) UpdateCalls

func (mock *EventInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Event
}

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

len(mockedEventInterface.UpdateCalls())

func (*EventInterfaceMock) Watch

func (mock *EventInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*EventInterfaceMock) WatchCalls

func (mock *EventInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedEventInterface.WatchCalls())

type EventListerMock

type EventListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.Event, error)

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

EventListerMock is a mock implementation of EventLister.

    func TestSomethingThatUsesEventLister(t *testing.T) {

        // make and configure a mocked EventLister
        mockedEventLister := &EventListerMock{
            GetFunc: func(namespace string, name string) (*v1.Event, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Event, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedEventLister in code that requires EventLister
        // and then make assertions.

    }

func (*EventListerMock) Get

func (mock *EventListerMock) Get(namespace string, name string) (*v1.Event, error)

Get calls GetFunc.

func (*EventListerMock) GetCalls

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

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

len(mockedEventLister.GetCalls())

func (*EventListerMock) List

func (mock *EventListerMock) List(namespace string, selector labels.Selector) ([]*v1.Event, error)

List calls ListFunc.

func (*EventListerMock) ListCalls

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

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

len(mockedEventLister.ListCalls())

type EventsGetterMock

type EventsGetterMock struct {
	// EventsFunc mocks the Events method.
	EventsFunc func(namespace string) v1a.EventInterface
	// contains filtered or unexported fields
}

EventsGetterMock is a mock implementation of EventsGetter.

    func TestSomethingThatUsesEventsGetter(t *testing.T) {

        // make and configure a mocked EventsGetter
        mockedEventsGetter := &EventsGetterMock{
            EventsFunc: func(namespace string) v1a.EventInterface {
	               panic("mock out the Events method")
            },
        }

        // use mockedEventsGetter in code that requires EventsGetter
        // and then make assertions.

    }

func (*EventsGetterMock) Events

func (mock *EventsGetterMock) Events(namespace string) v1a.EventInterface

Events calls EventsFunc.

func (*EventsGetterMock) EventsCalls

func (mock *EventsGetterMock) EventsCalls() []struct {
	Namespace string
}

EventsCalls gets all the calls that were made to Events. Check the length with:

len(mockedEventsGetter.EventsCalls())

type LimitRangeControllerMock

type LimitRangeControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)

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

	// 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() v1a.LimitRangeLister

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

LimitRangeControllerMock is a mock implementation of LimitRangeController.

    func TestSomethingThatUsesLimitRangeController(t *testing.T) {

        // make and configure a mocked LimitRangeController
        mockedLimitRangeController := &LimitRangeControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.LimitRangeHandlerFunc)  {
	               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() v1a.LimitRangeLister {
	               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 mockedLimitRangeController in code that requires LimitRangeController
        // and then make assertions.

    }

func (*LimitRangeControllerMock) AddClusterScopedHandler

func (mock *LimitRangeControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*LimitRangeControllerMock) AddClusterScopedHandlerCalls

func (mock *LimitRangeControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.LimitRangeHandlerFunc
}

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

len(mockedLimitRangeController.AddClusterScopedHandlerCalls())

func (*LimitRangeControllerMock) AddHandler

func (mock *LimitRangeControllerMock) AddHandler(ctx context.Context, name string, handler v1a.LimitRangeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*LimitRangeControllerMock) AddHandlerCalls

func (mock *LimitRangeControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.LimitRangeHandlerFunc
}

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

len(mockedLimitRangeController.AddHandlerCalls())

func (*LimitRangeControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*LimitRangeControllerMock) EnqueueCalls

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

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

len(mockedLimitRangeController.EnqueueCalls())

func (*LimitRangeControllerMock) Generic

Generic calls GenericFunc.

func (*LimitRangeControllerMock) GenericCalls

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

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

len(mockedLimitRangeController.GenericCalls())

func (*LimitRangeControllerMock) Informer

Informer calls InformerFunc.

func (*LimitRangeControllerMock) InformerCalls

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

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

len(mockedLimitRangeController.InformerCalls())

func (*LimitRangeControllerMock) Lister

Lister calls ListerFunc.

func (*LimitRangeControllerMock) ListerCalls

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

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

len(mockedLimitRangeController.ListerCalls())

func (*LimitRangeControllerMock) Start

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

Start calls StartFunc.

func (*LimitRangeControllerMock) StartCalls

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

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

len(mockedLimitRangeController.StartCalls())

func (*LimitRangeControllerMock) Sync

Sync calls SyncFunc.

func (*LimitRangeControllerMock) SyncCalls

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

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

len(mockedLimitRangeController.SyncCalls())

type LimitRangeInterfaceMock

type LimitRangeInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.LimitRangeController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.LimitRange) (*v1.LimitRange, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.LimitRangeList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.LimitRange) (*v1.LimitRange, error)

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

LimitRangeInterfaceMock is a mock implementation of LimitRangeInterface.

    func TestSomethingThatUsesLimitRangeInterface(t *testing.T) {

        // make and configure a mocked LimitRangeInterface
        mockedLimitRangeInterface := &LimitRangeInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.LimitRangeLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.LimitRangeController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.LimitRange) (*v1.LimitRange, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.LimitRange, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.LimitRange, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.LimitRangeList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.LimitRange) (*v1.LimitRange, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedLimitRangeInterface in code that requires LimitRangeInterface
        // and then make assertions.

    }

func (*LimitRangeInterfaceMock) AddClusterScopedHandler

func (mock *LimitRangeInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*LimitRangeInterfaceMock) AddClusterScopedHandlerCalls

func (mock *LimitRangeInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.LimitRangeHandlerFunc
}

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

len(mockedLimitRangeInterface.AddClusterScopedHandlerCalls())

func (*LimitRangeInterfaceMock) AddClusterScopedLifecycle

func (mock *LimitRangeInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*LimitRangeInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *LimitRangeInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.LimitRangeLifecycle
}

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

len(mockedLimitRangeInterface.AddClusterScopedLifecycleCalls())

func (*LimitRangeInterfaceMock) AddHandler

func (mock *LimitRangeInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.LimitRangeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*LimitRangeInterfaceMock) AddHandlerCalls

func (mock *LimitRangeInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.LimitRangeHandlerFunc
}

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

len(mockedLimitRangeInterface.AddHandlerCalls())

func (*LimitRangeInterfaceMock) AddLifecycle

func (mock *LimitRangeInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.LimitRangeLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*LimitRangeInterfaceMock) AddLifecycleCalls

func (mock *LimitRangeInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.LimitRangeLifecycle
}

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

len(mockedLimitRangeInterface.AddLifecycleCalls())

func (*LimitRangeInterfaceMock) Controller

Controller calls ControllerFunc.

func (*LimitRangeInterfaceMock) ControllerCalls

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

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

len(mockedLimitRangeInterface.ControllerCalls())

func (*LimitRangeInterfaceMock) Create

func (mock *LimitRangeInterfaceMock) Create(in1 *v1.LimitRange) (*v1.LimitRange, error)

Create calls CreateFunc.

func (*LimitRangeInterfaceMock) CreateCalls

func (mock *LimitRangeInterfaceMock) CreateCalls() []struct {
	In1 *v1.LimitRange
}

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

len(mockedLimitRangeInterface.CreateCalls())

func (*LimitRangeInterfaceMock) Delete

func (mock *LimitRangeInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*LimitRangeInterfaceMock) DeleteCalls

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

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

len(mockedLimitRangeInterface.DeleteCalls())

func (*LimitRangeInterfaceMock) DeleteCollection

func (mock *LimitRangeInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*LimitRangeInterfaceMock) DeleteCollectionCalls

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

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

len(mockedLimitRangeInterface.DeleteCollectionCalls())

func (*LimitRangeInterfaceMock) DeleteNamespaced

func (mock *LimitRangeInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*LimitRangeInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedLimitRangeInterface.DeleteNamespacedCalls())

func (*LimitRangeInterfaceMock) Get

func (mock *LimitRangeInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.LimitRange, error)

Get calls GetFunc.

func (*LimitRangeInterfaceMock) GetCalls

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

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

len(mockedLimitRangeInterface.GetCalls())

func (*LimitRangeInterfaceMock) GetNamespaced

func (mock *LimitRangeInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.LimitRange, error)

GetNamespaced calls GetNamespacedFunc.

func (*LimitRangeInterfaceMock) GetNamespacedCalls

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

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

len(mockedLimitRangeInterface.GetNamespacedCalls())

func (*LimitRangeInterfaceMock) List

List calls ListFunc.

func (*LimitRangeInterfaceMock) ListCalls

func (mock *LimitRangeInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedLimitRangeInterface.ListCalls())

func (*LimitRangeInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*LimitRangeInterfaceMock) ObjectClientCalls

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

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

len(mockedLimitRangeInterface.ObjectClientCalls())

func (*LimitRangeInterfaceMock) Update

func (mock *LimitRangeInterfaceMock) Update(in1 *v1.LimitRange) (*v1.LimitRange, error)

Update calls UpdateFunc.

func (*LimitRangeInterfaceMock) UpdateCalls

func (mock *LimitRangeInterfaceMock) UpdateCalls() []struct {
	In1 *v1.LimitRange
}

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

len(mockedLimitRangeInterface.UpdateCalls())

func (*LimitRangeInterfaceMock) Watch

Watch calls WatchFunc.

func (*LimitRangeInterfaceMock) WatchCalls

func (mock *LimitRangeInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedLimitRangeInterface.WatchCalls())

type LimitRangeListerMock

type LimitRangeListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.LimitRange, error)

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

LimitRangeListerMock is a mock implementation of LimitRangeLister.

    func TestSomethingThatUsesLimitRangeLister(t *testing.T) {

        // make and configure a mocked LimitRangeLister
        mockedLimitRangeLister := &LimitRangeListerMock{
            GetFunc: func(namespace string, name string) (*v1.LimitRange, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.LimitRange, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedLimitRangeLister in code that requires LimitRangeLister
        // and then make assertions.

    }

func (*LimitRangeListerMock) Get

func (mock *LimitRangeListerMock) Get(namespace string, name string) (*v1.LimitRange, error)

Get calls GetFunc.

func (*LimitRangeListerMock) GetCalls

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

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

len(mockedLimitRangeLister.GetCalls())

func (*LimitRangeListerMock) List

func (mock *LimitRangeListerMock) List(namespace string, selector labels.Selector) ([]*v1.LimitRange, error)

List calls ListFunc.

func (*LimitRangeListerMock) ListCalls

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

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

len(mockedLimitRangeLister.ListCalls())

type LimitRangesGetterMock

type LimitRangesGetterMock struct {
	// LimitRangesFunc mocks the LimitRanges method.
	LimitRangesFunc func(namespace string) v1a.LimitRangeInterface
	// contains filtered or unexported fields
}

LimitRangesGetterMock is a mock implementation of LimitRangesGetter.

    func TestSomethingThatUsesLimitRangesGetter(t *testing.T) {

        // make and configure a mocked LimitRangesGetter
        mockedLimitRangesGetter := &LimitRangesGetterMock{
            LimitRangesFunc: func(namespace string) v1a.LimitRangeInterface {
	               panic("mock out the LimitRanges method")
            },
        }

        // use mockedLimitRangesGetter in code that requires LimitRangesGetter
        // and then make assertions.

    }

func (*LimitRangesGetterMock) LimitRanges

func (mock *LimitRangesGetterMock) LimitRanges(namespace string) v1a.LimitRangeInterface

LimitRanges calls LimitRangesFunc.

func (*LimitRangesGetterMock) LimitRangesCalls

func (mock *LimitRangesGetterMock) LimitRangesCalls() []struct {
	Namespace string
}

LimitRangesCalls gets all the calls that were made to LimitRanges. Check the length with:

len(mockedLimitRangesGetter.LimitRangesCalls())

type NamespaceControllerMock

type NamespaceControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.NamespaceHandlerFunc)

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

	// 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() v1a.NamespaceLister

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

NamespaceControllerMock is a mock implementation of NamespaceController.

    func TestSomethingThatUsesNamespaceController(t *testing.T) {

        // make and configure a mocked NamespaceController
        mockedNamespaceController := &NamespaceControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.NamespaceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.NamespaceHandlerFunc)  {
	               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() v1a.NamespaceLister {
	               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 mockedNamespaceController in code that requires NamespaceController
        // and then make assertions.

    }

func (*NamespaceControllerMock) AddClusterScopedHandler

func (mock *NamespaceControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.NamespaceHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespaceControllerMock) AddClusterScopedHandlerCalls

func (mock *NamespaceControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.NamespaceHandlerFunc
}

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

len(mockedNamespaceController.AddClusterScopedHandlerCalls())

func (*NamespaceControllerMock) AddHandler

func (mock *NamespaceControllerMock) AddHandler(ctx context.Context, name string, handler v1a.NamespaceHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NamespaceControllerMock) AddHandlerCalls

func (mock *NamespaceControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.NamespaceHandlerFunc
}

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

len(mockedNamespaceController.AddHandlerCalls())

func (*NamespaceControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*NamespaceControllerMock) EnqueueCalls

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

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

len(mockedNamespaceController.EnqueueCalls())

func (*NamespaceControllerMock) Generic

Generic calls GenericFunc.

func (*NamespaceControllerMock) GenericCalls

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

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

len(mockedNamespaceController.GenericCalls())

func (*NamespaceControllerMock) Informer

Informer calls InformerFunc.

func (*NamespaceControllerMock) InformerCalls

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

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

len(mockedNamespaceController.InformerCalls())

func (*NamespaceControllerMock) Lister

Lister calls ListerFunc.

func (*NamespaceControllerMock) ListerCalls

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

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

len(mockedNamespaceController.ListerCalls())

func (*NamespaceControllerMock) Start

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

Start calls StartFunc.

func (*NamespaceControllerMock) StartCalls

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

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

len(mockedNamespaceController.StartCalls())

func (*NamespaceControllerMock) Sync

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

Sync calls SyncFunc.

func (*NamespaceControllerMock) SyncCalls

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

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

len(mockedNamespaceController.SyncCalls())

type NamespaceInterfaceMock

type NamespaceInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.NamespaceHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.NamespaceController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Namespace) (*v1.Namespace, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.NamespaceList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Namespace) (*v1.Namespace, error)

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

NamespaceInterfaceMock is a mock implementation of NamespaceInterface.

    func TestSomethingThatUsesNamespaceInterface(t *testing.T) {

        // make and configure a mocked NamespaceInterface
        mockedNamespaceInterface := &NamespaceInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.NamespaceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.NamespaceLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.NamespaceHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.NamespaceLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.NamespaceController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Namespace) (*v1.Namespace, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Namespace, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Namespace, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.NamespaceList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Namespace) (*v1.Namespace, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNamespaceInterface in code that requires NamespaceInterface
        // and then make assertions.

    }

func (*NamespaceInterfaceMock) AddClusterScopedHandler

func (mock *NamespaceInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.NamespaceHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespaceInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NamespaceInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.NamespaceHandlerFunc
}

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

len(mockedNamespaceInterface.AddClusterScopedHandlerCalls())

func (*NamespaceInterfaceMock) AddClusterScopedLifecycle

func (mock *NamespaceInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.NamespaceLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NamespaceInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NamespaceInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.NamespaceLifecycle
}

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

len(mockedNamespaceInterface.AddClusterScopedLifecycleCalls())

func (*NamespaceInterfaceMock) AddHandler

func (mock *NamespaceInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.NamespaceHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NamespaceInterfaceMock) AddHandlerCalls

func (mock *NamespaceInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.NamespaceHandlerFunc
}

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

len(mockedNamespaceInterface.AddHandlerCalls())

func (*NamespaceInterfaceMock) AddLifecycle

func (mock *NamespaceInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.NamespaceLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NamespaceInterfaceMock) AddLifecycleCalls

func (mock *NamespaceInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.NamespaceLifecycle
}

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

len(mockedNamespaceInterface.AddLifecycleCalls())

func (*NamespaceInterfaceMock) Controller

func (mock *NamespaceInterfaceMock) Controller() v1a.NamespaceController

Controller calls ControllerFunc.

func (*NamespaceInterfaceMock) ControllerCalls

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

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

len(mockedNamespaceInterface.ControllerCalls())

func (*NamespaceInterfaceMock) Create

func (mock *NamespaceInterfaceMock) Create(in1 *v1.Namespace) (*v1.Namespace, error)

Create calls CreateFunc.

func (*NamespaceInterfaceMock) CreateCalls

func (mock *NamespaceInterfaceMock) CreateCalls() []struct {
	In1 *v1.Namespace
}

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

len(mockedNamespaceInterface.CreateCalls())

func (*NamespaceInterfaceMock) Delete

func (mock *NamespaceInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*NamespaceInterfaceMock) DeleteCalls

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

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

len(mockedNamespaceInterface.DeleteCalls())

func (*NamespaceInterfaceMock) DeleteCollection

func (mock *NamespaceInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NamespaceInterfaceMock) DeleteCollectionCalls

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

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

len(mockedNamespaceInterface.DeleteCollectionCalls())

func (*NamespaceInterfaceMock) DeleteNamespaced

func (mock *NamespaceInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NamespaceInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedNamespaceInterface.DeleteNamespacedCalls())

func (*NamespaceInterfaceMock) Get

func (mock *NamespaceInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Namespace, error)

Get calls GetFunc.

func (*NamespaceInterfaceMock) GetCalls

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

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

len(mockedNamespaceInterface.GetCalls())

func (*NamespaceInterfaceMock) GetNamespaced

func (mock *NamespaceInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Namespace, error)

GetNamespaced calls GetNamespacedFunc.

func (*NamespaceInterfaceMock) GetNamespacedCalls

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

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

len(mockedNamespaceInterface.GetNamespacedCalls())

func (*NamespaceInterfaceMock) List

List calls ListFunc.

func (*NamespaceInterfaceMock) ListCalls

func (mock *NamespaceInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedNamespaceInterface.ListCalls())

func (*NamespaceInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*NamespaceInterfaceMock) ObjectClientCalls

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

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

len(mockedNamespaceInterface.ObjectClientCalls())

func (*NamespaceInterfaceMock) Update

func (mock *NamespaceInterfaceMock) Update(in1 *v1.Namespace) (*v1.Namespace, error)

Update calls UpdateFunc.

func (*NamespaceInterfaceMock) UpdateCalls

func (mock *NamespaceInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Namespace
}

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

len(mockedNamespaceInterface.UpdateCalls())

func (*NamespaceInterfaceMock) Watch

Watch calls WatchFunc.

func (*NamespaceInterfaceMock) WatchCalls

func (mock *NamespaceInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedNamespaceInterface.WatchCalls())

type NamespaceListerMock

type NamespaceListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.Namespace, error)

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

NamespaceListerMock is a mock implementation of NamespaceLister.

    func TestSomethingThatUsesNamespaceLister(t *testing.T) {

        // make and configure a mocked NamespaceLister
        mockedNamespaceLister := &NamespaceListerMock{
            GetFunc: func(namespace string, name string) (*v1.Namespace, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Namespace, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNamespaceLister in code that requires NamespaceLister
        // and then make assertions.

    }

func (*NamespaceListerMock) Get

func (mock *NamespaceListerMock) Get(namespace string, name string) (*v1.Namespace, error)

Get calls GetFunc.

func (*NamespaceListerMock) GetCalls

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

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

len(mockedNamespaceLister.GetCalls())

func (*NamespaceListerMock) List

func (mock *NamespaceListerMock) List(namespace string, selector labels.Selector) ([]*v1.Namespace, error)

List calls ListFunc.

func (*NamespaceListerMock) ListCalls

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

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

len(mockedNamespaceLister.ListCalls())

type NamespacesGetterMock

type NamespacesGetterMock struct {
	// NamespacesFunc mocks the Namespaces method.
	NamespacesFunc func(namespace string) v1a.NamespaceInterface
	// contains filtered or unexported fields
}

NamespacesGetterMock is a mock implementation of NamespacesGetter.

    func TestSomethingThatUsesNamespacesGetter(t *testing.T) {

        // make and configure a mocked NamespacesGetter
        mockedNamespacesGetter := &NamespacesGetterMock{
            NamespacesFunc: func(namespace string) v1a.NamespaceInterface {
	               panic("mock out the Namespaces method")
            },
        }

        // use mockedNamespacesGetter in code that requires NamespacesGetter
        // and then make assertions.

    }

func (*NamespacesGetterMock) Namespaces

func (mock *NamespacesGetterMock) Namespaces(namespace string) v1a.NamespaceInterface

Namespaces calls NamespacesFunc.

func (*NamespacesGetterMock) NamespacesCalls

func (mock *NamespacesGetterMock) NamespacesCalls() []struct {
	Namespace string
}

NamespacesCalls gets all the calls that were made to Namespaces. Check the length with:

len(mockedNamespacesGetter.NamespacesCalls())

type NodeControllerMock

type NodeControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.NodeHandlerFunc)

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeControllerMock) AddClusterScopedHandlerCalls

func (mock *NodeControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.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 v1a.NodeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeControllerMock) AddHandlerCalls

func (mock *NodeControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.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() v1a.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 NodeInterfaceMock

type NodeInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.NodeHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.NodeController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Node) (*v1.Node, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.NodeList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Node) (*v1.Node, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1b.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 v1a.NodeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.NodeLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.NodeHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.NodeLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.NodeController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Node) (*v1.Node, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Node, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Node, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.NodeList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Node) (*v1.Node, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.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 v1a.NodeHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NodeInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NodeInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.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 v1a.NodeLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NodeInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NodeInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.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 v1a.NodeHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*NodeInterfaceMock) AddHandlerCalls

func (mock *NodeInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.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 v1a.NodeLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NodeInterfaceMock) AddLifecycleCalls

func (mock *NodeInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.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() v1a.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 *v1.Node) (*v1.Node, error)

Create calls CreateFunc.

func (*NodeInterfaceMock) CreateCalls

func (mock *NodeInterfaceMock) CreateCalls() []struct {
	In1 *v1.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 *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*NodeInterfaceMock) DeleteCalls

func (mock *NodeInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1b.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 *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NodeInterfaceMock) DeleteCollectionCalls

func (mock *NodeInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1b.DeleteOptions
	ListOpts   v1b.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 *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NodeInterfaceMock) DeleteNamespacedCalls

func (mock *NodeInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1b.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 v1b.GetOptions) (*v1.Node, error)

Get calls GetFunc.

func (*NodeInterfaceMock) GetCalls

func (mock *NodeInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1b.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 v1b.GetOptions) (*v1.Node, error)

GetNamespaced calls GetNamespacedFunc.

func (*NodeInterfaceMock) GetNamespacedCalls

func (mock *NodeInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1b.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 v1b.ListOptions) (*v1a.NodeList, error)

List calls ListFunc.

func (*NodeInterfaceMock) ListCalls

func (mock *NodeInterfaceMock) ListCalls() []struct {
	Opts v1b.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 *v1.Node) (*v1.Node, error)

Update calls UpdateFunc.

func (*NodeInterfaceMock) UpdateCalls

func (mock *NodeInterfaceMock) UpdateCalls() []struct {
	In1 *v1.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 v1b.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*NodeInterfaceMock) WatchCalls

func (mock *NodeInterfaceMock) WatchCalls() []struct {
	Opts v1b.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) (*v1.Node, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v1.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) (*v1.Node, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.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) (*v1.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) ([]*v1.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 NodesGetterMock

type NodesGetterMock struct {
	// NodesFunc mocks the Nodes method.
	NodesFunc func(namespace string) v1a.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) v1a.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) v1a.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 PersistentVolumeClaimControllerMock

type PersistentVolumeClaimControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.PersistentVolumeClaimHandlerFunc)

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

	// 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() v1a.PersistentVolumeClaimLister

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

PersistentVolumeClaimControllerMock is a mock implementation of PersistentVolumeClaimController.

    func TestSomethingThatUsesPersistentVolumeClaimController(t *testing.T) {

        // make and configure a mocked PersistentVolumeClaimController
        mockedPersistentVolumeClaimController := &PersistentVolumeClaimControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.PersistentVolumeClaimHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.PersistentVolumeClaimHandlerFunc)  {
	               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() v1a.PersistentVolumeClaimLister {
	               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 mockedPersistentVolumeClaimController in code that requires PersistentVolumeClaimController
        // and then make assertions.

    }

func (*PersistentVolumeClaimControllerMock) AddClusterScopedHandler

func (mock *PersistentVolumeClaimControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.PersistentVolumeClaimHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PersistentVolumeClaimControllerMock) AddClusterScopedHandlerCalls

func (mock *PersistentVolumeClaimControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.PersistentVolumeClaimHandlerFunc
}

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

len(mockedPersistentVolumeClaimController.AddClusterScopedHandlerCalls())

func (*PersistentVolumeClaimControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PersistentVolumeClaimControllerMock) AddHandlerCalls

func (mock *PersistentVolumeClaimControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.PersistentVolumeClaimHandlerFunc
}

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

len(mockedPersistentVolumeClaimController.AddHandlerCalls())

func (*PersistentVolumeClaimControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*PersistentVolumeClaimControllerMock) EnqueueCalls

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

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

len(mockedPersistentVolumeClaimController.EnqueueCalls())

func (*PersistentVolumeClaimControllerMock) Generic

Generic calls GenericFunc.

func (*PersistentVolumeClaimControllerMock) GenericCalls

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

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

len(mockedPersistentVolumeClaimController.GenericCalls())

func (*PersistentVolumeClaimControllerMock) Informer

Informer calls InformerFunc.

func (*PersistentVolumeClaimControllerMock) InformerCalls

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

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

len(mockedPersistentVolumeClaimController.InformerCalls())

func (*PersistentVolumeClaimControllerMock) Lister

Lister calls ListerFunc.

func (*PersistentVolumeClaimControllerMock) ListerCalls

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

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

len(mockedPersistentVolumeClaimController.ListerCalls())

func (*PersistentVolumeClaimControllerMock) Start

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

Start calls StartFunc.

func (*PersistentVolumeClaimControllerMock) StartCalls

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

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

len(mockedPersistentVolumeClaimController.StartCalls())

func (*PersistentVolumeClaimControllerMock) Sync

Sync calls SyncFunc.

func (*PersistentVolumeClaimControllerMock) SyncCalls

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

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

len(mockedPersistentVolumeClaimController.SyncCalls())

type PersistentVolumeClaimInterfaceMock

type PersistentVolumeClaimInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.PersistentVolumeClaimHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.PersistentVolumeClaimController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.PersistentVolumeClaimList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)

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

PersistentVolumeClaimInterfaceMock is a mock implementation of PersistentVolumeClaimInterface.

    func TestSomethingThatUsesPersistentVolumeClaimInterface(t *testing.T) {

        // make and configure a mocked PersistentVolumeClaimInterface
        mockedPersistentVolumeClaimInterface := &PersistentVolumeClaimInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.PersistentVolumeClaimHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.PersistentVolumeClaimLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.PersistentVolumeClaimHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.PersistentVolumeClaimLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.PersistentVolumeClaimController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.PersistentVolumeClaim, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.PersistentVolumeClaim, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.PersistentVolumeClaimList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPersistentVolumeClaimInterface in code that requires PersistentVolumeClaimInterface
        // and then make assertions.

    }

func (*PersistentVolumeClaimInterfaceMock) AddClusterScopedHandler

func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.PersistentVolumeClaimHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PersistentVolumeClaimInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.PersistentVolumeClaimHandlerFunc
}

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

len(mockedPersistentVolumeClaimInterface.AddClusterScopedHandlerCalls())

func (*PersistentVolumeClaimInterfaceMock) AddClusterScopedLifecycle

func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.PersistentVolumeClaimLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PersistentVolumeClaimInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.PersistentVolumeClaimLifecycle
}

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

len(mockedPersistentVolumeClaimInterface.AddClusterScopedLifecycleCalls())

func (*PersistentVolumeClaimInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PersistentVolumeClaimInterfaceMock) AddHandlerCalls

func (mock *PersistentVolumeClaimInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.PersistentVolumeClaimHandlerFunc
}

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

len(mockedPersistentVolumeClaimInterface.AddHandlerCalls())

func (*PersistentVolumeClaimInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*PersistentVolumeClaimInterfaceMock) AddLifecycleCalls

func (mock *PersistentVolumeClaimInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.PersistentVolumeClaimLifecycle
}

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

len(mockedPersistentVolumeClaimInterface.AddLifecycleCalls())

func (*PersistentVolumeClaimInterfaceMock) Controller

Controller calls ControllerFunc.

func (*PersistentVolumeClaimInterfaceMock) ControllerCalls

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

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

len(mockedPersistentVolumeClaimInterface.ControllerCalls())

func (*PersistentVolumeClaimInterfaceMock) Create

Create calls CreateFunc.

func (*PersistentVolumeClaimInterfaceMock) CreateCalls

func (mock *PersistentVolumeClaimInterfaceMock) CreateCalls() []struct {
	In1 *v1.PersistentVolumeClaim
}

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

len(mockedPersistentVolumeClaimInterface.CreateCalls())

func (*PersistentVolumeClaimInterfaceMock) Delete

func (mock *PersistentVolumeClaimInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*PersistentVolumeClaimInterfaceMock) DeleteCalls

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

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

len(mockedPersistentVolumeClaimInterface.DeleteCalls())

func (*PersistentVolumeClaimInterfaceMock) DeleteCollection

func (mock *PersistentVolumeClaimInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PersistentVolumeClaimInterfaceMock) DeleteCollectionCalls

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

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

len(mockedPersistentVolumeClaimInterface.DeleteCollectionCalls())

func (*PersistentVolumeClaimInterfaceMock) DeleteNamespaced

func (mock *PersistentVolumeClaimInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PersistentVolumeClaimInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedPersistentVolumeClaimInterface.DeleteNamespacedCalls())

func (*PersistentVolumeClaimInterfaceMock) Get

Get calls GetFunc.

func (*PersistentVolumeClaimInterfaceMock) GetCalls

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

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

len(mockedPersistentVolumeClaimInterface.GetCalls())

func (*PersistentVolumeClaimInterfaceMock) GetNamespaced

func (mock *PersistentVolumeClaimInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.PersistentVolumeClaim, error)

GetNamespaced calls GetNamespacedFunc.

func (*PersistentVolumeClaimInterfaceMock) GetNamespacedCalls

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

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

len(mockedPersistentVolumeClaimInterface.GetNamespacedCalls())

func (*PersistentVolumeClaimInterfaceMock) List

List calls ListFunc.

func (*PersistentVolumeClaimInterfaceMock) ListCalls

func (mock *PersistentVolumeClaimInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedPersistentVolumeClaimInterface.ListCalls())

func (*PersistentVolumeClaimInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PersistentVolumeClaimInterfaceMock) ObjectClientCalls

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

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

len(mockedPersistentVolumeClaimInterface.ObjectClientCalls())

func (*PersistentVolumeClaimInterfaceMock) Update

Update calls UpdateFunc.

func (*PersistentVolumeClaimInterfaceMock) UpdateCalls

func (mock *PersistentVolumeClaimInterfaceMock) UpdateCalls() []struct {
	In1 *v1.PersistentVolumeClaim
}

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

len(mockedPersistentVolumeClaimInterface.UpdateCalls())

func (*PersistentVolumeClaimInterfaceMock) Watch

Watch calls WatchFunc.

func (*PersistentVolumeClaimInterfaceMock) WatchCalls

func (mock *PersistentVolumeClaimInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedPersistentVolumeClaimInterface.WatchCalls())

type PersistentVolumeClaimListerMock

type PersistentVolumeClaimListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.PersistentVolumeClaim, error)

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

PersistentVolumeClaimListerMock is a mock implementation of PersistentVolumeClaimLister.

    func TestSomethingThatUsesPersistentVolumeClaimLister(t *testing.T) {

        // make and configure a mocked PersistentVolumeClaimLister
        mockedPersistentVolumeClaimLister := &PersistentVolumeClaimListerMock{
            GetFunc: func(namespace string, name string) (*v1.PersistentVolumeClaim, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.PersistentVolumeClaim, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPersistentVolumeClaimLister in code that requires PersistentVolumeClaimLister
        // and then make assertions.

    }

func (*PersistentVolumeClaimListerMock) Get

Get calls GetFunc.

func (*PersistentVolumeClaimListerMock) GetCalls

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

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

len(mockedPersistentVolumeClaimLister.GetCalls())

func (*PersistentVolumeClaimListerMock) List

func (mock *PersistentVolumeClaimListerMock) List(namespace string, selector labels.Selector) ([]*v1.PersistentVolumeClaim, error)

List calls ListFunc.

func (*PersistentVolumeClaimListerMock) ListCalls

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

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

len(mockedPersistentVolumeClaimLister.ListCalls())

type PersistentVolumeClaimsGetterMock

type PersistentVolumeClaimsGetterMock struct {
	// PersistentVolumeClaimsFunc mocks the PersistentVolumeClaims method.
	PersistentVolumeClaimsFunc func(namespace string) v1a.PersistentVolumeClaimInterface
	// contains filtered or unexported fields
}

PersistentVolumeClaimsGetterMock is a mock implementation of PersistentVolumeClaimsGetter.

    func TestSomethingThatUsesPersistentVolumeClaimsGetter(t *testing.T) {

        // make and configure a mocked PersistentVolumeClaimsGetter
        mockedPersistentVolumeClaimsGetter := &PersistentVolumeClaimsGetterMock{
            PersistentVolumeClaimsFunc: func(namespace string) v1a.PersistentVolumeClaimInterface {
	               panic("mock out the PersistentVolumeClaims method")
            },
        }

        // use mockedPersistentVolumeClaimsGetter in code that requires PersistentVolumeClaimsGetter
        // and then make assertions.

    }

func (*PersistentVolumeClaimsGetterMock) PersistentVolumeClaims

func (mock *PersistentVolumeClaimsGetterMock) PersistentVolumeClaims(namespace string) v1a.PersistentVolumeClaimInterface

PersistentVolumeClaims calls PersistentVolumeClaimsFunc.

func (*PersistentVolumeClaimsGetterMock) PersistentVolumeClaimsCalls

func (mock *PersistentVolumeClaimsGetterMock) PersistentVolumeClaimsCalls() []struct {
	Namespace string
}

PersistentVolumeClaimsCalls gets all the calls that were made to PersistentVolumeClaims. Check the length with:

len(mockedPersistentVolumeClaimsGetter.PersistentVolumeClaimsCalls())

type PodControllerMock

type PodControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.PodHandlerFunc)

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

	// 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() v1a.PodLister

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

PodControllerMock is a mock implementation of PodController.

    func TestSomethingThatUsesPodController(t *testing.T) {

        // make and configure a mocked PodController
        mockedPodController := &PodControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.PodHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.PodHandlerFunc)  {
	               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() v1a.PodLister {
	               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 mockedPodController in code that requires PodController
        // and then make assertions.

    }

func (*PodControllerMock) AddClusterScopedHandler

func (mock *PodControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.PodHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PodControllerMock) AddClusterScopedHandlerCalls

func (mock *PodControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.PodHandlerFunc
}

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

len(mockedPodController.AddClusterScopedHandlerCalls())

func (*PodControllerMock) AddHandler

func (mock *PodControllerMock) AddHandler(ctx context.Context, name string, handler v1a.PodHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PodControllerMock) AddHandlerCalls

func (mock *PodControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.PodHandlerFunc
}

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

len(mockedPodController.AddHandlerCalls())

func (*PodControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*PodControllerMock) EnqueueCalls

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

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

len(mockedPodController.EnqueueCalls())

func (*PodControllerMock) Generic

Generic calls GenericFunc.

func (*PodControllerMock) GenericCalls

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

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

len(mockedPodController.GenericCalls())

func (*PodControllerMock) Informer

func (mock *PodControllerMock) Informer() cache.SharedIndexInformer

Informer calls InformerFunc.

func (*PodControllerMock) InformerCalls

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

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

len(mockedPodController.InformerCalls())

func (*PodControllerMock) Lister

func (mock *PodControllerMock) Lister() v1a.PodLister

Lister calls ListerFunc.

func (*PodControllerMock) ListerCalls

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

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

len(mockedPodController.ListerCalls())

func (*PodControllerMock) Start

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

Start calls StartFunc.

func (*PodControllerMock) StartCalls

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

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

len(mockedPodController.StartCalls())

func (*PodControllerMock) Sync

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

Sync calls SyncFunc.

func (*PodControllerMock) SyncCalls

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

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

len(mockedPodController.SyncCalls())

type PodInterfaceMock

type PodInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.PodHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.PodController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Pod) (*v1.Pod, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.PodList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Pod) (*v1.Pod, error)

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

PodInterfaceMock is a mock implementation of PodInterface.

    func TestSomethingThatUsesPodInterface(t *testing.T) {

        // make and configure a mocked PodInterface
        mockedPodInterface := &PodInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.PodHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.PodLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.PodHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.PodLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.PodController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Pod) (*v1.Pod, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Pod, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Pod, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.PodList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Pod) (*v1.Pod, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPodInterface in code that requires PodInterface
        // and then make assertions.

    }

func (*PodInterfaceMock) AddClusterScopedHandler

func (mock *PodInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.PodHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PodInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PodInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.PodHandlerFunc
}

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

len(mockedPodInterface.AddClusterScopedHandlerCalls())

func (*PodInterfaceMock) AddClusterScopedLifecycle

func (mock *PodInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.PodLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PodInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PodInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.PodLifecycle
}

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

len(mockedPodInterface.AddClusterScopedLifecycleCalls())

func (*PodInterfaceMock) AddHandler

func (mock *PodInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.PodHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PodInterfaceMock) AddHandlerCalls

func (mock *PodInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.PodHandlerFunc
}

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

len(mockedPodInterface.AddHandlerCalls())

func (*PodInterfaceMock) AddLifecycle

func (mock *PodInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.PodLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*PodInterfaceMock) AddLifecycleCalls

func (mock *PodInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.PodLifecycle
}

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

len(mockedPodInterface.AddLifecycleCalls())

func (*PodInterfaceMock) Controller

func (mock *PodInterfaceMock) Controller() v1a.PodController

Controller calls ControllerFunc.

func (*PodInterfaceMock) ControllerCalls

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

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

len(mockedPodInterface.ControllerCalls())

func (*PodInterfaceMock) Create

func (mock *PodInterfaceMock) Create(in1 *v1.Pod) (*v1.Pod, error)

Create calls CreateFunc.

func (*PodInterfaceMock) CreateCalls

func (mock *PodInterfaceMock) CreateCalls() []struct {
	In1 *v1.Pod
}

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

len(mockedPodInterface.CreateCalls())

func (*PodInterfaceMock) Delete

func (mock *PodInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*PodInterfaceMock) DeleteCalls

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

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

len(mockedPodInterface.DeleteCalls())

func (*PodInterfaceMock) DeleteCollection

func (mock *PodInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PodInterfaceMock) DeleteCollectionCalls

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

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

len(mockedPodInterface.DeleteCollectionCalls())

func (*PodInterfaceMock) DeleteNamespaced

func (mock *PodInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PodInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedPodInterface.DeleteNamespacedCalls())

func (*PodInterfaceMock) Get

func (mock *PodInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Pod, error)

Get calls GetFunc.

func (*PodInterfaceMock) GetCalls

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

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

len(mockedPodInterface.GetCalls())

func (*PodInterfaceMock) GetNamespaced

func (mock *PodInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Pod, error)

GetNamespaced calls GetNamespacedFunc.

func (*PodInterfaceMock) GetNamespacedCalls

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

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

len(mockedPodInterface.GetNamespacedCalls())

func (*PodInterfaceMock) List

func (mock *PodInterfaceMock) List(opts v1b.ListOptions) (*v1a.PodList, error)

List calls ListFunc.

func (*PodInterfaceMock) ListCalls

func (mock *PodInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedPodInterface.ListCalls())

func (*PodInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*PodInterfaceMock) ObjectClientCalls

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

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

len(mockedPodInterface.ObjectClientCalls())

func (*PodInterfaceMock) Update

func (mock *PodInterfaceMock) Update(in1 *v1.Pod) (*v1.Pod, error)

Update calls UpdateFunc.

func (*PodInterfaceMock) UpdateCalls

func (mock *PodInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Pod
}

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

len(mockedPodInterface.UpdateCalls())

func (*PodInterfaceMock) Watch

func (mock *PodInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*PodInterfaceMock) WatchCalls

func (mock *PodInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedPodInterface.WatchCalls())

type PodListerMock

type PodListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.Pod, error)

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

PodListerMock is a mock implementation of PodLister.

    func TestSomethingThatUsesPodLister(t *testing.T) {

        // make and configure a mocked PodLister
        mockedPodLister := &PodListerMock{
            GetFunc: func(namespace string, name string) (*v1.Pod, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Pod, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPodLister in code that requires PodLister
        // and then make assertions.

    }

func (*PodListerMock) Get

func (mock *PodListerMock) Get(namespace string, name string) (*v1.Pod, error)

Get calls GetFunc.

func (*PodListerMock) GetCalls

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

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

len(mockedPodLister.GetCalls())

func (*PodListerMock) List

func (mock *PodListerMock) List(namespace string, selector labels.Selector) ([]*v1.Pod, error)

List calls ListFunc.

func (*PodListerMock) ListCalls

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

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

len(mockedPodLister.ListCalls())

type PodsGetterMock

type PodsGetterMock struct {
	// PodsFunc mocks the Pods method.
	PodsFunc func(namespace string) v1a.PodInterface
	// contains filtered or unexported fields
}

PodsGetterMock is a mock implementation of PodsGetter.

    func TestSomethingThatUsesPodsGetter(t *testing.T) {

        // make and configure a mocked PodsGetter
        mockedPodsGetter := &PodsGetterMock{
            PodsFunc: func(namespace string) v1a.PodInterface {
	               panic("mock out the Pods method")
            },
        }

        // use mockedPodsGetter in code that requires PodsGetter
        // and then make assertions.

    }

func (*PodsGetterMock) Pods

func (mock *PodsGetterMock) Pods(namespace string) v1a.PodInterface

Pods calls PodsFunc.

func (*PodsGetterMock) PodsCalls

func (mock *PodsGetterMock) PodsCalls() []struct {
	Namespace string
}

PodsCalls gets all the calls that were made to Pods. Check the length with:

len(mockedPodsGetter.PodsCalls())

type ReplicationControllerControllerMock

type ReplicationControllerControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ReplicationControllerHandlerFunc)

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

	// 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() v1a.ReplicationControllerLister

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

ReplicationControllerControllerMock is a mock implementation of ReplicationControllerController.

    func TestSomethingThatUsesReplicationControllerController(t *testing.T) {

        // make and configure a mocked ReplicationControllerController
        mockedReplicationControllerController := &ReplicationControllerControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ReplicationControllerHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ReplicationControllerHandlerFunc)  {
	               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() v1a.ReplicationControllerLister {
	               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 mockedReplicationControllerController in code that requires ReplicationControllerController
        // and then make assertions.

    }

func (*ReplicationControllerControllerMock) AddClusterScopedHandler

func (mock *ReplicationControllerControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ReplicationControllerHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ReplicationControllerControllerMock) AddClusterScopedHandlerCalls

func (mock *ReplicationControllerControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.ReplicationControllerHandlerFunc
}

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

len(mockedReplicationControllerController.AddClusterScopedHandlerCalls())

func (*ReplicationControllerControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ReplicationControllerControllerMock) AddHandlerCalls

func (mock *ReplicationControllerControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.ReplicationControllerHandlerFunc
}

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

len(mockedReplicationControllerController.AddHandlerCalls())

func (*ReplicationControllerControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ReplicationControllerControllerMock) EnqueueCalls

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

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

len(mockedReplicationControllerController.EnqueueCalls())

func (*ReplicationControllerControllerMock) Generic

Generic calls GenericFunc.

func (*ReplicationControllerControllerMock) GenericCalls

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

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

len(mockedReplicationControllerController.GenericCalls())

func (*ReplicationControllerControllerMock) Informer

Informer calls InformerFunc.

func (*ReplicationControllerControllerMock) InformerCalls

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

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

len(mockedReplicationControllerController.InformerCalls())

func (*ReplicationControllerControllerMock) Lister

Lister calls ListerFunc.

func (*ReplicationControllerControllerMock) ListerCalls

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

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

len(mockedReplicationControllerController.ListerCalls())

func (*ReplicationControllerControllerMock) Start

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

Start calls StartFunc.

func (*ReplicationControllerControllerMock) StartCalls

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

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

len(mockedReplicationControllerController.StartCalls())

func (*ReplicationControllerControllerMock) Sync

Sync calls SyncFunc.

func (*ReplicationControllerControllerMock) SyncCalls

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

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

len(mockedReplicationControllerController.SyncCalls())

type ReplicationControllerInterfaceMock

type ReplicationControllerInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ReplicationControllerHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.ReplicationControllerController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.ReplicationController) (*v1.ReplicationController, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.ReplicationControllerList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.ReplicationController) (*v1.ReplicationController, error)

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

ReplicationControllerInterfaceMock is a mock implementation of ReplicationControllerInterface.

    func TestSomethingThatUsesReplicationControllerInterface(t *testing.T) {

        // make and configure a mocked ReplicationControllerInterface
        mockedReplicationControllerInterface := &ReplicationControllerInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ReplicationControllerHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ReplicationControllerLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ReplicationControllerHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ReplicationControllerLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.ReplicationControllerController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.ReplicationController) (*v1.ReplicationController, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.ReplicationController, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ReplicationController, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.ReplicationControllerList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.ReplicationController) (*v1.ReplicationController, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedReplicationControllerInterface in code that requires ReplicationControllerInterface
        // and then make assertions.

    }

func (*ReplicationControllerInterfaceMock) AddClusterScopedHandler

func (mock *ReplicationControllerInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ReplicationControllerHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ReplicationControllerInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ReplicationControllerInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.ReplicationControllerHandlerFunc
}

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

len(mockedReplicationControllerInterface.AddClusterScopedHandlerCalls())

func (*ReplicationControllerInterfaceMock) AddClusterScopedLifecycle

func (mock *ReplicationControllerInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ReplicationControllerLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ReplicationControllerInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ReplicationControllerInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.ReplicationControllerLifecycle
}

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

len(mockedReplicationControllerInterface.AddClusterScopedLifecycleCalls())

func (*ReplicationControllerInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ReplicationControllerInterfaceMock) AddHandlerCalls

func (mock *ReplicationControllerInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.ReplicationControllerHandlerFunc
}

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

len(mockedReplicationControllerInterface.AddHandlerCalls())

func (*ReplicationControllerInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*ReplicationControllerInterfaceMock) AddLifecycleCalls

func (mock *ReplicationControllerInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.ReplicationControllerLifecycle
}

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

len(mockedReplicationControllerInterface.AddLifecycleCalls())

func (*ReplicationControllerInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ReplicationControllerInterfaceMock) ControllerCalls

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

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

len(mockedReplicationControllerInterface.ControllerCalls())

func (*ReplicationControllerInterfaceMock) Create

Create calls CreateFunc.

func (*ReplicationControllerInterfaceMock) CreateCalls

func (mock *ReplicationControllerInterfaceMock) CreateCalls() []struct {
	In1 *v1.ReplicationController
}

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

len(mockedReplicationControllerInterface.CreateCalls())

func (*ReplicationControllerInterfaceMock) Delete

func (mock *ReplicationControllerInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*ReplicationControllerInterfaceMock) DeleteCalls

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

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

len(mockedReplicationControllerInterface.DeleteCalls())

func (*ReplicationControllerInterfaceMock) DeleteCollection

func (mock *ReplicationControllerInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ReplicationControllerInterfaceMock) DeleteCollectionCalls

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

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

len(mockedReplicationControllerInterface.DeleteCollectionCalls())

func (*ReplicationControllerInterfaceMock) DeleteNamespaced

func (mock *ReplicationControllerInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ReplicationControllerInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedReplicationControllerInterface.DeleteNamespacedCalls())

func (*ReplicationControllerInterfaceMock) Get

Get calls GetFunc.

func (*ReplicationControllerInterfaceMock) GetCalls

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

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

len(mockedReplicationControllerInterface.GetCalls())

func (*ReplicationControllerInterfaceMock) GetNamespaced

func (mock *ReplicationControllerInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ReplicationController, error)

GetNamespaced calls GetNamespacedFunc.

func (*ReplicationControllerInterfaceMock) GetNamespacedCalls

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

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

len(mockedReplicationControllerInterface.GetNamespacedCalls())

func (*ReplicationControllerInterfaceMock) List

List calls ListFunc.

func (*ReplicationControllerInterfaceMock) ListCalls

func (mock *ReplicationControllerInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedReplicationControllerInterface.ListCalls())

func (*ReplicationControllerInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ReplicationControllerInterfaceMock) ObjectClientCalls

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

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

len(mockedReplicationControllerInterface.ObjectClientCalls())

func (*ReplicationControllerInterfaceMock) Update

Update calls UpdateFunc.

func (*ReplicationControllerInterfaceMock) UpdateCalls

func (mock *ReplicationControllerInterfaceMock) UpdateCalls() []struct {
	In1 *v1.ReplicationController
}

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

len(mockedReplicationControllerInterface.UpdateCalls())

func (*ReplicationControllerInterfaceMock) Watch

Watch calls WatchFunc.

func (*ReplicationControllerInterfaceMock) WatchCalls

func (mock *ReplicationControllerInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedReplicationControllerInterface.WatchCalls())

type ReplicationControllerListerMock

type ReplicationControllerListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.ReplicationController, error)

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

ReplicationControllerListerMock is a mock implementation of ReplicationControllerLister.

    func TestSomethingThatUsesReplicationControllerLister(t *testing.T) {

        // make and configure a mocked ReplicationControllerLister
        mockedReplicationControllerLister := &ReplicationControllerListerMock{
            GetFunc: func(namespace string, name string) (*v1.ReplicationController, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ReplicationController, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedReplicationControllerLister in code that requires ReplicationControllerLister
        // and then make assertions.

    }

func (*ReplicationControllerListerMock) Get

Get calls GetFunc.

func (*ReplicationControllerListerMock) GetCalls

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

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

len(mockedReplicationControllerLister.GetCalls())

func (*ReplicationControllerListerMock) List

func (mock *ReplicationControllerListerMock) List(namespace string, selector labels.Selector) ([]*v1.ReplicationController, error)

List calls ListFunc.

func (*ReplicationControllerListerMock) ListCalls

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

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

len(mockedReplicationControllerLister.ListCalls())

type ReplicationControllersGetterMock

type ReplicationControllersGetterMock struct {
	// ReplicationControllersFunc mocks the ReplicationControllers method.
	ReplicationControllersFunc func(namespace string) v1a.ReplicationControllerInterface
	// contains filtered or unexported fields
}

ReplicationControllersGetterMock is a mock implementation of ReplicationControllersGetter.

    func TestSomethingThatUsesReplicationControllersGetter(t *testing.T) {

        // make and configure a mocked ReplicationControllersGetter
        mockedReplicationControllersGetter := &ReplicationControllersGetterMock{
            ReplicationControllersFunc: func(namespace string) v1a.ReplicationControllerInterface {
	               panic("mock out the ReplicationControllers method")
            },
        }

        // use mockedReplicationControllersGetter in code that requires ReplicationControllersGetter
        // and then make assertions.

    }

func (*ReplicationControllersGetterMock) ReplicationControllers

func (mock *ReplicationControllersGetterMock) ReplicationControllers(namespace string) v1a.ReplicationControllerInterface

ReplicationControllers calls ReplicationControllersFunc.

func (*ReplicationControllersGetterMock) ReplicationControllersCalls

func (mock *ReplicationControllersGetterMock) ReplicationControllersCalls() []struct {
	Namespace string
}

ReplicationControllersCalls gets all the calls that were made to ReplicationControllers. Check the length with:

len(mockedReplicationControllersGetter.ReplicationControllersCalls())

type ResourceQuotaControllerMock

type ResourceQuotaControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ResourceQuotaHandlerFunc)

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

	// 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() v1a.ResourceQuotaLister

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

ResourceQuotaControllerMock is a mock implementation of ResourceQuotaController.

    func TestSomethingThatUsesResourceQuotaController(t *testing.T) {

        // make and configure a mocked ResourceQuotaController
        mockedResourceQuotaController := &ResourceQuotaControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ResourceQuotaHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ResourceQuotaHandlerFunc)  {
	               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() v1a.ResourceQuotaLister {
	               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 mockedResourceQuotaController in code that requires ResourceQuotaController
        // and then make assertions.

    }

func (*ResourceQuotaControllerMock) AddClusterScopedHandler

func (mock *ResourceQuotaControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ResourceQuotaHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ResourceQuotaControllerMock) AddClusterScopedHandlerCalls

func (mock *ResourceQuotaControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.ResourceQuotaHandlerFunc
}

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

len(mockedResourceQuotaController.AddClusterScopedHandlerCalls())

func (*ResourceQuotaControllerMock) AddHandler

func (mock *ResourceQuotaControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ResourceQuotaHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ResourceQuotaControllerMock) AddHandlerCalls

func (mock *ResourceQuotaControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.ResourceQuotaHandlerFunc
}

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

len(mockedResourceQuotaController.AddHandlerCalls())

func (*ResourceQuotaControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ResourceQuotaControllerMock) EnqueueCalls

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

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

len(mockedResourceQuotaController.EnqueueCalls())

func (*ResourceQuotaControllerMock) Generic

Generic calls GenericFunc.

func (*ResourceQuotaControllerMock) GenericCalls

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

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

len(mockedResourceQuotaController.GenericCalls())

func (*ResourceQuotaControllerMock) Informer

Informer calls InformerFunc.

func (*ResourceQuotaControllerMock) InformerCalls

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

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

len(mockedResourceQuotaController.InformerCalls())

func (*ResourceQuotaControllerMock) Lister

Lister calls ListerFunc.

func (*ResourceQuotaControllerMock) ListerCalls

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

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

len(mockedResourceQuotaController.ListerCalls())

func (*ResourceQuotaControllerMock) Start

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

Start calls StartFunc.

func (*ResourceQuotaControllerMock) StartCalls

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

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

len(mockedResourceQuotaController.StartCalls())

func (*ResourceQuotaControllerMock) Sync

Sync calls SyncFunc.

func (*ResourceQuotaControllerMock) SyncCalls

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

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

len(mockedResourceQuotaController.SyncCalls())

type ResourceQuotaInterfaceMock

type ResourceQuotaInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ResourceQuotaHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.ResourceQuotaController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.ResourceQuota) (*v1.ResourceQuota, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.ResourceQuotaList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.ResourceQuota) (*v1.ResourceQuota, error)

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

ResourceQuotaInterfaceMock is a mock implementation of ResourceQuotaInterface.

    func TestSomethingThatUsesResourceQuotaInterface(t *testing.T) {

        // make and configure a mocked ResourceQuotaInterface
        mockedResourceQuotaInterface := &ResourceQuotaInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ResourceQuotaHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ResourceQuotaLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ResourceQuotaHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ResourceQuotaLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.ResourceQuotaController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.ResourceQuota) (*v1.ResourceQuota, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.ResourceQuota, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ResourceQuota, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.ResourceQuotaList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.ResourceQuota) (*v1.ResourceQuota, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedResourceQuotaInterface in code that requires ResourceQuotaInterface
        // and then make assertions.

    }

func (*ResourceQuotaInterfaceMock) AddClusterScopedHandler

func (mock *ResourceQuotaInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ResourceQuotaHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ResourceQuotaInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ResourceQuotaInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.ResourceQuotaHandlerFunc
}

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

len(mockedResourceQuotaInterface.AddClusterScopedHandlerCalls())

func (*ResourceQuotaInterfaceMock) AddClusterScopedLifecycle

func (mock *ResourceQuotaInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ResourceQuotaLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ResourceQuotaInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ResourceQuotaInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.ResourceQuotaLifecycle
}

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

len(mockedResourceQuotaInterface.AddClusterScopedLifecycleCalls())

func (*ResourceQuotaInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ResourceQuotaInterfaceMock) AddHandlerCalls

func (mock *ResourceQuotaInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.ResourceQuotaHandlerFunc
}

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

len(mockedResourceQuotaInterface.AddHandlerCalls())

func (*ResourceQuotaInterfaceMock) AddLifecycle

func (mock *ResourceQuotaInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ResourceQuotaLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ResourceQuotaInterfaceMock) AddLifecycleCalls

func (mock *ResourceQuotaInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.ResourceQuotaLifecycle
}

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

len(mockedResourceQuotaInterface.AddLifecycleCalls())

func (*ResourceQuotaInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ResourceQuotaInterfaceMock) ControllerCalls

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

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

len(mockedResourceQuotaInterface.ControllerCalls())

func (*ResourceQuotaInterfaceMock) Create

Create calls CreateFunc.

func (*ResourceQuotaInterfaceMock) CreateCalls

func (mock *ResourceQuotaInterfaceMock) CreateCalls() []struct {
	In1 *v1.ResourceQuota
}

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

len(mockedResourceQuotaInterface.CreateCalls())

func (*ResourceQuotaInterfaceMock) Delete

func (mock *ResourceQuotaInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*ResourceQuotaInterfaceMock) DeleteCalls

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

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

len(mockedResourceQuotaInterface.DeleteCalls())

func (*ResourceQuotaInterfaceMock) DeleteCollection

func (mock *ResourceQuotaInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ResourceQuotaInterfaceMock) DeleteCollectionCalls

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

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

len(mockedResourceQuotaInterface.DeleteCollectionCalls())

func (*ResourceQuotaInterfaceMock) DeleteNamespaced

func (mock *ResourceQuotaInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ResourceQuotaInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedResourceQuotaInterface.DeleteNamespacedCalls())

func (*ResourceQuotaInterfaceMock) Get

Get calls GetFunc.

func (*ResourceQuotaInterfaceMock) GetCalls

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

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

len(mockedResourceQuotaInterface.GetCalls())

func (*ResourceQuotaInterfaceMock) GetNamespaced

func (mock *ResourceQuotaInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ResourceQuota, error)

GetNamespaced calls GetNamespacedFunc.

func (*ResourceQuotaInterfaceMock) GetNamespacedCalls

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

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

len(mockedResourceQuotaInterface.GetNamespacedCalls())

func (*ResourceQuotaInterfaceMock) List

List calls ListFunc.

func (*ResourceQuotaInterfaceMock) ListCalls

func (mock *ResourceQuotaInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedResourceQuotaInterface.ListCalls())

func (*ResourceQuotaInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ResourceQuotaInterfaceMock) ObjectClientCalls

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

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

len(mockedResourceQuotaInterface.ObjectClientCalls())

func (*ResourceQuotaInterfaceMock) Update

Update calls UpdateFunc.

func (*ResourceQuotaInterfaceMock) UpdateCalls

func (mock *ResourceQuotaInterfaceMock) UpdateCalls() []struct {
	In1 *v1.ResourceQuota
}

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

len(mockedResourceQuotaInterface.UpdateCalls())

func (*ResourceQuotaInterfaceMock) Watch

Watch calls WatchFunc.

func (*ResourceQuotaInterfaceMock) WatchCalls

func (mock *ResourceQuotaInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedResourceQuotaInterface.WatchCalls())

type ResourceQuotaListerMock

type ResourceQuotaListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.ResourceQuota, error)

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

ResourceQuotaListerMock is a mock implementation of ResourceQuotaLister.

    func TestSomethingThatUsesResourceQuotaLister(t *testing.T) {

        // make and configure a mocked ResourceQuotaLister
        mockedResourceQuotaLister := &ResourceQuotaListerMock{
            GetFunc: func(namespace string, name string) (*v1.ResourceQuota, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ResourceQuota, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedResourceQuotaLister in code that requires ResourceQuotaLister
        // and then make assertions.

    }

func (*ResourceQuotaListerMock) Get

func (mock *ResourceQuotaListerMock) Get(namespace string, name string) (*v1.ResourceQuota, error)

Get calls GetFunc.

func (*ResourceQuotaListerMock) GetCalls

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

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

len(mockedResourceQuotaLister.GetCalls())

func (*ResourceQuotaListerMock) List

func (mock *ResourceQuotaListerMock) List(namespace string, selector labels.Selector) ([]*v1.ResourceQuota, error)

List calls ListFunc.

func (*ResourceQuotaListerMock) ListCalls

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

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

len(mockedResourceQuotaLister.ListCalls())

type ResourceQuotasGetterMock

type ResourceQuotasGetterMock struct {
	// ResourceQuotasFunc mocks the ResourceQuotas method.
	ResourceQuotasFunc func(namespace string) v1a.ResourceQuotaInterface
	// contains filtered or unexported fields
}

ResourceQuotasGetterMock is a mock implementation of ResourceQuotasGetter.

    func TestSomethingThatUsesResourceQuotasGetter(t *testing.T) {

        // make and configure a mocked ResourceQuotasGetter
        mockedResourceQuotasGetter := &ResourceQuotasGetterMock{
            ResourceQuotasFunc: func(namespace string) v1a.ResourceQuotaInterface {
	               panic("mock out the ResourceQuotas method")
            },
        }

        // use mockedResourceQuotasGetter in code that requires ResourceQuotasGetter
        // and then make assertions.

    }

func (*ResourceQuotasGetterMock) ResourceQuotas

func (mock *ResourceQuotasGetterMock) ResourceQuotas(namespace string) v1a.ResourceQuotaInterface

ResourceQuotas calls ResourceQuotasFunc.

func (*ResourceQuotasGetterMock) ResourceQuotasCalls

func (mock *ResourceQuotasGetterMock) ResourceQuotasCalls() []struct {
	Namespace string
}

ResourceQuotasCalls gets all the calls that were made to ResourceQuotas. Check the length with:

len(mockedResourceQuotasGetter.ResourceQuotasCalls())

type SecretControllerMock

type SecretControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.SecretHandlerFunc)

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

	// 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() v1a.SecretLister

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

SecretControllerMock is a mock implementation of SecretController.

    func TestSomethingThatUsesSecretController(t *testing.T) {

        // make and configure a mocked SecretController
        mockedSecretController := &SecretControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.SecretHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.SecretHandlerFunc)  {
	               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() v1a.SecretLister {
	               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 mockedSecretController in code that requires SecretController
        // and then make assertions.

    }

func (*SecretControllerMock) AddClusterScopedHandler

func (mock *SecretControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.SecretHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SecretControllerMock) AddClusterScopedHandlerCalls

func (mock *SecretControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.SecretHandlerFunc
}

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

len(mockedSecretController.AddClusterScopedHandlerCalls())

func (*SecretControllerMock) AddHandler

func (mock *SecretControllerMock) AddHandler(ctx context.Context, name string, handler v1a.SecretHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*SecretControllerMock) AddHandlerCalls

func (mock *SecretControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.SecretHandlerFunc
}

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

len(mockedSecretController.AddHandlerCalls())

func (*SecretControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*SecretControllerMock) EnqueueCalls

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

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

len(mockedSecretController.EnqueueCalls())

func (*SecretControllerMock) Generic

Generic calls GenericFunc.

func (*SecretControllerMock) GenericCalls

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

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

len(mockedSecretController.GenericCalls())

func (*SecretControllerMock) Informer

Informer calls InformerFunc.

func (*SecretControllerMock) InformerCalls

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

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

len(mockedSecretController.InformerCalls())

func (*SecretControllerMock) Lister

func (mock *SecretControllerMock) Lister() v1a.SecretLister

Lister calls ListerFunc.

func (*SecretControllerMock) ListerCalls

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

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

len(mockedSecretController.ListerCalls())

func (*SecretControllerMock) Start

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

Start calls StartFunc.

func (*SecretControllerMock) StartCalls

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

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

len(mockedSecretController.StartCalls())

func (*SecretControllerMock) Sync

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

Sync calls SyncFunc.

func (*SecretControllerMock) SyncCalls

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

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

len(mockedSecretController.SyncCalls())

type SecretInterfaceMock

type SecretInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.SecretHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.SecretController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Secret) (*v1.Secret, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.SecretList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Secret) (*v1.Secret, error)

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

SecretInterfaceMock is a mock implementation of SecretInterface.

    func TestSomethingThatUsesSecretInterface(t *testing.T) {

        // make and configure a mocked SecretInterface
        mockedSecretInterface := &SecretInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.SecretHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.SecretLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.SecretHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.SecretLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.SecretController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Secret) (*v1.Secret, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Secret, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Secret, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.SecretList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Secret) (*v1.Secret, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSecretInterface in code that requires SecretInterface
        // and then make assertions.

    }

func (*SecretInterfaceMock) AddClusterScopedHandler

func (mock *SecretInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.SecretHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SecretInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SecretInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.SecretHandlerFunc
}

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

len(mockedSecretInterface.AddClusterScopedHandlerCalls())

func (*SecretInterfaceMock) AddClusterScopedLifecycle

func (mock *SecretInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.SecretLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SecretInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SecretInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.SecretLifecycle
}

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

len(mockedSecretInterface.AddClusterScopedLifecycleCalls())

func (*SecretInterfaceMock) AddHandler

func (mock *SecretInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.SecretHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*SecretInterfaceMock) AddHandlerCalls

func (mock *SecretInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.SecretHandlerFunc
}

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

len(mockedSecretInterface.AddHandlerCalls())

func (*SecretInterfaceMock) AddLifecycle

func (mock *SecretInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.SecretLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*SecretInterfaceMock) AddLifecycleCalls

func (mock *SecretInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.SecretLifecycle
}

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

len(mockedSecretInterface.AddLifecycleCalls())

func (*SecretInterfaceMock) Controller

func (mock *SecretInterfaceMock) Controller() v1a.SecretController

Controller calls ControllerFunc.

func (*SecretInterfaceMock) ControllerCalls

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

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

len(mockedSecretInterface.ControllerCalls())

func (*SecretInterfaceMock) Create

func (mock *SecretInterfaceMock) Create(in1 *v1.Secret) (*v1.Secret, error)

Create calls CreateFunc.

func (*SecretInterfaceMock) CreateCalls

func (mock *SecretInterfaceMock) CreateCalls() []struct {
	In1 *v1.Secret
}

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

len(mockedSecretInterface.CreateCalls())

func (*SecretInterfaceMock) Delete

func (mock *SecretInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*SecretInterfaceMock) DeleteCalls

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

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

len(mockedSecretInterface.DeleteCalls())

func (*SecretInterfaceMock) DeleteCollection

func (mock *SecretInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SecretInterfaceMock) DeleteCollectionCalls

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

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

len(mockedSecretInterface.DeleteCollectionCalls())

func (*SecretInterfaceMock) DeleteNamespaced

func (mock *SecretInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SecretInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedSecretInterface.DeleteNamespacedCalls())

func (*SecretInterfaceMock) Get

func (mock *SecretInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Secret, error)

Get calls GetFunc.

func (*SecretInterfaceMock) GetCalls

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

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

len(mockedSecretInterface.GetCalls())

func (*SecretInterfaceMock) GetNamespaced

func (mock *SecretInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Secret, error)

GetNamespaced calls GetNamespacedFunc.

func (*SecretInterfaceMock) GetNamespacedCalls

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

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

len(mockedSecretInterface.GetNamespacedCalls())

func (*SecretInterfaceMock) List

func (mock *SecretInterfaceMock) List(opts v1b.ListOptions) (*v1a.SecretList, error)

List calls ListFunc.

func (*SecretInterfaceMock) ListCalls

func (mock *SecretInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedSecretInterface.ListCalls())

func (*SecretInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*SecretInterfaceMock) ObjectClientCalls

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

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

len(mockedSecretInterface.ObjectClientCalls())

func (*SecretInterfaceMock) Update

func (mock *SecretInterfaceMock) Update(in1 *v1.Secret) (*v1.Secret, error)

Update calls UpdateFunc.

func (*SecretInterfaceMock) UpdateCalls

func (mock *SecretInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Secret
}

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

len(mockedSecretInterface.UpdateCalls())

func (*SecretInterfaceMock) Watch

func (mock *SecretInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*SecretInterfaceMock) WatchCalls

func (mock *SecretInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedSecretInterface.WatchCalls())

type SecretListerMock

type SecretListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.Secret, error)

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

SecretListerMock is a mock implementation of SecretLister.

    func TestSomethingThatUsesSecretLister(t *testing.T) {

        // make and configure a mocked SecretLister
        mockedSecretLister := &SecretListerMock{
            GetFunc: func(namespace string, name string) (*v1.Secret, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Secret, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSecretLister in code that requires SecretLister
        // and then make assertions.

    }

func (*SecretListerMock) Get

func (mock *SecretListerMock) Get(namespace string, name string) (*v1.Secret, error)

Get calls GetFunc.

func (*SecretListerMock) GetCalls

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

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

len(mockedSecretLister.GetCalls())

func (*SecretListerMock) List

func (mock *SecretListerMock) List(namespace string, selector labels.Selector) ([]*v1.Secret, error)

List calls ListFunc.

func (*SecretListerMock) ListCalls

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

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

len(mockedSecretLister.ListCalls())

type SecretsGetterMock

type SecretsGetterMock struct {
	// SecretsFunc mocks the Secrets method.
	SecretsFunc func(namespace string) v1a.SecretInterface
	// contains filtered or unexported fields
}

SecretsGetterMock is a mock implementation of SecretsGetter.

    func TestSomethingThatUsesSecretsGetter(t *testing.T) {

        // make and configure a mocked SecretsGetter
        mockedSecretsGetter := &SecretsGetterMock{
            SecretsFunc: func(namespace string) v1a.SecretInterface {
	               panic("mock out the Secrets method")
            },
        }

        // use mockedSecretsGetter in code that requires SecretsGetter
        // and then make assertions.

    }

func (*SecretsGetterMock) Secrets

func (mock *SecretsGetterMock) Secrets(namespace string) v1a.SecretInterface

Secrets calls SecretsFunc.

func (*SecretsGetterMock) SecretsCalls

func (mock *SecretsGetterMock) SecretsCalls() []struct {
	Namespace string
}

SecretsCalls gets all the calls that were made to Secrets. Check the length with:

len(mockedSecretsGetter.SecretsCalls())

type ServiceAccountControllerMock

type ServiceAccountControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ServiceAccountHandlerFunc)

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

	// 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() v1a.ServiceAccountLister

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

ServiceAccountControllerMock is a mock implementation of ServiceAccountController.

    func TestSomethingThatUsesServiceAccountController(t *testing.T) {

        // make and configure a mocked ServiceAccountController
        mockedServiceAccountController := &ServiceAccountControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ServiceAccountHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ServiceAccountHandlerFunc)  {
	               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() v1a.ServiceAccountLister {
	               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 mockedServiceAccountController in code that requires ServiceAccountController
        // and then make assertions.

    }

func (*ServiceAccountControllerMock) AddClusterScopedHandler

func (mock *ServiceAccountControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ServiceAccountHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ServiceAccountControllerMock) AddClusterScopedHandlerCalls

func (mock *ServiceAccountControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.ServiceAccountHandlerFunc
}

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

len(mockedServiceAccountController.AddClusterScopedHandlerCalls())

func (*ServiceAccountControllerMock) AddHandler

func (mock *ServiceAccountControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ServiceAccountHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ServiceAccountControllerMock) AddHandlerCalls

func (mock *ServiceAccountControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.ServiceAccountHandlerFunc
}

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

len(mockedServiceAccountController.AddHandlerCalls())

func (*ServiceAccountControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ServiceAccountControllerMock) EnqueueCalls

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

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

len(mockedServiceAccountController.EnqueueCalls())

func (*ServiceAccountControllerMock) Generic

Generic calls GenericFunc.

func (*ServiceAccountControllerMock) GenericCalls

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

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

len(mockedServiceAccountController.GenericCalls())

func (*ServiceAccountControllerMock) Informer

Informer calls InformerFunc.

func (*ServiceAccountControllerMock) InformerCalls

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

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

len(mockedServiceAccountController.InformerCalls())

func (*ServiceAccountControllerMock) Lister

Lister calls ListerFunc.

func (*ServiceAccountControllerMock) ListerCalls

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

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

len(mockedServiceAccountController.ListerCalls())

func (*ServiceAccountControllerMock) Start

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

Start calls StartFunc.

func (*ServiceAccountControllerMock) StartCalls

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

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

len(mockedServiceAccountController.StartCalls())

func (*ServiceAccountControllerMock) Sync

Sync calls SyncFunc.

func (*ServiceAccountControllerMock) SyncCalls

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

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

len(mockedServiceAccountController.SyncCalls())

type ServiceAccountInterfaceMock

type ServiceAccountInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ServiceAccountHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.ServiceAccountController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.ServiceAccount) (*v1.ServiceAccount, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.ServiceAccountList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.ServiceAccount) (*v1.ServiceAccount, error)

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

ServiceAccountInterfaceMock is a mock implementation of ServiceAccountInterface.

    func TestSomethingThatUsesServiceAccountInterface(t *testing.T) {

        // make and configure a mocked ServiceAccountInterface
        mockedServiceAccountInterface := &ServiceAccountInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ServiceAccountHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ServiceAccountLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ServiceAccountHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ServiceAccountLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.ServiceAccountController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.ServiceAccount) (*v1.ServiceAccount, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.ServiceAccount, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ServiceAccount, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.ServiceAccountList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.ServiceAccount) (*v1.ServiceAccount, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedServiceAccountInterface in code that requires ServiceAccountInterface
        // and then make assertions.

    }

func (*ServiceAccountInterfaceMock) AddClusterScopedHandler

func (mock *ServiceAccountInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ServiceAccountHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ServiceAccountInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ServiceAccountInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.ServiceAccountHandlerFunc
}

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

len(mockedServiceAccountInterface.AddClusterScopedHandlerCalls())

func (*ServiceAccountInterfaceMock) AddClusterScopedLifecycle

func (mock *ServiceAccountInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ServiceAccountLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ServiceAccountInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ServiceAccountInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.ServiceAccountLifecycle
}

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

len(mockedServiceAccountInterface.AddClusterScopedLifecycleCalls())

func (*ServiceAccountInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ServiceAccountInterfaceMock) AddHandlerCalls

func (mock *ServiceAccountInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.ServiceAccountHandlerFunc
}

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

len(mockedServiceAccountInterface.AddHandlerCalls())

func (*ServiceAccountInterfaceMock) AddLifecycle

func (mock *ServiceAccountInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ServiceAccountLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ServiceAccountInterfaceMock) AddLifecycleCalls

func (mock *ServiceAccountInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.ServiceAccountLifecycle
}

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

len(mockedServiceAccountInterface.AddLifecycleCalls())

func (*ServiceAccountInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ServiceAccountInterfaceMock) ControllerCalls

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

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

len(mockedServiceAccountInterface.ControllerCalls())

func (*ServiceAccountInterfaceMock) Create

Create calls CreateFunc.

func (*ServiceAccountInterfaceMock) CreateCalls

func (mock *ServiceAccountInterfaceMock) CreateCalls() []struct {
	In1 *v1.ServiceAccount
}

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

len(mockedServiceAccountInterface.CreateCalls())

func (*ServiceAccountInterfaceMock) Delete

func (mock *ServiceAccountInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*ServiceAccountInterfaceMock) DeleteCalls

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

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

len(mockedServiceAccountInterface.DeleteCalls())

func (*ServiceAccountInterfaceMock) DeleteCollection

func (mock *ServiceAccountInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ServiceAccountInterfaceMock) DeleteCollectionCalls

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

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

len(mockedServiceAccountInterface.DeleteCollectionCalls())

func (*ServiceAccountInterfaceMock) DeleteNamespaced

func (mock *ServiceAccountInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ServiceAccountInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedServiceAccountInterface.DeleteNamespacedCalls())

func (*ServiceAccountInterfaceMock) Get

Get calls GetFunc.

func (*ServiceAccountInterfaceMock) GetCalls

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

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

len(mockedServiceAccountInterface.GetCalls())

func (*ServiceAccountInterfaceMock) GetNamespaced

func (mock *ServiceAccountInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ServiceAccount, error)

GetNamespaced calls GetNamespacedFunc.

func (*ServiceAccountInterfaceMock) GetNamespacedCalls

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

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

len(mockedServiceAccountInterface.GetNamespacedCalls())

func (*ServiceAccountInterfaceMock) List

List calls ListFunc.

func (*ServiceAccountInterfaceMock) ListCalls

func (mock *ServiceAccountInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedServiceAccountInterface.ListCalls())

func (*ServiceAccountInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ServiceAccountInterfaceMock) ObjectClientCalls

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

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

len(mockedServiceAccountInterface.ObjectClientCalls())

func (*ServiceAccountInterfaceMock) Update

Update calls UpdateFunc.

func (*ServiceAccountInterfaceMock) UpdateCalls

func (mock *ServiceAccountInterfaceMock) UpdateCalls() []struct {
	In1 *v1.ServiceAccount
}

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

len(mockedServiceAccountInterface.UpdateCalls())

func (*ServiceAccountInterfaceMock) Watch

Watch calls WatchFunc.

func (*ServiceAccountInterfaceMock) WatchCalls

func (mock *ServiceAccountInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedServiceAccountInterface.WatchCalls())

type ServiceAccountListerMock

type ServiceAccountListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.ServiceAccount, error)

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

ServiceAccountListerMock is a mock implementation of ServiceAccountLister.

    func TestSomethingThatUsesServiceAccountLister(t *testing.T) {

        // make and configure a mocked ServiceAccountLister
        mockedServiceAccountLister := &ServiceAccountListerMock{
            GetFunc: func(namespace string, name string) (*v1.ServiceAccount, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ServiceAccount, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedServiceAccountLister in code that requires ServiceAccountLister
        // and then make assertions.

    }

func (*ServiceAccountListerMock) Get

func (mock *ServiceAccountListerMock) Get(namespace string, name string) (*v1.ServiceAccount, error)

Get calls GetFunc.

func (*ServiceAccountListerMock) GetCalls

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

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

len(mockedServiceAccountLister.GetCalls())

func (*ServiceAccountListerMock) List

func (mock *ServiceAccountListerMock) List(namespace string, selector labels.Selector) ([]*v1.ServiceAccount, error)

List calls ListFunc.

func (*ServiceAccountListerMock) ListCalls

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

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

len(mockedServiceAccountLister.ListCalls())

type ServiceAccountsGetterMock

type ServiceAccountsGetterMock struct {
	// ServiceAccountsFunc mocks the ServiceAccounts method.
	ServiceAccountsFunc func(namespace string) v1a.ServiceAccountInterface
	// contains filtered or unexported fields
}

ServiceAccountsGetterMock is a mock implementation of ServiceAccountsGetter.

    func TestSomethingThatUsesServiceAccountsGetter(t *testing.T) {

        // make and configure a mocked ServiceAccountsGetter
        mockedServiceAccountsGetter := &ServiceAccountsGetterMock{
            ServiceAccountsFunc: func(namespace string) v1a.ServiceAccountInterface {
	               panic("mock out the ServiceAccounts method")
            },
        }

        // use mockedServiceAccountsGetter in code that requires ServiceAccountsGetter
        // and then make assertions.

    }

func (*ServiceAccountsGetterMock) ServiceAccounts

func (mock *ServiceAccountsGetterMock) ServiceAccounts(namespace string) v1a.ServiceAccountInterface

ServiceAccounts calls ServiceAccountsFunc.

func (*ServiceAccountsGetterMock) ServiceAccountsCalls

func (mock *ServiceAccountsGetterMock) ServiceAccountsCalls() []struct {
	Namespace string
}

ServiceAccountsCalls gets all the calls that were made to ServiceAccounts. Check the length with:

len(mockedServiceAccountsGetter.ServiceAccountsCalls())

type ServiceControllerMock

type ServiceControllerMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ServiceHandlerFunc)

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

	// 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() v1a.ServiceLister

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

ServiceControllerMock is a mock implementation of ServiceController.

    func TestSomethingThatUsesServiceController(t *testing.T) {

        // make and configure a mocked ServiceController
        mockedServiceController := &ServiceControllerMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ServiceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ServiceHandlerFunc)  {
	               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() v1a.ServiceLister {
	               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 mockedServiceController in code that requires ServiceController
        // and then make assertions.

    }

func (*ServiceControllerMock) AddClusterScopedHandler

func (mock *ServiceControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ServiceHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ServiceControllerMock) AddClusterScopedHandlerCalls

func (mock *ServiceControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v1a.ServiceHandlerFunc
}

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

len(mockedServiceController.AddClusterScopedHandlerCalls())

func (*ServiceControllerMock) AddHandler

func (mock *ServiceControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ServiceHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ServiceControllerMock) AddHandlerCalls

func (mock *ServiceControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v1a.ServiceHandlerFunc
}

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

len(mockedServiceController.AddHandlerCalls())

func (*ServiceControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ServiceControllerMock) EnqueueCalls

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

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

len(mockedServiceController.EnqueueCalls())

func (*ServiceControllerMock) Generic

Generic calls GenericFunc.

func (*ServiceControllerMock) GenericCalls

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

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

len(mockedServiceController.GenericCalls())

func (*ServiceControllerMock) Informer

Informer calls InformerFunc.

func (*ServiceControllerMock) InformerCalls

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

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

len(mockedServiceController.InformerCalls())

func (*ServiceControllerMock) Lister

func (mock *ServiceControllerMock) Lister() v1a.ServiceLister

Lister calls ListerFunc.

func (*ServiceControllerMock) ListerCalls

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

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

len(mockedServiceController.ListerCalls())

func (*ServiceControllerMock) Start

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

Start calls StartFunc.

func (*ServiceControllerMock) StartCalls

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

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

len(mockedServiceController.StartCalls())

func (*ServiceControllerMock) Sync

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

Sync calls SyncFunc.

func (*ServiceControllerMock) SyncCalls

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

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

len(mockedServiceController.SyncCalls())

type ServiceInterfaceMock

type ServiceInterfaceMock struct {
	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ServiceHandlerFunc)

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

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

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

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v1a.ServiceController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1.Service) (*v1.Service, error)

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

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

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

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

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

	// ListFunc mocks the List method.
	ListFunc func(opts v1b.ListOptions) (*v1a.ServiceList, error)

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

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1.Service) (*v1.Service, error)

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

ServiceInterfaceMock is a mock implementation of ServiceInterface.

    func TestSomethingThatUsesServiceInterface(t *testing.T) {

        // make and configure a mocked ServiceInterface
        mockedServiceInterface := &ServiceInterfaceMock{
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ServiceHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ServiceLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ServiceHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ServiceLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v1a.ServiceController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v1.Service) (*v1.Service, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1b.GetOptions) (*v1.Service, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Service, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1b.ListOptions) (*v1a.ServiceList, error) {
	               panic("mock out the List method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v1.Service) (*v1.Service, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedServiceInterface in code that requires ServiceInterface
        // and then make assertions.

    }

func (*ServiceInterfaceMock) AddClusterScopedHandler

func (mock *ServiceInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ServiceHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ServiceInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ServiceInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v1a.ServiceHandlerFunc
}

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

len(mockedServiceInterface.AddClusterScopedHandlerCalls())

func (*ServiceInterfaceMock) AddClusterScopedLifecycle

func (mock *ServiceInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ServiceLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ServiceInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ServiceInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v1a.ServiceLifecycle
}

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

len(mockedServiceInterface.AddClusterScopedLifecycleCalls())

func (*ServiceInterfaceMock) AddHandler

func (mock *ServiceInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ServiceHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ServiceInterfaceMock) AddHandlerCalls

func (mock *ServiceInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1a.ServiceHandlerFunc
}

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

len(mockedServiceInterface.AddHandlerCalls())

func (*ServiceInterfaceMock) AddLifecycle

func (mock *ServiceInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ServiceLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ServiceInterfaceMock) AddLifecycleCalls

func (mock *ServiceInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v1a.ServiceLifecycle
}

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

len(mockedServiceInterface.AddLifecycleCalls())

func (*ServiceInterfaceMock) Controller

func (mock *ServiceInterfaceMock) Controller() v1a.ServiceController

Controller calls ControllerFunc.

func (*ServiceInterfaceMock) ControllerCalls

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

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

len(mockedServiceInterface.ControllerCalls())

func (*ServiceInterfaceMock) Create

func (mock *ServiceInterfaceMock) Create(in1 *v1.Service) (*v1.Service, error)

Create calls CreateFunc.

func (*ServiceInterfaceMock) CreateCalls

func (mock *ServiceInterfaceMock) CreateCalls() []struct {
	In1 *v1.Service
}

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

len(mockedServiceInterface.CreateCalls())

func (*ServiceInterfaceMock) Delete

func (mock *ServiceInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error

Delete calls DeleteFunc.

func (*ServiceInterfaceMock) DeleteCalls

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

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

len(mockedServiceInterface.DeleteCalls())

func (*ServiceInterfaceMock) DeleteCollection

func (mock *ServiceInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ServiceInterfaceMock) DeleteCollectionCalls

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

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

len(mockedServiceInterface.DeleteCollectionCalls())

func (*ServiceInterfaceMock) DeleteNamespaced

func (mock *ServiceInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ServiceInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedServiceInterface.DeleteNamespacedCalls())

func (*ServiceInterfaceMock) Get

func (mock *ServiceInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Service, error)

Get calls GetFunc.

func (*ServiceInterfaceMock) GetCalls

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

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

len(mockedServiceInterface.GetCalls())

func (*ServiceInterfaceMock) GetNamespaced

func (mock *ServiceInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Service, error)

GetNamespaced calls GetNamespacedFunc.

func (*ServiceInterfaceMock) GetNamespacedCalls

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

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

len(mockedServiceInterface.GetNamespacedCalls())

func (*ServiceInterfaceMock) List

List calls ListFunc.

func (*ServiceInterfaceMock) ListCalls

func (mock *ServiceInterfaceMock) ListCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedServiceInterface.ListCalls())

func (*ServiceInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*ServiceInterfaceMock) ObjectClientCalls

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

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

len(mockedServiceInterface.ObjectClientCalls())

func (*ServiceInterfaceMock) Update

func (mock *ServiceInterfaceMock) Update(in1 *v1.Service) (*v1.Service, error)

Update calls UpdateFunc.

func (*ServiceInterfaceMock) UpdateCalls

func (mock *ServiceInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Service
}

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

len(mockedServiceInterface.UpdateCalls())

func (*ServiceInterfaceMock) Watch

Watch calls WatchFunc.

func (*ServiceInterfaceMock) WatchCalls

func (mock *ServiceInterfaceMock) WatchCalls() []struct {
	Opts v1b.ListOptions
}

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

len(mockedServiceInterface.WatchCalls())

type ServiceListerMock

type ServiceListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1.Service, error)

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

ServiceListerMock is a mock implementation of ServiceLister.

    func TestSomethingThatUsesServiceLister(t *testing.T) {

        // make and configure a mocked ServiceLister
        mockedServiceLister := &ServiceListerMock{
            GetFunc: func(namespace string, name string) (*v1.Service, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Service, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedServiceLister in code that requires ServiceLister
        // and then make assertions.

    }

func (*ServiceListerMock) Get

func (mock *ServiceListerMock) Get(namespace string, name string) (*v1.Service, error)

Get calls GetFunc.

func (*ServiceListerMock) GetCalls

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

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

len(mockedServiceLister.GetCalls())

func (*ServiceListerMock) List

func (mock *ServiceListerMock) List(namespace string, selector labels.Selector) ([]*v1.Service, error)

List calls ListFunc.

func (*ServiceListerMock) ListCalls

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

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

len(mockedServiceLister.ListCalls())

type ServicesGetterMock

type ServicesGetterMock struct {
	// ServicesFunc mocks the Services method.
	ServicesFunc func(namespace string) v1a.ServiceInterface
	// contains filtered or unexported fields
}

ServicesGetterMock is a mock implementation of ServicesGetter.

    func TestSomethingThatUsesServicesGetter(t *testing.T) {

        // make and configure a mocked ServicesGetter
        mockedServicesGetter := &ServicesGetterMock{
            ServicesFunc: func(namespace string) v1a.ServiceInterface {
	               panic("mock out the Services method")
            },
        }

        // use mockedServicesGetter in code that requires ServicesGetter
        // and then make assertions.

    }

func (*ServicesGetterMock) Services

func (mock *ServicesGetterMock) Services(namespace string) v1a.ServiceInterface

Services calls ServicesFunc.

func (*ServicesGetterMock) ServicesCalls

func (mock *ServicesGetterMock) ServicesCalls() []struct {
	Namespace string
}

ServicesCalls gets all the calls that were made to Services. Check the length with:

len(mockedServicesGetter.ServicesCalls())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL