fakes

package
v0.0.0-...-4370ff1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: Apache-2.0 Imports: 11 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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync 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)

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddFeatureHandler 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")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ComponentStatusControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedComponentStatusController.AddClusterScopedFeatureHandlerCalls())

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

func (mock *ComponentStatusControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ComponentStatusControllerMock) AddFeatureHandlerCalls

func (mock *ComponentStatusControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v1a.ComponentStatusHandlerFunc
}

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

len(mockedComponentStatusController.AddFeatureHandlerCalls())

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

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

EnqueueAfter calls EnqueueAfterFunc.

func (*ComponentStatusControllerMock) EnqueueAfterCalls

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

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

len(mockedComponentStatusController.EnqueueAfterCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)

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

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

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

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name 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)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            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")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ComponentStatusLifecycle)  {
	               panic("mock out the AddFeatureLifecycle 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")
            },
            ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.ComponentStatusList, error) {
	               panic("mock out the ListNamespaced 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedComponentStatusInterface.AddClusterScopedFeatureHandlerCalls())

func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedComponentStatusInterface.AddClusterScopedFeatureLifecycleCalls())

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

func (mock *ComponentStatusInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ComponentStatusInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedComponentStatusInterface.AddFeatureHandlerCalls())

func (*ComponentStatusInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ComponentStatusInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedComponentStatusInterface.AddFeatureLifecycleCalls())

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

func (mock *ComponentStatusInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ComponentStatusList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ComponentStatusInterfaceMock) ListNamespacedCalls

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

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

len(mockedComponentStatusInterface.ListNamespacedCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync 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)

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddFeatureHandler 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")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ConfigMapControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedConfigMapController.AddClusterScopedFeatureHandlerCalls())

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

func (mock *ConfigMapControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ConfigMapControllerMock) AddFeatureHandlerCalls

func (mock *ConfigMapControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v1a.ConfigMapHandlerFunc
}

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

len(mockedConfigMapController.AddFeatureHandlerCalls())

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

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

EnqueueAfter calls EnqueueAfterFunc.

func (*ConfigMapControllerMock) EnqueueAfterCalls

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

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

len(mockedConfigMapController.EnqueueAfterCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)

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

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

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

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name 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)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            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")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ConfigMapLifecycle)  {
	               panic("mock out the AddFeatureLifecycle 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")
            },
            ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.ConfigMapList, error) {
	               panic("mock out the ListNamespaced 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ConfigMapInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedConfigMapInterface.AddClusterScopedFeatureHandlerCalls())

func (*ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedConfigMapInterface.AddClusterScopedFeatureLifecycleCalls())

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

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ConfigMapInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedConfigMapInterface.AddFeatureHandlerCalls())

func (*ConfigMapInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ConfigMapInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedConfigMapInterface.AddFeatureLifecycleCalls())

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

func (mock *ConfigMapInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ConfigMapList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ConfigMapInterfaceMock) ListNamespacedCalls

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

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

len(mockedConfigMapInterface.ListNamespacedCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EndpointsHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync 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)

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddFeatureHandler 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")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*EndpointsControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedEndpointsController.AddClusterScopedFeatureHandlerCalls())

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

func (mock *EndpointsControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*EndpointsControllerMock) AddFeatureHandlerCalls

func (mock *EndpointsControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v1a.EndpointsHandlerFunc
}

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

len(mockedEndpointsController.AddFeatureHandlerCalls())

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

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

EnqueueAfter calls EnqueueAfterFunc.

func (*EndpointsControllerMock) EnqueueAfterCalls

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

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

len(mockedEndpointsController.EnqueueAfterCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EndpointsHandlerFunc)

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

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

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

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name 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)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EndpointsLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            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")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EndpointsLifecycle)  {
	               panic("mock out the AddFeatureLifecycle 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")
            },
            ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.EndpointsList, error) {
	               panic("mock out the ListNamespaced 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*EndpointsInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedEndpointsInterface.AddClusterScopedFeatureHandlerCalls())

func (*EndpointsInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*EndpointsInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedEndpointsInterface.AddClusterScopedFeatureLifecycleCalls())

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

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*EndpointsInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedEndpointsInterface.AddFeatureHandlerCalls())

func (*EndpointsInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*EndpointsInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedEndpointsInterface.AddFeatureLifecycleCalls())

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

func (mock *EndpointsInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.EndpointsList, error)

ListNamespaced calls ListNamespacedFunc.

func (*EndpointsInterfaceMock) ListNamespacedCalls

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

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

len(mockedEndpointsInterface.ListNamespacedCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EventHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync 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)

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EventHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc)  {
	               panic("mock out the AddFeatureHandler 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")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*EventControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedEventController.AddClusterScopedFeatureHandlerCalls())

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

func (mock *EventControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*EventControllerMock) AddFeatureHandlerCalls

func (mock *EventControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v1a.EventHandlerFunc
}

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

len(mockedEventController.AddFeatureHandlerCalls())

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

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

EnqueueAfter calls EnqueueAfterFunc.

func (*EventControllerMock) EnqueueAfterCalls

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

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

len(mockedEventController.EnqueueAfterCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EventHandlerFunc)

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

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

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

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name 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)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EventHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EventLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            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")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EventLifecycle)  {
	               panic("mock out the AddFeatureLifecycle 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")
            },
            ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.EventList, error) {
	               panic("mock out the ListNamespaced 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*EventInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedEventInterface.AddClusterScopedFeatureHandlerCalls())

func (*EventInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*EventInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedEventInterface.AddClusterScopedFeatureLifecycleCalls())

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

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*EventInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedEventInterface.AddFeatureHandlerCalls())

func (*EventInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*EventInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedEventInterface.AddFeatureLifecycleCalls())

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

func (mock *EventInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.EventList, error)

ListNamespaced calls ListNamespacedFunc.

func (*EventInterfaceMock) ListNamespacedCalls

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

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

len(mockedEventInterface.ListNamespacedCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)

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

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync 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)

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddFeatureHandler 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")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*LimitRangeControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedLimitRangeController.AddClusterScopedFeatureHandlerCalls())

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

func (mock *LimitRangeControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*LimitRangeControllerMock) AddFeatureHandlerCalls

func (mock *LimitRangeControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v1a.LimitRangeHandlerFunc
}

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

len(mockedLimitRangeController.AddFeatureHandlerCalls())

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

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

EnqueueAfter calls EnqueueAfterFunc.

func (*LimitRangeControllerMock) EnqueueAfterCalls

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

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

len(mockedLimitRangeController.EnqueueAfterCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)

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

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

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

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name 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)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, 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{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            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")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.LimitRangeLifecycle)  {
	               panic("mock out the AddFeatureLifecycle 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")
            },
            ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.LimitRangeList, error) {
	               panic("mock out the ListNamespaced 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) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*LimitRangeInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedLimitRangeInterface.AddClusterScopedFeatureHandlerCalls())

func (*LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedLimitRangeInterface.AddClusterScopedFeatureLifecycleCalls())

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

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*LimitRangeInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedLimitRangeInterface.AddFeatureHandlerCalls())

func (*LimitRangeInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*LimitRangeInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedLimitRangeInterface.AddFeatureLifecycleCalls())

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

func (mock *LimitRangeInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.LimitRangeList, error)

ListNamespaced calls ListNamespacedFunc.

func (*LimitRangeInterfaceMock) ListNamespacedCalls

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

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

len(mockedLimitRangeInterface.ListNamespacedCalls())

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 {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.NamespaceHandlerFunc)

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

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

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