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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppControllerMock

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

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

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

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

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

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

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

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

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

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

AppControllerMock is a mock implementation of AppController.

    func TestSomethingThatUsesAppController(t *testing.T) {

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

    }

func (*AppControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*AppControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedAppController.AddClusterScopedFeatureHandlerCalls())

func (*AppControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*AppControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedAppController.AddClusterScopedHandlerCalls())

func (*AppControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*AppControllerMock) AddFeatureHandlerCalls

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

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

len(mockedAppController.AddFeatureHandlerCalls())

func (*AppControllerMock) AddHandler

func (mock *AppControllerMock) AddHandler(ctx context.Context, name string, handler v3.AppHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*AppControllerMock) AddHandlerCalls

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

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

len(mockedAppController.AddHandlerCalls())

func (*AppControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*AppControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*AppControllerMock) EnqueueAfterCalls

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

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

len(mockedAppController.EnqueueAfterCalls())

func (*AppControllerMock) EnqueueCalls

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

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

len(mockedAppController.EnqueueCalls())

func (*AppControllerMock) Generic

Generic calls GenericFunc.

func (*AppControllerMock) GenericCalls

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

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

len(mockedAppController.GenericCalls())

func (*AppControllerMock) Informer

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

Informer calls InformerFunc.

func (*AppControllerMock) InformerCalls

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

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

len(mockedAppController.InformerCalls())

func (*AppControllerMock) Lister

func (mock *AppControllerMock) Lister() v3.AppLister

Lister calls ListerFunc.

func (*AppControllerMock) ListerCalls

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

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

len(mockedAppController.ListerCalls())

func (*AppControllerMock) Start

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

Start calls StartFunc.

func (*AppControllerMock) StartCalls

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

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

len(mockedAppController.StartCalls())

func (*AppControllerMock) Sync

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

Sync calls SyncFunc.

func (*AppControllerMock) SyncCalls

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

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

len(mockedAppController.SyncCalls())

type AppInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.App) (*v3.App, error)

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

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

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

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

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

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

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

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

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

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

AppInterfaceMock is a mock implementation of AppInterface.

    func TestSomethingThatUsesAppInterface(t *testing.T) {

        // make and configure a mocked AppInterface
        mockedAppInterface := &AppInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.AppHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.AppLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.AppHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.AppLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.AppHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.AppLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.AppHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.AppLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.AppController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.App) (*v3.App, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.App, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.App, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.AppList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.AppList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.App) (*v3.App, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedAppInterface in code that requires AppInterface
        // and then make assertions.

    }

func (*AppInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*AppInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedAppInterface.AddClusterScopedFeatureHandlerCalls())

func (*AppInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*AppInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedAppInterface.AddClusterScopedFeatureLifecycleCalls())

func (*AppInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*AppInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedAppInterface.AddClusterScopedHandlerCalls())

func (*AppInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*AppInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedAppInterface.AddClusterScopedLifecycleCalls())

func (*AppInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*AppInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedAppInterface.AddFeatureHandlerCalls())

func (*AppInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*AppInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedAppInterface.AddFeatureLifecycleCalls())

func (*AppInterfaceMock) AddHandler

func (mock *AppInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.AppHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*AppInterfaceMock) AddHandlerCalls

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

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

len(mockedAppInterface.AddHandlerCalls())

func (*AppInterfaceMock) AddLifecycle

func (mock *AppInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.AppLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*AppInterfaceMock) AddLifecycleCalls

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

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

len(mockedAppInterface.AddLifecycleCalls())

func (*AppInterfaceMock) Controller

func (mock *AppInterfaceMock) Controller() v3.AppController

Controller calls ControllerFunc.

func (*AppInterfaceMock) ControllerCalls

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

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

len(mockedAppInterface.ControllerCalls())

func (*AppInterfaceMock) Create

func (mock *AppInterfaceMock) Create(in1 *v3.App) (*v3.App, error)

Create calls CreateFunc.

func (*AppInterfaceMock) CreateCalls

func (mock *AppInterfaceMock) CreateCalls() []struct {
	In1 *v3.App
}

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

len(mockedAppInterface.CreateCalls())

func (*AppInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*AppInterfaceMock) DeleteCalls

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

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

len(mockedAppInterface.DeleteCalls())

func (*AppInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*AppInterfaceMock) DeleteCollectionCalls

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

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

len(mockedAppInterface.DeleteCollectionCalls())

func (*AppInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*AppInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedAppInterface.DeleteNamespacedCalls())

func (*AppInterfaceMock) Get

func (mock *AppInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.App, error)

Get calls GetFunc.

func (*AppInterfaceMock) GetCalls

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

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

len(mockedAppInterface.GetCalls())

func (*AppInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*AppInterfaceMock) GetNamespacedCalls

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

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

len(mockedAppInterface.GetNamespacedCalls())

func (*AppInterfaceMock) List

func (mock *AppInterfaceMock) List(opts v1.ListOptions) (*v3.AppList, error)

List calls ListFunc.

func (*AppInterfaceMock) ListCalls

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

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

len(mockedAppInterface.ListCalls())

func (*AppInterfaceMock) ListNamespaced

func (mock *AppInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.AppList, error)

ListNamespaced calls ListNamespacedFunc.

func (*AppInterfaceMock) ListNamespacedCalls

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

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

len(mockedAppInterface.ListNamespacedCalls())

func (*AppInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*AppInterfaceMock) ObjectClientCalls

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

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

len(mockedAppInterface.ObjectClientCalls())

func (*AppInterfaceMock) Update

func (mock *AppInterfaceMock) Update(in1 *v3.App) (*v3.App, error)

Update calls UpdateFunc.

func (*AppInterfaceMock) UpdateCalls

func (mock *AppInterfaceMock) UpdateCalls() []struct {
	In1 *v3.App
}

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

len(mockedAppInterface.UpdateCalls())

func (*AppInterfaceMock) Watch

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

Watch calls WatchFunc.

func (*AppInterfaceMock) WatchCalls

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

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

len(mockedAppInterface.WatchCalls())

type AppListerMock

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

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

AppListerMock is a mock implementation of AppLister.

    func TestSomethingThatUsesAppLister(t *testing.T) {

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

        // use mockedAppLister in code that requires AppLister
        // and then make assertions.

    }

func (*AppListerMock) Get

func (mock *AppListerMock) Get(namespace string, name string) (*v3.App, error)

Get calls GetFunc.

func (*AppListerMock) GetCalls

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

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

len(mockedAppLister.GetCalls())

func (*AppListerMock) List

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

List calls ListFunc.

func (*AppListerMock) ListCalls

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

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

len(mockedAppLister.ListCalls())

type AppRevisionControllerMock

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

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

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

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

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

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

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

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

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

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

AppRevisionControllerMock is a mock implementation of AppRevisionController.

    func TestSomethingThatUsesAppRevisionController(t *testing.T) {

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

    }

func (*AppRevisionControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*AppRevisionControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedAppRevisionController.AddClusterScopedFeatureHandlerCalls())

func (*AppRevisionControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*AppRevisionControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedAppRevisionController.AddClusterScopedHandlerCalls())

func (*AppRevisionControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*AppRevisionControllerMock) AddFeatureHandlerCalls

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

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

len(mockedAppRevisionController.AddFeatureHandlerCalls())

func (*AppRevisionControllerMock) AddHandler

func (mock *AppRevisionControllerMock) AddHandler(ctx context.Context, name string, handler v3.AppRevisionHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*AppRevisionControllerMock) AddHandlerCalls

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

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

len(mockedAppRevisionController.AddHandlerCalls())

func (*AppRevisionControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*AppRevisionControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*AppRevisionControllerMock) EnqueueAfterCalls

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

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

len(mockedAppRevisionController.EnqueueAfterCalls())

func (*AppRevisionControllerMock) EnqueueCalls

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

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

len(mockedAppRevisionController.EnqueueCalls())

func (*AppRevisionControllerMock) Generic

Generic calls GenericFunc.

func (*AppRevisionControllerMock) GenericCalls

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

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

len(mockedAppRevisionController.GenericCalls())

func (*AppRevisionControllerMock) Informer

Informer calls InformerFunc.

func (*AppRevisionControllerMock) InformerCalls

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

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

len(mockedAppRevisionController.InformerCalls())

func (*AppRevisionControllerMock) Lister

Lister calls ListerFunc.

func (*AppRevisionControllerMock) ListerCalls

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

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

len(mockedAppRevisionController.ListerCalls())

func (*AppRevisionControllerMock) Start

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

Start calls StartFunc.

func (*AppRevisionControllerMock) StartCalls

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

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

len(mockedAppRevisionController.StartCalls())

func (*AppRevisionControllerMock) Sync

Sync calls SyncFunc.

func (*AppRevisionControllerMock) SyncCalls

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

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

len(mockedAppRevisionController.SyncCalls())

type AppRevisionInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.AppRevision) (*v3.AppRevision, error)

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

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

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

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

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

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

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

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

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

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

AppRevisionInterfaceMock is a mock implementation of AppRevisionInterface.

    func TestSomethingThatUsesAppRevisionInterface(t *testing.T) {

        // make and configure a mocked AppRevisionInterface
        mockedAppRevisionInterface := &AppRevisionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.AppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.AppRevisionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.AppRevisionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.AppRevisionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.AppRevisionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.AppRevisionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.AppRevisionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.AppRevisionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.AppRevisionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.AppRevision) (*v3.AppRevision, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.AppRevision, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.AppRevision, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.AppRevisionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.AppRevisionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.AppRevision) (*v3.AppRevision, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedAppRevisionInterface in code that requires AppRevisionInterface
        // and then make assertions.

    }

func (*AppRevisionInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*AppRevisionInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedAppRevisionInterface.AddClusterScopedFeatureHandlerCalls())

func (*AppRevisionInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*AppRevisionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedAppRevisionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*AppRevisionInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*AppRevisionInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedAppRevisionInterface.AddClusterScopedHandlerCalls())

func (*AppRevisionInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*AppRevisionInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedAppRevisionInterface.AddClusterScopedLifecycleCalls())

func (*AppRevisionInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*AppRevisionInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedAppRevisionInterface.AddFeatureHandlerCalls())

func (*AppRevisionInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*AppRevisionInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedAppRevisionInterface.AddFeatureLifecycleCalls())

func (*AppRevisionInterfaceMock) AddHandler

func (mock *AppRevisionInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.AppRevisionHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*AppRevisionInterfaceMock) AddHandlerCalls

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

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

len(mockedAppRevisionInterface.AddHandlerCalls())

func (*AppRevisionInterfaceMock) AddLifecycle

func (mock *AppRevisionInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.AppRevisionLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*AppRevisionInterfaceMock) AddLifecycleCalls

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

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

len(mockedAppRevisionInterface.AddLifecycleCalls())

func (*AppRevisionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*AppRevisionInterfaceMock) ControllerCalls

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

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

len(mockedAppRevisionInterface.ControllerCalls())

func (*AppRevisionInterfaceMock) Create

func (mock *AppRevisionInterfaceMock) Create(in1 *v3.AppRevision) (*v3.AppRevision, error)

Create calls CreateFunc.

func (*AppRevisionInterfaceMock) CreateCalls

func (mock *AppRevisionInterfaceMock) CreateCalls() []struct {
	In1 *v3.AppRevision
}

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

len(mockedAppRevisionInterface.CreateCalls())

func (*AppRevisionInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*AppRevisionInterfaceMock) DeleteCalls

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

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

len(mockedAppRevisionInterface.DeleteCalls())

func (*AppRevisionInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*AppRevisionInterfaceMock) DeleteCollectionCalls

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

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

len(mockedAppRevisionInterface.DeleteCollectionCalls())

func (*AppRevisionInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*AppRevisionInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedAppRevisionInterface.DeleteNamespacedCalls())

func (*AppRevisionInterfaceMock) Get

func (mock *AppRevisionInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.AppRevision, error)

Get calls GetFunc.

func (*AppRevisionInterfaceMock) GetCalls

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

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

len(mockedAppRevisionInterface.GetCalls())

func (*AppRevisionInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*AppRevisionInterfaceMock) GetNamespacedCalls

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

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

len(mockedAppRevisionInterface.GetNamespacedCalls())

func (*AppRevisionInterfaceMock) List

List calls ListFunc.

func (*AppRevisionInterfaceMock) ListCalls

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

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

len(mockedAppRevisionInterface.ListCalls())

func (*AppRevisionInterfaceMock) ListNamespaced

func (mock *AppRevisionInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.AppRevisionList, error)

ListNamespaced calls ListNamespacedFunc.

func (*AppRevisionInterfaceMock) ListNamespacedCalls

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

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

len(mockedAppRevisionInterface.ListNamespacedCalls())

func (*AppRevisionInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*AppRevisionInterfaceMock) ObjectClientCalls

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

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

len(mockedAppRevisionInterface.ObjectClientCalls())

func (*AppRevisionInterfaceMock) Update

func (mock *AppRevisionInterfaceMock) Update(in1 *v3.AppRevision) (*v3.AppRevision, error)

Update calls UpdateFunc.

func (*AppRevisionInterfaceMock) UpdateCalls

func (mock *AppRevisionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.AppRevision
}

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

len(mockedAppRevisionInterface.UpdateCalls())

func (*AppRevisionInterfaceMock) Watch

Watch calls WatchFunc.

func (*AppRevisionInterfaceMock) WatchCalls

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

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

len(mockedAppRevisionInterface.WatchCalls())

type AppRevisionListerMock

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

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

AppRevisionListerMock is a mock implementation of AppRevisionLister.

    func TestSomethingThatUsesAppRevisionLister(t *testing.T) {

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

        // use mockedAppRevisionLister in code that requires AppRevisionLister
        // and then make assertions.

    }

func (*AppRevisionListerMock) Get

func (mock *AppRevisionListerMock) Get(namespace string, name string) (*v3.AppRevision, error)

Get calls GetFunc.

func (*AppRevisionListerMock) GetCalls

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

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

len(mockedAppRevisionLister.GetCalls())

func (*AppRevisionListerMock) List

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

List calls ListFunc.

func (*AppRevisionListerMock) ListCalls

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

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

len(mockedAppRevisionLister.ListCalls())

type AppRevisionsGetterMock

type AppRevisionsGetterMock struct {
	// AppRevisionsFunc mocks the AppRevisions method.
	AppRevisionsFunc func(namespace string) v3.AppRevisionInterface
	// contains filtered or unexported fields
}

AppRevisionsGetterMock is a mock implementation of AppRevisionsGetter.

    func TestSomethingThatUsesAppRevisionsGetter(t *testing.T) {

        // make and configure a mocked AppRevisionsGetter
        mockedAppRevisionsGetter := &AppRevisionsGetterMock{
            AppRevisionsFunc: func(namespace string) v3.AppRevisionInterface {
	               panic("mock out the AppRevisions method")
            },
        }

        // use mockedAppRevisionsGetter in code that requires AppRevisionsGetter
        // and then make assertions.

    }

func (*AppRevisionsGetterMock) AppRevisions

func (mock *AppRevisionsGetterMock) AppRevisions(namespace string) v3.AppRevisionInterface

AppRevisions calls AppRevisionsFunc.

func (*AppRevisionsGetterMock) AppRevisionsCalls

func (mock *AppRevisionsGetterMock) AppRevisionsCalls() []struct {
	Namespace string
}

AppRevisionsCalls gets all the calls that were made to AppRevisions. Check the length with:

len(mockedAppRevisionsGetter.AppRevisionsCalls())

type AppsGetterMock

type AppsGetterMock struct {
	// AppsFunc mocks the Apps method.
	AppsFunc func(namespace string) v3.AppInterface
	// contains filtered or unexported fields
}

AppsGetterMock is a mock implementation of AppsGetter.

    func TestSomethingThatUsesAppsGetter(t *testing.T) {

        // make and configure a mocked AppsGetter
        mockedAppsGetter := &AppsGetterMock{
            AppsFunc: func(namespace string) v3.AppInterface {
	               panic("mock out the Apps method")
            },
        }

        // use mockedAppsGetter in code that requires AppsGetter
        // and then make assertions.

    }

func (*AppsGetterMock) Apps

func (mock *AppsGetterMock) Apps(namespace string) v3.AppInterface

Apps calls AppsFunc.

func (*AppsGetterMock) AppsCalls

func (mock *AppsGetterMock) AppsCalls() []struct {
	Namespace string
}

AppsCalls gets all the calls that were made to Apps. Check the length with:

len(mockedAppsGetter.AppsCalls())

type BasicAuthControllerMock

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

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

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

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

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

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

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

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

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

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

BasicAuthControllerMock is a mock implementation of BasicAuthController.

    func TestSomethingThatUsesBasicAuthController(t *testing.T) {

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

    }

func (*BasicAuthControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*BasicAuthControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedBasicAuthController.AddClusterScopedFeatureHandlerCalls())

func (*BasicAuthControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*BasicAuthControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedBasicAuthController.AddClusterScopedHandlerCalls())

func (*BasicAuthControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*BasicAuthControllerMock) AddFeatureHandlerCalls

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

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

len(mockedBasicAuthController.AddFeatureHandlerCalls())

func (*BasicAuthControllerMock) AddHandler

func (mock *BasicAuthControllerMock) AddHandler(ctx context.Context, name string, handler v3.BasicAuthHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*BasicAuthControllerMock) AddHandlerCalls

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

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

len(mockedBasicAuthController.AddHandlerCalls())

func (*BasicAuthControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*BasicAuthControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*BasicAuthControllerMock) EnqueueAfterCalls

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

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

len(mockedBasicAuthController.EnqueueAfterCalls())

func (*BasicAuthControllerMock) EnqueueCalls

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

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

len(mockedBasicAuthController.EnqueueCalls())

func (*BasicAuthControllerMock) Generic

Generic calls GenericFunc.

func (*BasicAuthControllerMock) GenericCalls

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

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

len(mockedBasicAuthController.GenericCalls())

func (*BasicAuthControllerMock) Informer

Informer calls InformerFunc.

func (*BasicAuthControllerMock) InformerCalls

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

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

len(mockedBasicAuthController.InformerCalls())

func (*BasicAuthControllerMock) Lister

Lister calls ListerFunc.

func (*BasicAuthControllerMock) ListerCalls

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

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

len(mockedBasicAuthController.ListerCalls())

func (*BasicAuthControllerMock) Start

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

Start calls StartFunc.

func (*BasicAuthControllerMock) StartCalls

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

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

len(mockedBasicAuthController.StartCalls())

func (*BasicAuthControllerMock) Sync

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

Sync calls SyncFunc.

func (*BasicAuthControllerMock) SyncCalls

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

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

len(mockedBasicAuthController.SyncCalls())

type BasicAuthInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.BasicAuth) (*v3.BasicAuth, error)

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

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

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

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

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

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

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

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

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

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

BasicAuthInterfaceMock is a mock implementation of BasicAuthInterface.

    func TestSomethingThatUsesBasicAuthInterface(t *testing.T) {

        // make and configure a mocked BasicAuthInterface
        mockedBasicAuthInterface := &BasicAuthInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.BasicAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.BasicAuthLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.BasicAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.BasicAuthLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.BasicAuthHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.BasicAuthLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.BasicAuthHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.BasicAuthLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.BasicAuthController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.BasicAuth) (*v3.BasicAuth, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.BasicAuth, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.BasicAuth, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.BasicAuthList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.BasicAuthList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.BasicAuth) (*v3.BasicAuth, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedBasicAuthInterface in code that requires BasicAuthInterface
        // and then make assertions.

    }

func (*BasicAuthInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*BasicAuthInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedBasicAuthInterface.AddClusterScopedFeatureHandlerCalls())

func (*BasicAuthInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*BasicAuthInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedBasicAuthInterface.AddClusterScopedFeatureLifecycleCalls())

func (*BasicAuthInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*BasicAuthInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedBasicAuthInterface.AddClusterScopedHandlerCalls())

func (*BasicAuthInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*BasicAuthInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedBasicAuthInterface.AddClusterScopedLifecycleCalls())

func (*BasicAuthInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*BasicAuthInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedBasicAuthInterface.AddFeatureHandlerCalls())

func (*BasicAuthInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*BasicAuthInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedBasicAuthInterface.AddFeatureLifecycleCalls())

func (*BasicAuthInterfaceMock) AddHandler

func (mock *BasicAuthInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.BasicAuthHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*BasicAuthInterfaceMock) AddHandlerCalls

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

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

len(mockedBasicAuthInterface.AddHandlerCalls())

func (*BasicAuthInterfaceMock) AddLifecycle

func (mock *BasicAuthInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.BasicAuthLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*BasicAuthInterfaceMock) AddLifecycleCalls

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

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

len(mockedBasicAuthInterface.AddLifecycleCalls())

func (*BasicAuthInterfaceMock) Controller

func (mock *BasicAuthInterfaceMock) Controller() v3.BasicAuthController

Controller calls ControllerFunc.

func (*BasicAuthInterfaceMock) ControllerCalls

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

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

len(mockedBasicAuthInterface.ControllerCalls())

func (*BasicAuthInterfaceMock) Create

func (mock *BasicAuthInterfaceMock) Create(in1 *v3.BasicAuth) (*v3.BasicAuth, error)

Create calls CreateFunc.

func (*BasicAuthInterfaceMock) CreateCalls

func (mock *BasicAuthInterfaceMock) CreateCalls() []struct {
	In1 *v3.BasicAuth
}

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

len(mockedBasicAuthInterface.CreateCalls())

func (*BasicAuthInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*BasicAuthInterfaceMock) DeleteCalls

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

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

len(mockedBasicAuthInterface.DeleteCalls())

func (*BasicAuthInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*BasicAuthInterfaceMock) DeleteCollectionCalls

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

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

len(mockedBasicAuthInterface.DeleteCollectionCalls())

func (*BasicAuthInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*BasicAuthInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedBasicAuthInterface.DeleteNamespacedCalls())

func (*BasicAuthInterfaceMock) Get

func (mock *BasicAuthInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.BasicAuth, error)

Get calls GetFunc.

func (*BasicAuthInterfaceMock) GetCalls

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

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

len(mockedBasicAuthInterface.GetCalls())

func (*BasicAuthInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*BasicAuthInterfaceMock) GetNamespacedCalls

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

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

len(mockedBasicAuthInterface.GetNamespacedCalls())

func (*BasicAuthInterfaceMock) List

List calls ListFunc.

func (*BasicAuthInterfaceMock) ListCalls

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

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

len(mockedBasicAuthInterface.ListCalls())

func (*BasicAuthInterfaceMock) ListNamespaced

func (mock *BasicAuthInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.BasicAuthList, error)

ListNamespaced calls ListNamespacedFunc.

func (*BasicAuthInterfaceMock) ListNamespacedCalls

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

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

len(mockedBasicAuthInterface.ListNamespacedCalls())

func (*BasicAuthInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*BasicAuthInterfaceMock) ObjectClientCalls

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

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

len(mockedBasicAuthInterface.ObjectClientCalls())

func (*BasicAuthInterfaceMock) Update

func (mock *BasicAuthInterfaceMock) Update(in1 *v3.BasicAuth) (*v3.BasicAuth, error)

Update calls UpdateFunc.

func (*BasicAuthInterfaceMock) UpdateCalls

func (mock *BasicAuthInterfaceMock) UpdateCalls() []struct {
	In1 *v3.BasicAuth
}

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

len(mockedBasicAuthInterface.UpdateCalls())

func (*BasicAuthInterfaceMock) Watch

Watch calls WatchFunc.

func (*BasicAuthInterfaceMock) WatchCalls

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

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

len(mockedBasicAuthInterface.WatchCalls())

type BasicAuthListerMock

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

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

BasicAuthListerMock is a mock implementation of BasicAuthLister.

    func TestSomethingThatUsesBasicAuthLister(t *testing.T) {

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

        // use mockedBasicAuthLister in code that requires BasicAuthLister
        // and then make assertions.

    }

func (*BasicAuthListerMock) Get

func (mock *BasicAuthListerMock) Get(namespace string, name string) (*v3.BasicAuth, error)

Get calls GetFunc.

func (*BasicAuthListerMock) GetCalls

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

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

len(mockedBasicAuthLister.GetCalls())

func (*BasicAuthListerMock) List

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

List calls ListFunc.

func (*BasicAuthListerMock) ListCalls

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

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

len(mockedBasicAuthLister.ListCalls())

type BasicAuthsGetterMock

type BasicAuthsGetterMock struct {
	// BasicAuthsFunc mocks the BasicAuths method.
	BasicAuthsFunc func(namespace string) v3.BasicAuthInterface
	// contains filtered or unexported fields
}

BasicAuthsGetterMock is a mock implementation of BasicAuthsGetter.

    func TestSomethingThatUsesBasicAuthsGetter(t *testing.T) {

        // make and configure a mocked BasicAuthsGetter
        mockedBasicAuthsGetter := &BasicAuthsGetterMock{
            BasicAuthsFunc: func(namespace string) v3.BasicAuthInterface {
	               panic("mock out the BasicAuths method")
            },
        }

        // use mockedBasicAuthsGetter in code that requires BasicAuthsGetter
        // and then make assertions.

    }

func (*BasicAuthsGetterMock) BasicAuths

func (mock *BasicAuthsGetterMock) BasicAuths(namespace string) v3.BasicAuthInterface

BasicAuths calls BasicAuthsFunc.

func (*BasicAuthsGetterMock) BasicAuthsCalls

func (mock *BasicAuthsGetterMock) BasicAuthsCalls() []struct {
	Namespace string
}

BasicAuthsCalls gets all the calls that were made to BasicAuths. Check the length with:

len(mockedBasicAuthsGetter.BasicAuthsCalls())

type CertificateControllerMock

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

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

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

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

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

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

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

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

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

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

CertificateControllerMock is a mock implementation of CertificateController.

    func TestSomethingThatUsesCertificateController(t *testing.T) {

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

    }

func (*CertificateControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CertificateControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedCertificateController.AddClusterScopedFeatureHandlerCalls())

func (*CertificateControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CertificateControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedCertificateController.AddClusterScopedHandlerCalls())

func (*CertificateControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CertificateControllerMock) AddFeatureHandlerCalls

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

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

len(mockedCertificateController.AddFeatureHandlerCalls())

func (*CertificateControllerMock) AddHandler

func (mock *CertificateControllerMock) AddHandler(ctx context.Context, name string, handler v3.CertificateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*CertificateControllerMock) AddHandlerCalls

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

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

len(mockedCertificateController.AddHandlerCalls())

func (*CertificateControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*CertificateControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*CertificateControllerMock) EnqueueAfterCalls

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

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

len(mockedCertificateController.EnqueueAfterCalls())

func (*CertificateControllerMock) EnqueueCalls

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

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

len(mockedCertificateController.EnqueueCalls())

func (*CertificateControllerMock) Generic

Generic calls GenericFunc.

func (*CertificateControllerMock) GenericCalls

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

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

len(mockedCertificateController.GenericCalls())

func (*CertificateControllerMock) Informer

Informer calls InformerFunc.

func (*CertificateControllerMock) InformerCalls

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

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

len(mockedCertificateController.InformerCalls())

func (*CertificateControllerMock) Lister

Lister calls ListerFunc.

func (*CertificateControllerMock) ListerCalls

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

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

len(mockedCertificateController.ListerCalls())

func (*CertificateControllerMock) Start

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

Start calls StartFunc.

func (*CertificateControllerMock) StartCalls

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

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

len(mockedCertificateController.StartCalls())

func (*CertificateControllerMock) Sync

Sync calls SyncFunc.

func (*CertificateControllerMock) SyncCalls

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

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

len(mockedCertificateController.SyncCalls())

type CertificateInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Certificate) (*v3.Certificate, error)

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

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

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

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

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

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

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

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

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

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

CertificateInterfaceMock is a mock implementation of CertificateInterface.

    func TestSomethingThatUsesCertificateInterface(t *testing.T) {

        // make and configure a mocked CertificateInterface
        mockedCertificateInterface := &CertificateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.CertificateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.CertificateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.CertificateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.CertificateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.CertificateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.CertificateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.CertificateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.CertificateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.CertificateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Certificate) (*v3.Certificate, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.Certificate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Certificate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.CertificateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.CertificateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Certificate) (*v3.Certificate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedCertificateInterface in code that requires CertificateInterface
        // and then make assertions.

    }

func (*CertificateInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*CertificateInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedCertificateInterface.AddClusterScopedFeatureHandlerCalls())

func (*CertificateInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*CertificateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedCertificateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*CertificateInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*CertificateInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedCertificateInterface.AddClusterScopedHandlerCalls())

func (*CertificateInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*CertificateInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedCertificateInterface.AddClusterScopedLifecycleCalls())

func (*CertificateInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*CertificateInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedCertificateInterface.AddFeatureHandlerCalls())

func (*CertificateInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*CertificateInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedCertificateInterface.AddFeatureLifecycleCalls())

func (*CertificateInterfaceMock) AddHandler

func (mock *CertificateInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.CertificateHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*CertificateInterfaceMock) AddHandlerCalls

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

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

len(mockedCertificateInterface.AddHandlerCalls())

func (*CertificateInterfaceMock) AddLifecycle

func (mock *CertificateInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.CertificateLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*CertificateInterfaceMock) AddLifecycleCalls

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

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

len(mockedCertificateInterface.AddLifecycleCalls())

func (*CertificateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*CertificateInterfaceMock) ControllerCalls

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

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

len(mockedCertificateInterface.ControllerCalls())

func (*CertificateInterfaceMock) Create

func (mock *CertificateInterfaceMock) Create(in1 *v3.Certificate) (*v3.Certificate, error)

Create calls CreateFunc.

func (*CertificateInterfaceMock) CreateCalls

func (mock *CertificateInterfaceMock) CreateCalls() []struct {
	In1 *v3.Certificate
}

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

len(mockedCertificateInterface.CreateCalls())

func (*CertificateInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*CertificateInterfaceMock) DeleteCalls

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

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

len(mockedCertificateInterface.DeleteCalls())

func (*CertificateInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*CertificateInterfaceMock) DeleteCollectionCalls

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

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

len(mockedCertificateInterface.DeleteCollectionCalls())

func (*CertificateInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*CertificateInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedCertificateInterface.DeleteNamespacedCalls())

func (*CertificateInterfaceMock) Get

func (mock *CertificateInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Certificate, error)

Get calls GetFunc.

func (*CertificateInterfaceMock) GetCalls

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

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

len(mockedCertificateInterface.GetCalls())

func (*CertificateInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*CertificateInterfaceMock) GetNamespacedCalls

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

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

len(mockedCertificateInterface.GetNamespacedCalls())

func (*CertificateInterfaceMock) List

List calls ListFunc.

func (*CertificateInterfaceMock) ListCalls

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

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

len(mockedCertificateInterface.ListCalls())

func (*CertificateInterfaceMock) ListNamespaced

func (mock *CertificateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.CertificateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*CertificateInterfaceMock) ListNamespacedCalls

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

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

len(mockedCertificateInterface.ListNamespacedCalls())

func (*CertificateInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*CertificateInterfaceMock) ObjectClientCalls

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

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

len(mockedCertificateInterface.ObjectClientCalls())

func (*CertificateInterfaceMock) Update

func (mock *CertificateInterfaceMock) Update(in1 *v3.Certificate) (*v3.Certificate, error)

Update calls UpdateFunc.

func (*CertificateInterfaceMock) UpdateCalls

func (mock *CertificateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Certificate
}

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

len(mockedCertificateInterface.UpdateCalls())

func (*CertificateInterfaceMock) Watch

Watch calls WatchFunc.

func (*CertificateInterfaceMock) WatchCalls

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

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

len(mockedCertificateInterface.WatchCalls())

type CertificateListerMock

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

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

CertificateListerMock is a mock implementation of CertificateLister.

    func TestSomethingThatUsesCertificateLister(t *testing.T) {

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

        // use mockedCertificateLister in code that requires CertificateLister
        // and then make assertions.

    }

func (*CertificateListerMock) Get

func (mock *CertificateListerMock) Get(namespace string, name string) (*v3.Certificate, error)

Get calls GetFunc.

func (*CertificateListerMock) GetCalls

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

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

len(mockedCertificateLister.GetCalls())

func (*CertificateListerMock) List

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

List calls ListFunc.

func (*CertificateListerMock) ListCalls

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

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

len(mockedCertificateLister.ListCalls())

type CertificatesGetterMock

type CertificatesGetterMock struct {
	// CertificatesFunc mocks the Certificates method.
	CertificatesFunc func(namespace string) v3.CertificateInterface
	// contains filtered or unexported fields
}

CertificatesGetterMock is a mock implementation of CertificatesGetter.

    func TestSomethingThatUsesCertificatesGetter(t *testing.T) {

        // make and configure a mocked CertificatesGetter
        mockedCertificatesGetter := &CertificatesGetterMock{
            CertificatesFunc: func(namespace string) v3.CertificateInterface {
	               panic("mock out the Certificates method")
            },
        }

        // use mockedCertificatesGetter in code that requires CertificatesGetter
        // and then make assertions.

    }

func (*CertificatesGetterMock) Certificates

func (mock *CertificatesGetterMock) Certificates(namespace string) v3.CertificateInterface

Certificates calls CertificatesFunc.

func (*CertificatesGetterMock) CertificatesCalls

func (mock *CertificatesGetterMock) CertificatesCalls() []struct {
	Namespace string
}

CertificatesCalls gets all the calls that were made to Certificates. Check the length with:

len(mockedCertificatesGetter.CertificatesCalls())

type DockerCredentialControllerMock

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

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

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

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

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

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

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

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

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

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

DockerCredentialControllerMock is a mock implementation of DockerCredentialController.

    func TestSomethingThatUsesDockerCredentialController(t *testing.T) {

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

    }

func (*DockerCredentialControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DockerCredentialControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedDockerCredentialController.AddClusterScopedFeatureHandlerCalls())

func (*DockerCredentialControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DockerCredentialControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedDockerCredentialController.AddClusterScopedHandlerCalls())

func (*DockerCredentialControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DockerCredentialControllerMock) AddFeatureHandlerCalls

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

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

len(mockedDockerCredentialController.AddFeatureHandlerCalls())

func (*DockerCredentialControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*DockerCredentialControllerMock) AddHandlerCalls

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

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

len(mockedDockerCredentialController.AddHandlerCalls())

func (*DockerCredentialControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*DockerCredentialControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*DockerCredentialControllerMock) EnqueueAfterCalls

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

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

len(mockedDockerCredentialController.EnqueueAfterCalls())

func (*DockerCredentialControllerMock) EnqueueCalls

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

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

len(mockedDockerCredentialController.EnqueueCalls())

func (*DockerCredentialControllerMock) Generic

Generic calls GenericFunc.

func (*DockerCredentialControllerMock) GenericCalls

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

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

len(mockedDockerCredentialController.GenericCalls())

func (*DockerCredentialControllerMock) Informer

Informer calls InformerFunc.

func (*DockerCredentialControllerMock) InformerCalls

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

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

len(mockedDockerCredentialController.InformerCalls())

func (*DockerCredentialControllerMock) Lister

Lister calls ListerFunc.

func (*DockerCredentialControllerMock) ListerCalls

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

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

len(mockedDockerCredentialController.ListerCalls())

func (*DockerCredentialControllerMock) Start

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

Start calls StartFunc.

func (*DockerCredentialControllerMock) StartCalls

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

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

len(mockedDockerCredentialController.StartCalls())

func (*DockerCredentialControllerMock) Sync

Sync calls SyncFunc.

func (*DockerCredentialControllerMock) SyncCalls

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

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

len(mockedDockerCredentialController.SyncCalls())

type DockerCredentialInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.DockerCredential) (*v3.DockerCredential, error)

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

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

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

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

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

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

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

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

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

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

DockerCredentialInterfaceMock is a mock implementation of DockerCredentialInterface.

    func TestSomethingThatUsesDockerCredentialInterface(t *testing.T) {

        // make and configure a mocked DockerCredentialInterface
        mockedDockerCredentialInterface := &DockerCredentialInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.DockerCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.DockerCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.DockerCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.DockerCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.DockerCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.DockerCredentialLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.DockerCredentialHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.DockerCredentialLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.DockerCredentialController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.DockerCredential) (*v3.DockerCredential, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.DockerCredential, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.DockerCredential, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.DockerCredentialList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.DockerCredentialList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.DockerCredential) (*v3.DockerCredential, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedDockerCredentialInterface in code that requires DockerCredentialInterface
        // and then make assertions.

    }

func (*DockerCredentialInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DockerCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedDockerCredentialInterface.AddClusterScopedFeatureHandlerCalls())

func (*DockerCredentialInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*DockerCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedDockerCredentialInterface.AddClusterScopedFeatureLifecycleCalls())

func (*DockerCredentialInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DockerCredentialInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedDockerCredentialInterface.AddClusterScopedHandlerCalls())

func (*DockerCredentialInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*DockerCredentialInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedDockerCredentialInterface.AddClusterScopedLifecycleCalls())

func (*DockerCredentialInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DockerCredentialInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedDockerCredentialInterface.AddFeatureHandlerCalls())

func (*DockerCredentialInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*DockerCredentialInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedDockerCredentialInterface.AddFeatureLifecycleCalls())

func (*DockerCredentialInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*DockerCredentialInterfaceMock) AddHandlerCalls

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

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

len(mockedDockerCredentialInterface.AddHandlerCalls())

func (*DockerCredentialInterfaceMock) AddLifecycle

func (mock *DockerCredentialInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.DockerCredentialLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*DockerCredentialInterfaceMock) AddLifecycleCalls

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

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

len(mockedDockerCredentialInterface.AddLifecycleCalls())

func (*DockerCredentialInterfaceMock) Controller

Controller calls ControllerFunc.

func (*DockerCredentialInterfaceMock) ControllerCalls

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

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

len(mockedDockerCredentialInterface.ControllerCalls())

func (*DockerCredentialInterfaceMock) Create

Create calls CreateFunc.

func (*DockerCredentialInterfaceMock) CreateCalls

func (mock *DockerCredentialInterfaceMock) CreateCalls() []struct {
	In1 *v3.DockerCredential
}

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

len(mockedDockerCredentialInterface.CreateCalls())

func (*DockerCredentialInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*DockerCredentialInterfaceMock) DeleteCalls

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

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

len(mockedDockerCredentialInterface.DeleteCalls())

func (*DockerCredentialInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*DockerCredentialInterfaceMock) DeleteCollectionCalls

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

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

len(mockedDockerCredentialInterface.DeleteCollectionCalls())

func (*DockerCredentialInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*DockerCredentialInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedDockerCredentialInterface.DeleteNamespacedCalls())

func (*DockerCredentialInterfaceMock) Get

Get calls GetFunc.

func (*DockerCredentialInterfaceMock) GetCalls

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

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

len(mockedDockerCredentialInterface.GetCalls())

func (*DockerCredentialInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*DockerCredentialInterfaceMock) GetNamespacedCalls

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

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

len(mockedDockerCredentialInterface.GetNamespacedCalls())

func (*DockerCredentialInterfaceMock) List

List calls ListFunc.

func (*DockerCredentialInterfaceMock) ListCalls

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

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

len(mockedDockerCredentialInterface.ListCalls())

func (*DockerCredentialInterfaceMock) ListNamespaced

func (mock *DockerCredentialInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.DockerCredentialList, error)

ListNamespaced calls ListNamespacedFunc.

func (*DockerCredentialInterfaceMock) ListNamespacedCalls

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

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

len(mockedDockerCredentialInterface.ListNamespacedCalls())

func (*DockerCredentialInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*DockerCredentialInterfaceMock) ObjectClientCalls

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

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

len(mockedDockerCredentialInterface.ObjectClientCalls())

func (*DockerCredentialInterfaceMock) Update

Update calls UpdateFunc.

func (*DockerCredentialInterfaceMock) UpdateCalls

func (mock *DockerCredentialInterfaceMock) UpdateCalls() []struct {
	In1 *v3.DockerCredential
}

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

len(mockedDockerCredentialInterface.UpdateCalls())

func (*DockerCredentialInterfaceMock) Watch

Watch calls WatchFunc.

func (*DockerCredentialInterfaceMock) WatchCalls

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

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

len(mockedDockerCredentialInterface.WatchCalls())

type DockerCredentialListerMock

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

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

DockerCredentialListerMock is a mock implementation of DockerCredentialLister.

    func TestSomethingThatUsesDockerCredentialLister(t *testing.T) {

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

        // use mockedDockerCredentialLister in code that requires DockerCredentialLister
        // and then make assertions.

    }

func (*DockerCredentialListerMock) Get

func (mock *DockerCredentialListerMock) Get(namespace string, name string) (*v3.DockerCredential, error)

Get calls GetFunc.

func (*DockerCredentialListerMock) GetCalls

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

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

len(mockedDockerCredentialLister.GetCalls())

func (*DockerCredentialListerMock) List

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

List calls ListFunc.

func (*DockerCredentialListerMock) ListCalls

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

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

len(mockedDockerCredentialLister.ListCalls())

type DockerCredentialsGetterMock

type DockerCredentialsGetterMock struct {
	// DockerCredentialsFunc mocks the DockerCredentials method.
	DockerCredentialsFunc func(namespace string) v3.DockerCredentialInterface
	// contains filtered or unexported fields
}

DockerCredentialsGetterMock is a mock implementation of DockerCredentialsGetter.

    func TestSomethingThatUsesDockerCredentialsGetter(t *testing.T) {

        // make and configure a mocked DockerCredentialsGetter
        mockedDockerCredentialsGetter := &DockerCredentialsGetterMock{
            DockerCredentialsFunc: func(namespace string) v3.DockerCredentialInterface {
	               panic("mock out the DockerCredentials method")
            },
        }

        // use mockedDockerCredentialsGetter in code that requires DockerCredentialsGetter
        // and then make assertions.

    }

func (*DockerCredentialsGetterMock) DockerCredentials

func (mock *DockerCredentialsGetterMock) DockerCredentials(namespace string) v3.DockerCredentialInterface

DockerCredentials calls DockerCredentialsFunc.

func (*DockerCredentialsGetterMock) DockerCredentialsCalls

func (mock *DockerCredentialsGetterMock) DockerCredentialsCalls() []struct {
	Namespace string
}

DockerCredentialsCalls gets all the calls that were made to DockerCredentials. Check the length with:

len(mockedDockerCredentialsGetter.DockerCredentialsCalls())

type NamespacedBasicAuthControllerMock

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

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

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

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

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

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

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

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

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

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

NamespacedBasicAuthControllerMock is a mock implementation of NamespacedBasicAuthController.

    func TestSomethingThatUsesNamespacedBasicAuthController(t *testing.T) {

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

    }

func (*NamespacedBasicAuthControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedBasicAuthControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedNamespacedBasicAuthController.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedBasicAuthControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedBasicAuthControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedNamespacedBasicAuthController.AddClusterScopedHandlerCalls())

func (*NamespacedBasicAuthControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedBasicAuthControllerMock) AddFeatureHandlerCalls

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

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

len(mockedNamespacedBasicAuthController.AddFeatureHandlerCalls())

func (*NamespacedBasicAuthControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedBasicAuthControllerMock) AddHandlerCalls

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

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

len(mockedNamespacedBasicAuthController.AddHandlerCalls())

func (*NamespacedBasicAuthControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*NamespacedBasicAuthControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*NamespacedBasicAuthControllerMock) EnqueueAfterCalls

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

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

len(mockedNamespacedBasicAuthController.EnqueueAfterCalls())

func (*NamespacedBasicAuthControllerMock) EnqueueCalls

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

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

len(mockedNamespacedBasicAuthController.EnqueueCalls())

func (*NamespacedBasicAuthControllerMock) Generic

Generic calls GenericFunc.

func (*NamespacedBasicAuthControllerMock) GenericCalls

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

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

len(mockedNamespacedBasicAuthController.GenericCalls())

func (*NamespacedBasicAuthControllerMock) Informer

Informer calls InformerFunc.

func (*NamespacedBasicAuthControllerMock) InformerCalls

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

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

len(mockedNamespacedBasicAuthController.InformerCalls())

func (*NamespacedBasicAuthControllerMock) Lister

Lister calls ListerFunc.

func (*NamespacedBasicAuthControllerMock) ListerCalls

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

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

len(mockedNamespacedBasicAuthController.ListerCalls())

func (*NamespacedBasicAuthControllerMock) Start

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

Start calls StartFunc.

func (*NamespacedBasicAuthControllerMock) StartCalls

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

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

len(mockedNamespacedBasicAuthController.StartCalls())

func (*NamespacedBasicAuthControllerMock) Sync

Sync calls SyncFunc.

func (*NamespacedBasicAuthControllerMock) SyncCalls

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

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

len(mockedNamespacedBasicAuthController.SyncCalls())

type NamespacedBasicAuthInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.NamespacedBasicAuth) (*v3.NamespacedBasicAuth, error)

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

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

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

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

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

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

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

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

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

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

NamespacedBasicAuthInterfaceMock is a mock implementation of NamespacedBasicAuthInterface.

    func TestSomethingThatUsesNamespacedBasicAuthInterface(t *testing.T) {

        // make and configure a mocked NamespacedBasicAuthInterface
        mockedNamespacedBasicAuthInterface := &NamespacedBasicAuthInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedBasicAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedBasicAuthLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NamespacedBasicAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedBasicAuthLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedBasicAuthHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedBasicAuthLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NamespacedBasicAuthHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NamespacedBasicAuthLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NamespacedBasicAuthController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NamespacedBasicAuth) (*v3.NamespacedBasicAuth, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.NamespacedBasicAuth, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedBasicAuth, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NamespacedBasicAuthList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NamespacedBasicAuthList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NamespacedBasicAuth) (*v3.NamespacedBasicAuth, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNamespacedBasicAuthInterface in code that requires NamespacedBasicAuthInterface
        // and then make assertions.

    }

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddClusterScopedHandlerCalls())

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NamespacedBasicAuthInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddClusterScopedLifecycleCalls())

func (*NamespacedBasicAuthInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedBasicAuthInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddFeatureHandlerCalls())

func (*NamespacedBasicAuthInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NamespacedBasicAuthInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddFeatureLifecycleCalls())

func (*NamespacedBasicAuthInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedBasicAuthInterfaceMock) AddHandlerCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddHandlerCalls())

func (*NamespacedBasicAuthInterfaceMock) AddLifecycle

func (mock *NamespacedBasicAuthInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NamespacedBasicAuthLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NamespacedBasicAuthInterfaceMock) AddLifecycleCalls

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

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

len(mockedNamespacedBasicAuthInterface.AddLifecycleCalls())

func (*NamespacedBasicAuthInterfaceMock) Controller

Controller calls ControllerFunc.

func (*NamespacedBasicAuthInterfaceMock) ControllerCalls

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

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

len(mockedNamespacedBasicAuthInterface.ControllerCalls())

func (*NamespacedBasicAuthInterfaceMock) Create

Create calls CreateFunc.

func (*NamespacedBasicAuthInterfaceMock) CreateCalls

func (mock *NamespacedBasicAuthInterfaceMock) CreateCalls() []struct {
	In1 *v3.NamespacedBasicAuth
}

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

len(mockedNamespacedBasicAuthInterface.CreateCalls())

func (*NamespacedBasicAuthInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*NamespacedBasicAuthInterfaceMock) DeleteCalls

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

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

len(mockedNamespacedBasicAuthInterface.DeleteCalls())

func (*NamespacedBasicAuthInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*NamespacedBasicAuthInterfaceMock) DeleteCollectionCalls

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

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

len(mockedNamespacedBasicAuthInterface.DeleteCollectionCalls())

func (*NamespacedBasicAuthInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NamespacedBasicAuthInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedNamespacedBasicAuthInterface.DeleteNamespacedCalls())

func (*NamespacedBasicAuthInterfaceMock) Get

Get calls GetFunc.

func (*NamespacedBasicAuthInterfaceMock) GetCalls

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

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

len(mockedNamespacedBasicAuthInterface.GetCalls())

func (*NamespacedBasicAuthInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*NamespacedBasicAuthInterfaceMock) GetNamespacedCalls

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

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

len(mockedNamespacedBasicAuthInterface.GetNamespacedCalls())

func (*NamespacedBasicAuthInterfaceMock) List

List calls ListFunc.

func (*NamespacedBasicAuthInterfaceMock) ListCalls

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

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

len(mockedNamespacedBasicAuthInterface.ListCalls())

func (*NamespacedBasicAuthInterfaceMock) ListNamespaced

func (mock *NamespacedBasicAuthInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NamespacedBasicAuthList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NamespacedBasicAuthInterfaceMock) ListNamespacedCalls

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

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

len(mockedNamespacedBasicAuthInterface.ListNamespacedCalls())

func (*NamespacedBasicAuthInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NamespacedBasicAuthInterfaceMock) ObjectClientCalls

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

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

len(mockedNamespacedBasicAuthInterface.ObjectClientCalls())

func (*NamespacedBasicAuthInterfaceMock) Update

Update calls UpdateFunc.

func (*NamespacedBasicAuthInterfaceMock) UpdateCalls

func (mock *NamespacedBasicAuthInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NamespacedBasicAuth
}

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

len(mockedNamespacedBasicAuthInterface.UpdateCalls())

func (*NamespacedBasicAuthInterfaceMock) Watch

Watch calls WatchFunc.

func (*NamespacedBasicAuthInterfaceMock) WatchCalls

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

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

len(mockedNamespacedBasicAuthInterface.WatchCalls())

type NamespacedBasicAuthListerMock

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

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

NamespacedBasicAuthListerMock is a mock implementation of NamespacedBasicAuthLister.

    func TestSomethingThatUsesNamespacedBasicAuthLister(t *testing.T) {

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

        // use mockedNamespacedBasicAuthLister in code that requires NamespacedBasicAuthLister
        // and then make assertions.

    }

func (*NamespacedBasicAuthListerMock) Get

func (mock *NamespacedBasicAuthListerMock) Get(namespace string, name string) (*v3.NamespacedBasicAuth, error)

Get calls GetFunc.

func (*NamespacedBasicAuthListerMock) GetCalls

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

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

len(mockedNamespacedBasicAuthLister.GetCalls())

func (*NamespacedBasicAuthListerMock) List

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

List calls ListFunc.

func (*NamespacedBasicAuthListerMock) ListCalls

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

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

len(mockedNamespacedBasicAuthLister.ListCalls())

type NamespacedBasicAuthsGetterMock

type NamespacedBasicAuthsGetterMock struct {
	// NamespacedBasicAuthsFunc mocks the NamespacedBasicAuths method.
	NamespacedBasicAuthsFunc func(namespace string) v3.NamespacedBasicAuthInterface
	// contains filtered or unexported fields
}

NamespacedBasicAuthsGetterMock is a mock implementation of NamespacedBasicAuthsGetter.

    func TestSomethingThatUsesNamespacedBasicAuthsGetter(t *testing.T) {

        // make and configure a mocked NamespacedBasicAuthsGetter
        mockedNamespacedBasicAuthsGetter := &NamespacedBasicAuthsGetterMock{
            NamespacedBasicAuthsFunc: func(namespace string) v3.NamespacedBasicAuthInterface {
	               panic("mock out the NamespacedBasicAuths method")
            },
        }

        // use mockedNamespacedBasicAuthsGetter in code that requires NamespacedBasicAuthsGetter
        // and then make assertions.

    }

func (*NamespacedBasicAuthsGetterMock) NamespacedBasicAuths

func (mock *NamespacedBasicAuthsGetterMock) NamespacedBasicAuths(namespace string) v3.NamespacedBasicAuthInterface

NamespacedBasicAuths calls NamespacedBasicAuthsFunc.

func (*NamespacedBasicAuthsGetterMock) NamespacedBasicAuthsCalls

func (mock *NamespacedBasicAuthsGetterMock) NamespacedBasicAuthsCalls() []struct {
	Namespace string
}

NamespacedBasicAuthsCalls gets all the calls that were made to NamespacedBasicAuths. Check the length with:

len(mockedNamespacedBasicAuthsGetter.NamespacedBasicAuthsCalls())

type NamespacedCertificateControllerMock

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

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

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

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

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

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

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

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

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

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

NamespacedCertificateControllerMock is a mock implementation of NamespacedCertificateController.

    func TestSomethingThatUsesNamespacedCertificateController(t *testing.T) {

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

    }

func (*NamespacedCertificateControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedCertificateControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedNamespacedCertificateController.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedCertificateControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedCertificateControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedNamespacedCertificateController.AddClusterScopedHandlerCalls())

func (*NamespacedCertificateControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedCertificateControllerMock) AddFeatureHandlerCalls

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

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

len(mockedNamespacedCertificateController.AddFeatureHandlerCalls())

func (*NamespacedCertificateControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedCertificateControllerMock) AddHandlerCalls

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

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

len(mockedNamespacedCertificateController.AddHandlerCalls())

func (*NamespacedCertificateControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*NamespacedCertificateControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*NamespacedCertificateControllerMock) EnqueueAfterCalls

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

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

len(mockedNamespacedCertificateController.EnqueueAfterCalls())

func (*NamespacedCertificateControllerMock) EnqueueCalls

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

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

len(mockedNamespacedCertificateController.EnqueueCalls())

func (*NamespacedCertificateControllerMock) Generic

Generic calls GenericFunc.

func (*NamespacedCertificateControllerMock) GenericCalls

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

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

len(mockedNamespacedCertificateController.GenericCalls())

func (*NamespacedCertificateControllerMock) Informer

Informer calls InformerFunc.

func (*NamespacedCertificateControllerMock) InformerCalls

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

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

len(mockedNamespacedCertificateController.InformerCalls())

func (*NamespacedCertificateControllerMock) Lister

Lister calls ListerFunc.

func (*NamespacedCertificateControllerMock) ListerCalls

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

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

len(mockedNamespacedCertificateController.ListerCalls())

func (*NamespacedCertificateControllerMock) Start

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

Start calls StartFunc.

func (*NamespacedCertificateControllerMock) StartCalls

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

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

len(mockedNamespacedCertificateController.StartCalls())

func (*NamespacedCertificateControllerMock) Sync

Sync calls SyncFunc.

func (*NamespacedCertificateControllerMock) SyncCalls

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

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

len(mockedNamespacedCertificateController.SyncCalls())

type NamespacedCertificateInterfaceMock

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

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

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

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

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

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

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

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

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

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.NamespacedCertificate) (*v3.NamespacedCertificate, error)

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

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

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

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

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

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

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

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

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

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

NamespacedCertificateInterfaceMock is a mock implementation of NamespacedCertificateInterface.

    func TestSomethingThatUsesNamespacedCertificateInterface(t *testing.T) {

        // make and configure a mocked NamespacedCertificateInterface
        mockedNamespacedCertificateInterface := &NamespacedCertificateInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedCertificateHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedCertificateLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NamespacedCertificateHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedCertificateLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedCertificateHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedCertificateLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NamespacedCertificateHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NamespacedCertificateLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NamespacedCertificateController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NamespacedCertificate) (*v3.NamespacedCertificate, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.NamespacedCertificate, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedCertificate, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NamespacedCertificateList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NamespacedCertificateList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NamespacedCertificate) (*v3.NamespacedCertificate, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNamespacedCertificateInterface in code that requires NamespacedCertificateInterface
        // and then make assertions.

    }

func (*NamespacedCertificateInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedCertificateInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedNamespacedCertificateInterface.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedCertificateInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NamespacedCertificateInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedNamespacedCertificateInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NamespacedCertificateInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedCertificateInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedNamespacedCertificateInterface.AddClusterScopedHandlerCalls())

func (*NamespacedCertificateInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NamespacedCertificateInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedNamespacedCertificateInterface.AddClusterScopedLifecycleCalls())

func (*NamespacedCertificateInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedCertificateInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedNamespacedCertificateInterface.AddFeatureHandlerCalls())

func (*NamespacedCertificateInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NamespacedCertificateInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedNamespacedCertificateInterface.AddFeatureLifecycleCalls())

func (*NamespacedCertificateInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedCertificateInterfaceMock) AddHandlerCalls

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

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

len(mockedNamespacedCertificateInterface.AddHandlerCalls())

func (*NamespacedCertificateInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*NamespacedCertificateInterfaceMock) AddLifecycleCalls

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

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

len(mockedNamespacedCertificateInterface.AddLifecycleCalls())

func (*NamespacedCertificateInterfaceMock) Controller

Controller calls ControllerFunc.

func (*NamespacedCertificateInterfaceMock) ControllerCalls

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

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

len(mockedNamespacedCertificateInterface.ControllerCalls())

func (*NamespacedCertificateInterfaceMock) Create

Create calls CreateFunc.

func (*NamespacedCertificateInterfaceMock) CreateCalls

func (mock *NamespacedCertificateInterfaceMock) CreateCalls() []struct {
	In1 *v3.NamespacedCertificate
}

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

len(mockedNamespacedCertificateInterface.CreateCalls())

func (*NamespacedCertificateInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*NamespacedCertificateInterfaceMock) DeleteCalls

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

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

len(mockedNamespacedCertificateInterface.DeleteCalls())

func (*NamespacedCertificateInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*NamespacedCertificateInterfaceMock) DeleteCollectionCalls

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

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

len(mockedNamespacedCertificateInterface.DeleteCollectionCalls())

func (*NamespacedCertificateInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NamespacedCertificateInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedNamespacedCertificateInterface.DeleteNamespacedCalls())

func (*NamespacedCertificateInterfaceMock) Get

Get calls GetFunc.

func (*NamespacedCertificateInterfaceMock) GetCalls

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

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

len(mockedNamespacedCertificateInterface.GetCalls())

func (*NamespacedCertificateInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*NamespacedCertificateInterfaceMock) GetNamespacedCalls

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

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

len(mockedNamespacedCertificateInterface.GetNamespacedCalls())

func (*NamespacedCertificateInterfaceMock) List

List calls ListFunc.

func (*NamespacedCertificateInterfaceMock) ListCalls

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

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

len(mockedNamespacedCertificateInterface.ListCalls())

func (*NamespacedCertificateInterfaceMock) ListNamespaced

func (mock *NamespacedCertificateInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NamespacedCertificateList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NamespacedCertificateInterfaceMock) ListNamespacedCalls

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

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

len(mockedNamespacedCertificateInterface.ListNamespacedCalls())

func (*NamespacedCertificateInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NamespacedCertificateInterfaceMock) ObjectClientCalls

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

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

len(mockedNamespacedCertificateInterface.ObjectClientCalls())

func (*NamespacedCertificateInterfaceMock) Update

Update calls UpdateFunc.

func (*NamespacedCertificateInterfaceMock) UpdateCalls

func (mock *NamespacedCertificateInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NamespacedCertificate
}

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

len(mockedNamespacedCertificateInterface.UpdateCalls())

func (*NamespacedCertificateInterfaceMock) Watch

Watch calls WatchFunc.

func (*NamespacedCertificateInterfaceMock) WatchCalls

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

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

len(mockedNamespacedCertificateInterface.WatchCalls())

type NamespacedCertificateListerMock

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

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

NamespacedCertificateListerMock is a mock implementation of NamespacedCertificateLister.

    func TestSomethingThatUsesNamespacedCertificateLister(t *testing.T) {

        // make and configure a mocked NamespacedCertificateLister
        mockedNamespacedCertificateLister := &NamespacedCertificateListerMock{
            GetFunc: func(namespace string, name string) (*v3.NamespacedCertificate, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NamespacedCertificate, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNamespacedCertificateLister in code that requires NamespacedCertificateLister
        // and then make assertions.

    }

func (*NamespacedCertificateListerMock) Get

Get calls GetFunc.

func (*NamespacedCertificateListerMock) GetCalls

func (mock *NamespacedCertificateListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedCertificateLister.GetCalls())

func (*NamespacedCertificateListerMock) List

func (mock *NamespacedCertificateListerMock) List(namespace string, selector labels.Selector) ([]*v3.NamespacedCertificate, error)

List calls ListFunc.

func (*NamespacedCertificateListerMock) ListCalls

func (mock *NamespacedCertificateListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedCertificateLister.ListCalls())

type NamespacedCertificatesGetterMock

type NamespacedCertificatesGetterMock struct {
	// NamespacedCertificatesFunc mocks the NamespacedCertificates method.
	NamespacedCertificatesFunc func(namespace string) v3.NamespacedCertificateInterface
	// contains filtered or unexported fields
}

NamespacedCertificatesGetterMock is a mock implementation of NamespacedCertificatesGetter.

    func TestSomethingThatUsesNamespacedCertificatesGetter(t *testing.T) {

        // make and configure a mocked NamespacedCertificatesGetter
        mockedNamespacedCertificatesGetter := &NamespacedCertificatesGetterMock{
            NamespacedCertificatesFunc: func(namespace string) v3.NamespacedCertificateInterface {
	               panic("mock out the NamespacedCertificates method")
            },
        }

        // use mockedNamespacedCertificatesGetter in code that requires NamespacedCertificatesGetter
        // and then make assertions.

    }

func (*NamespacedCertificatesGetterMock) NamespacedCertificates

func (mock *NamespacedCertificatesGetterMock) NamespacedCertificates(namespace string) v3.NamespacedCertificateInterface

NamespacedCertificates calls NamespacedCertificatesFunc.

func (*NamespacedCertificatesGetterMock) NamespacedCertificatesCalls

func (mock *NamespacedCertificatesGetterMock) NamespacedCertificatesCalls() []struct {
	Namespace string
}

NamespacedCertificatesCalls gets all the calls that were made to NamespacedCertificates. Check the length with:

len(mockedNamespacedCertificatesGetter.NamespacedCertificatesCalls())

type NamespacedDockerCredentialControllerMock

type NamespacedDockerCredentialControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedDockerCredentialHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.NamespacedDockerCredentialHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedDockerCredentialHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.NamespacedDockerCredentialHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.NamespacedDockerCredentialLister

	// 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
}

NamespacedDockerCredentialControllerMock is a mock implementation of NamespacedDockerCredentialController.

    func TestSomethingThatUsesNamespacedDockerCredentialController(t *testing.T) {

        // make and configure a mocked NamespacedDockerCredentialController
        mockedNamespacedDockerCredentialController := &NamespacedDockerCredentialControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.NamespacedDockerCredentialLister {
	               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 mockedNamespacedDockerCredentialController in code that requires NamespacedDockerCredentialController
        // and then make assertions.

    }

func (*NamespacedDockerCredentialControllerMock) AddClusterScopedFeatureHandler

func (mock *NamespacedDockerCredentialControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedDockerCredentialHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedDockerCredentialControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NamespacedDockerCredentialControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NamespacedDockerCredentialHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNamespacedDockerCredentialController.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedDockerCredentialControllerMock) AddClusterScopedHandler

func (mock *NamespacedDockerCredentialControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NamespacedDockerCredentialHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedDockerCredentialControllerMock) AddClusterScopedHandlerCalls

func (mock *NamespacedDockerCredentialControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NamespacedDockerCredentialHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNamespacedDockerCredentialController.AddClusterScopedHandlerCalls())

func (*NamespacedDockerCredentialControllerMock) AddFeatureHandler

func (mock *NamespacedDockerCredentialControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedDockerCredentialHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedDockerCredentialControllerMock) AddFeatureHandlerCalls

func (mock *NamespacedDockerCredentialControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NamespacedDockerCredentialHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNamespacedDockerCredentialController.AddFeatureHandlerCalls())

func (*NamespacedDockerCredentialControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedDockerCredentialControllerMock) AddHandlerCalls

func (mock *NamespacedDockerCredentialControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NamespacedDockerCredentialHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNamespacedDockerCredentialController.AddHandlerCalls())

func (*NamespacedDockerCredentialControllerMock) Enqueue

func (mock *NamespacedDockerCredentialControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NamespacedDockerCredentialControllerMock) EnqueueAfter

func (mock *NamespacedDockerCredentialControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NamespacedDockerCredentialControllerMock) EnqueueAfterCalls

func (mock *NamespacedDockerCredentialControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNamespacedDockerCredentialController.EnqueueAfterCalls())

func (*NamespacedDockerCredentialControllerMock) EnqueueCalls

func (mock *NamespacedDockerCredentialControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNamespacedDockerCredentialController.EnqueueCalls())

func (*NamespacedDockerCredentialControllerMock) Generic

Generic calls GenericFunc.

func (*NamespacedDockerCredentialControllerMock) GenericCalls

func (mock *NamespacedDockerCredentialControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNamespacedDockerCredentialController.GenericCalls())

func (*NamespacedDockerCredentialControllerMock) Informer

Informer calls InformerFunc.

func (*NamespacedDockerCredentialControllerMock) InformerCalls

func (mock *NamespacedDockerCredentialControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNamespacedDockerCredentialController.InformerCalls())

func (*NamespacedDockerCredentialControllerMock) Lister

Lister calls ListerFunc.

func (*NamespacedDockerCredentialControllerMock) ListerCalls

func (mock *NamespacedDockerCredentialControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNamespacedDockerCredentialController.ListerCalls())

func (*NamespacedDockerCredentialControllerMock) Start

func (mock *NamespacedDockerCredentialControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NamespacedDockerCredentialControllerMock) StartCalls

func (mock *NamespacedDockerCredentialControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNamespacedDockerCredentialController.StartCalls())

func (*NamespacedDockerCredentialControllerMock) Sync

Sync calls SyncFunc.

func (*NamespacedDockerCredentialControllerMock) SyncCalls

func (mock *NamespacedDockerCredentialControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNamespacedDockerCredentialController.SyncCalls())

type NamespacedDockerCredentialInterfaceMock

type NamespacedDockerCredentialInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedDockerCredentialHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedDockerCredentialLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.NamespacedDockerCredentialHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedDockerCredentialLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedDockerCredentialHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedDockerCredentialLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.NamespacedDockerCredentialHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.NamespacedDockerCredentialLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.NamespacedDockerCredentialController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.NamespacedDockerCredential) (*v3.NamespacedDockerCredential, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.NamespacedDockerCredential, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedDockerCredential, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.NamespacedDockerCredentialList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.NamespacedDockerCredentialList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.NamespacedDockerCredential) (*v3.NamespacedDockerCredential, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NamespacedDockerCredentialInterfaceMock is a mock implementation of NamespacedDockerCredentialInterface.

    func TestSomethingThatUsesNamespacedDockerCredentialInterface(t *testing.T) {

        // make and configure a mocked NamespacedDockerCredentialInterface
        mockedNamespacedDockerCredentialInterface := &NamespacedDockerCredentialInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedDockerCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedDockerCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedDockerCredentialLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NamespacedDockerCredentialHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NamespacedDockerCredentialLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NamespacedDockerCredentialController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NamespacedDockerCredential) (*v3.NamespacedDockerCredential, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.NamespacedDockerCredential, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedDockerCredential, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NamespacedDockerCredentialList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NamespacedDockerCredentialList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NamespacedDockerCredential) (*v3.NamespacedDockerCredential, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNamespacedDockerCredentialInterface in code that requires NamespacedDockerCredentialInterface
        // and then make assertions.

    }

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedDockerCredentialHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NamespacedDockerCredentialHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedDockerCredentialLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NamespacedDockerCredentialLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedHandler

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NamespacedDockerCredentialHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NamespacedDockerCredentialHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddClusterScopedHandlerCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedLifecycle

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedDockerCredentialLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NamespacedDockerCredentialLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddClusterScopedLifecycleCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddFeatureHandler

func (mock *NamespacedDockerCredentialInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedDockerCredentialHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddFeatureHandlerCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NamespacedDockerCredentialHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddFeatureHandlerCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddFeatureLifecycle

func (mock *NamespacedDockerCredentialInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedDockerCredentialLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddFeatureLifecycleCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NamespacedDockerCredentialLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddFeatureLifecycleCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddHandlerCalls())

func (*NamespacedDockerCredentialInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*NamespacedDockerCredentialInterfaceMock) AddLifecycleCalls

func (mock *NamespacedDockerCredentialInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NamespacedDockerCredentialLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNamespacedDockerCredentialInterface.AddLifecycleCalls())

func (*NamespacedDockerCredentialInterfaceMock) Controller

Controller calls ControllerFunc.

func (*NamespacedDockerCredentialInterfaceMock) ControllerCalls

func (mock *NamespacedDockerCredentialInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNamespacedDockerCredentialInterface.ControllerCalls())

func (*NamespacedDockerCredentialInterfaceMock) Create

Create calls CreateFunc.

func (*NamespacedDockerCredentialInterfaceMock) CreateCalls

func (mock *NamespacedDockerCredentialInterfaceMock) CreateCalls() []struct {
	In1 *v3.NamespacedDockerCredential
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNamespacedDockerCredentialInterface.CreateCalls())

func (*NamespacedDockerCredentialInterfaceMock) Delete

Delete calls DeleteFunc.

func (*NamespacedDockerCredentialInterfaceMock) DeleteCalls

func (mock *NamespacedDockerCredentialInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNamespacedDockerCredentialInterface.DeleteCalls())

func (*NamespacedDockerCredentialInterfaceMock) DeleteCollection

func (mock *NamespacedDockerCredentialInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NamespacedDockerCredentialInterfaceMock) DeleteCollectionCalls

func (mock *NamespacedDockerCredentialInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNamespacedDockerCredentialInterface.DeleteCollectionCalls())

func (*NamespacedDockerCredentialInterfaceMock) DeleteNamespaced

func (mock *NamespacedDockerCredentialInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NamespacedDockerCredentialInterfaceMock) DeleteNamespacedCalls

func (mock *NamespacedDockerCredentialInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNamespacedDockerCredentialInterface.DeleteNamespacedCalls())

func (*NamespacedDockerCredentialInterfaceMock) Get

Get calls GetFunc.

func (*NamespacedDockerCredentialInterfaceMock) GetCalls

func (mock *NamespacedDockerCredentialInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedDockerCredentialInterface.GetCalls())

func (*NamespacedDockerCredentialInterfaceMock) GetNamespaced

GetNamespaced calls GetNamespacedFunc.

func (*NamespacedDockerCredentialInterfaceMock) GetNamespacedCalls

func (mock *NamespacedDockerCredentialInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNamespacedDockerCredentialInterface.GetNamespacedCalls())

func (*NamespacedDockerCredentialInterfaceMock) List

List calls ListFunc.

func (*NamespacedDockerCredentialInterfaceMock) ListCalls

func (mock *NamespacedDockerCredentialInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedDockerCredentialInterface.ListCalls())

func (*NamespacedDockerCredentialInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*NamespacedDockerCredentialInterfaceMock) ListNamespacedCalls

func (mock *NamespacedDockerCredentialInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNamespacedDockerCredentialInterface.ListNamespacedCalls())

func (*NamespacedDockerCredentialInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NamespacedDockerCredentialInterfaceMock) ObjectClientCalls

func (mock *NamespacedDockerCredentialInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNamespacedDockerCredentialInterface.ObjectClientCalls())

func (*NamespacedDockerCredentialInterfaceMock) Update

Update calls UpdateFunc.

func (*NamespacedDockerCredentialInterfaceMock) UpdateCalls

func (mock *NamespacedDockerCredentialInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NamespacedDockerCredential
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNamespacedDockerCredentialInterface.UpdateCalls())

func (*NamespacedDockerCredentialInterfaceMock) Watch

Watch calls WatchFunc.

func (*NamespacedDockerCredentialInterfaceMock) WatchCalls

func (mock *NamespacedDockerCredentialInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNamespacedDockerCredentialInterface.WatchCalls())

type NamespacedDockerCredentialListerMock

type NamespacedDockerCredentialListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.NamespacedDockerCredential, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.NamespacedDockerCredential, error)
	// contains filtered or unexported fields
}

NamespacedDockerCredentialListerMock is a mock implementation of NamespacedDockerCredentialLister.

    func TestSomethingThatUsesNamespacedDockerCredentialLister(t *testing.T) {

        // make and configure a mocked NamespacedDockerCredentialLister
        mockedNamespacedDockerCredentialLister := &NamespacedDockerCredentialListerMock{
            GetFunc: func(namespace string, name string) (*v3.NamespacedDockerCredential, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NamespacedDockerCredential, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNamespacedDockerCredentialLister in code that requires NamespacedDockerCredentialLister
        // and then make assertions.

    }

func (*NamespacedDockerCredentialListerMock) Get

Get calls GetFunc.

func (*NamespacedDockerCredentialListerMock) GetCalls

func (mock *NamespacedDockerCredentialListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedDockerCredentialLister.GetCalls())

func (*NamespacedDockerCredentialListerMock) List

List calls ListFunc.

func (*NamespacedDockerCredentialListerMock) ListCalls

func (mock *NamespacedDockerCredentialListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedDockerCredentialLister.ListCalls())

type NamespacedDockerCredentialsGetterMock

type NamespacedDockerCredentialsGetterMock struct {
	// NamespacedDockerCredentialsFunc mocks the NamespacedDockerCredentials method.
	NamespacedDockerCredentialsFunc func(namespace string) v3.NamespacedDockerCredentialInterface
	// contains filtered or unexported fields
}

NamespacedDockerCredentialsGetterMock is a mock implementation of NamespacedDockerCredentialsGetter.

    func TestSomethingThatUsesNamespacedDockerCredentialsGetter(t *testing.T) {

        // make and configure a mocked NamespacedDockerCredentialsGetter
        mockedNamespacedDockerCredentialsGetter := &NamespacedDockerCredentialsGetterMock{
            NamespacedDockerCredentialsFunc: func(namespace string) v3.NamespacedDockerCredentialInterface {
	               panic("mock out the NamespacedDockerCredentials method")
            },
        }

        // use mockedNamespacedDockerCredentialsGetter in code that requires NamespacedDockerCredentialsGetter
        // and then make assertions.

    }

func (*NamespacedDockerCredentialsGetterMock) NamespacedDockerCredentials

func (mock *NamespacedDockerCredentialsGetterMock) NamespacedDockerCredentials(namespace string) v3.NamespacedDockerCredentialInterface

NamespacedDockerCredentials calls NamespacedDockerCredentialsFunc.

func (*NamespacedDockerCredentialsGetterMock) NamespacedDockerCredentialsCalls

func (mock *NamespacedDockerCredentialsGetterMock) NamespacedDockerCredentialsCalls() []struct {
	Namespace string
}

NamespacedDockerCredentialsCalls gets all the calls that were made to NamespacedDockerCredentials. Check the length with:

len(mockedNamespacedDockerCredentialsGetter.NamespacedDockerCredentialsCalls())

type NamespacedSSHAuthControllerMock

type NamespacedSSHAuthControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedSSHAuthHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.NamespacedSSHAuthHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedSSHAuthHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.NamespacedSSHAuthHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.NamespacedSSHAuthLister

	// 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
}

NamespacedSSHAuthControllerMock is a mock implementation of NamespacedSSHAuthController.

    func TestSomethingThatUsesNamespacedSSHAuthController(t *testing.T) {

        // make and configure a mocked NamespacedSSHAuthController
        mockedNamespacedSSHAuthController := &NamespacedSSHAuthControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.NamespacedSSHAuthLister {
	               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 mockedNamespacedSSHAuthController in code that requires NamespacedSSHAuthController
        // and then make assertions.

    }

func (*NamespacedSSHAuthControllerMock) AddClusterScopedFeatureHandler

func (mock *NamespacedSSHAuthControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedSSHAuthHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedSSHAuthControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NamespacedSSHAuthControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NamespacedSSHAuthHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNamespacedSSHAuthController.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedSSHAuthControllerMock) AddClusterScopedHandler

func (mock *NamespacedSSHAuthControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NamespacedSSHAuthHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedSSHAuthControllerMock) AddClusterScopedHandlerCalls

func (mock *NamespacedSSHAuthControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NamespacedSSHAuthHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNamespacedSSHAuthController.AddClusterScopedHandlerCalls())

func (*NamespacedSSHAuthControllerMock) AddFeatureHandler

func (mock *NamespacedSSHAuthControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedSSHAuthHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedSSHAuthControllerMock) AddFeatureHandlerCalls

func (mock *NamespacedSSHAuthControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NamespacedSSHAuthHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNamespacedSSHAuthController.AddFeatureHandlerCalls())

func (*NamespacedSSHAuthControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedSSHAuthControllerMock) AddHandlerCalls

func (mock *NamespacedSSHAuthControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.NamespacedSSHAuthHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNamespacedSSHAuthController.AddHandlerCalls())

func (*NamespacedSSHAuthControllerMock) Enqueue

func (mock *NamespacedSSHAuthControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NamespacedSSHAuthControllerMock) EnqueueAfter

func (mock *NamespacedSSHAuthControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NamespacedSSHAuthControllerMock) EnqueueAfterCalls

func (mock *NamespacedSSHAuthControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNamespacedSSHAuthController.EnqueueAfterCalls())

func (*NamespacedSSHAuthControllerMock) EnqueueCalls

func (mock *NamespacedSSHAuthControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNamespacedSSHAuthController.EnqueueCalls())

func (*NamespacedSSHAuthControllerMock) Generic

Generic calls GenericFunc.

func (*NamespacedSSHAuthControllerMock) GenericCalls

func (mock *NamespacedSSHAuthControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNamespacedSSHAuthController.GenericCalls())

func (*NamespacedSSHAuthControllerMock) Informer

Informer calls InformerFunc.

func (*NamespacedSSHAuthControllerMock) InformerCalls

func (mock *NamespacedSSHAuthControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNamespacedSSHAuthController.InformerCalls())

func (*NamespacedSSHAuthControllerMock) Lister

Lister calls ListerFunc.

func (*NamespacedSSHAuthControllerMock) ListerCalls

func (mock *NamespacedSSHAuthControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNamespacedSSHAuthController.ListerCalls())

func (*NamespacedSSHAuthControllerMock) Start

func (mock *NamespacedSSHAuthControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*NamespacedSSHAuthControllerMock) StartCalls

func (mock *NamespacedSSHAuthControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNamespacedSSHAuthController.StartCalls())

func (*NamespacedSSHAuthControllerMock) Sync

Sync calls SyncFunc.

func (*NamespacedSSHAuthControllerMock) SyncCalls

func (mock *NamespacedSSHAuthControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNamespacedSSHAuthController.SyncCalls())

type NamespacedSSHAuthInterfaceMock

type NamespacedSSHAuthInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedSSHAuthHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedSSHAuthLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.NamespacedSSHAuthHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedSSHAuthLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedSSHAuthHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedSSHAuthLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.NamespacedSSHAuthHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.NamespacedSSHAuthLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.NamespacedSSHAuthController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.NamespacedSSHAuth) (*v3.NamespacedSSHAuth, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.NamespacedSSHAuth, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedSSHAuth, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.NamespacedSSHAuthList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.NamespacedSSHAuthList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.NamespacedSSHAuth) (*v3.NamespacedSSHAuth, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NamespacedSSHAuthInterfaceMock is a mock implementation of NamespacedSSHAuthInterface.

    func TestSomethingThatUsesNamespacedSSHAuthInterface(t *testing.T) {

        // make and configure a mocked NamespacedSSHAuthInterface
        mockedNamespacedSSHAuthInterface := &NamespacedSSHAuthInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedSSHAuthLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedSSHAuthLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedSSHAuthLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NamespacedSSHAuthHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NamespacedSSHAuthLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NamespacedSSHAuthController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NamespacedSSHAuth) (*v3.NamespacedSSHAuth, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.NamespacedSSHAuth, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedSSHAuth, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NamespacedSSHAuthList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NamespacedSSHAuthList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NamespacedSSHAuth) (*v3.NamespacedSSHAuth, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNamespacedSSHAuthInterface in code that requires NamespacedSSHAuthInterface
        // and then make assertions.

    }

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedSSHAuthHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NamespacedSSHAuthHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedSSHAuthLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NamespacedSSHAuthLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedHandler

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NamespacedSSHAuthHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NamespacedSSHAuthHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddClusterScopedHandlerCalls())

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedLifecycle

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedSSHAuthLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NamespacedSSHAuthInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NamespacedSSHAuthLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddClusterScopedLifecycleCalls())

func (*NamespacedSSHAuthInterfaceMock) AddFeatureHandler

func (mock *NamespacedSSHAuthInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedSSHAuthHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedSSHAuthInterfaceMock) AddFeatureHandlerCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NamespacedSSHAuthHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddFeatureHandlerCalls())

func (*NamespacedSSHAuthInterfaceMock) AddFeatureLifecycle

func (mock *NamespacedSSHAuthInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedSSHAuthLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NamespacedSSHAuthInterfaceMock) AddFeatureLifecycleCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NamespacedSSHAuthLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddFeatureLifecycleCalls())

func (*NamespacedSSHAuthInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedSSHAuthInterfaceMock) AddHandlerCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.NamespacedSSHAuthHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddHandlerCalls())

func (*NamespacedSSHAuthInterfaceMock) AddLifecycle

func (mock *NamespacedSSHAuthInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.NamespacedSSHAuthLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*NamespacedSSHAuthInterfaceMock) AddLifecycleCalls

func (mock *NamespacedSSHAuthInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NamespacedSSHAuthLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNamespacedSSHAuthInterface.AddLifecycleCalls())

func (*NamespacedSSHAuthInterfaceMock) Controller

Controller calls ControllerFunc.

func (*NamespacedSSHAuthInterfaceMock) ControllerCalls

func (mock *NamespacedSSHAuthInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNamespacedSSHAuthInterface.ControllerCalls())

func (*NamespacedSSHAuthInterfaceMock) Create

Create calls CreateFunc.

func (*NamespacedSSHAuthInterfaceMock) CreateCalls

func (mock *NamespacedSSHAuthInterfaceMock) CreateCalls() []struct {
	In1 *v3.NamespacedSSHAuth
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNamespacedSSHAuthInterface.CreateCalls())

func (*NamespacedSSHAuthInterfaceMock) Delete

func (mock *NamespacedSSHAuthInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*NamespacedSSHAuthInterfaceMock) DeleteCalls

func (mock *NamespacedSSHAuthInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNamespacedSSHAuthInterface.DeleteCalls())

func (*NamespacedSSHAuthInterfaceMock) DeleteCollection

func (mock *NamespacedSSHAuthInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NamespacedSSHAuthInterfaceMock) DeleteCollectionCalls

func (mock *NamespacedSSHAuthInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNamespacedSSHAuthInterface.DeleteCollectionCalls())

func (*NamespacedSSHAuthInterfaceMock) DeleteNamespaced

func (mock *NamespacedSSHAuthInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NamespacedSSHAuthInterfaceMock) DeleteNamespacedCalls

func (mock *NamespacedSSHAuthInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNamespacedSSHAuthInterface.DeleteNamespacedCalls())

func (*NamespacedSSHAuthInterfaceMock) Get

Get calls GetFunc.

func (*NamespacedSSHAuthInterfaceMock) GetCalls

func (mock *NamespacedSSHAuthInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedSSHAuthInterface.GetCalls())

func (*NamespacedSSHAuthInterfaceMock) GetNamespaced

func (mock *NamespacedSSHAuthInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedSSHAuth, error)

GetNamespaced calls GetNamespacedFunc.

func (*NamespacedSSHAuthInterfaceMock) GetNamespacedCalls

func (mock *NamespacedSSHAuthInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNamespacedSSHAuthInterface.GetNamespacedCalls())

func (*NamespacedSSHAuthInterfaceMock) List

List calls ListFunc.

func (*NamespacedSSHAuthInterfaceMock) ListCalls

func (mock *NamespacedSSHAuthInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedSSHAuthInterface.ListCalls())

func (*NamespacedSSHAuthInterfaceMock) ListNamespaced

func (mock *NamespacedSSHAuthInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.NamespacedSSHAuthList, error)

ListNamespaced calls ListNamespacedFunc.

func (*NamespacedSSHAuthInterfaceMock) ListNamespacedCalls

func (mock *NamespacedSSHAuthInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNamespacedSSHAuthInterface.ListNamespacedCalls())

func (*NamespacedSSHAuthInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NamespacedSSHAuthInterfaceMock) ObjectClientCalls

func (mock *NamespacedSSHAuthInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNamespacedSSHAuthInterface.ObjectClientCalls())

func (*NamespacedSSHAuthInterfaceMock) Update

Update calls UpdateFunc.

func (*NamespacedSSHAuthInterfaceMock) UpdateCalls

func (mock *NamespacedSSHAuthInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NamespacedSSHAuth
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNamespacedSSHAuthInterface.UpdateCalls())

func (*NamespacedSSHAuthInterfaceMock) Watch

Watch calls WatchFunc.

func (*NamespacedSSHAuthInterfaceMock) WatchCalls

func (mock *NamespacedSSHAuthInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNamespacedSSHAuthInterface.WatchCalls())

type NamespacedSSHAuthListerMock

type NamespacedSSHAuthListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.NamespacedSSHAuth, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.NamespacedSSHAuth, error)
	// contains filtered or unexported fields
}

NamespacedSSHAuthListerMock is a mock implementation of NamespacedSSHAuthLister.

    func TestSomethingThatUsesNamespacedSSHAuthLister(t *testing.T) {

        // make and configure a mocked NamespacedSSHAuthLister
        mockedNamespacedSSHAuthLister := &NamespacedSSHAuthListerMock{
            GetFunc: func(namespace string, name string) (*v3.NamespacedSSHAuth, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NamespacedSSHAuth, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNamespacedSSHAuthLister in code that requires NamespacedSSHAuthLister
        // and then make assertions.

    }

func (*NamespacedSSHAuthListerMock) Get

func (mock *NamespacedSSHAuthListerMock) Get(namespace string, name string) (*v3.NamespacedSSHAuth, error)

Get calls GetFunc.

func (*NamespacedSSHAuthListerMock) GetCalls

func (mock *NamespacedSSHAuthListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedSSHAuthLister.GetCalls())

func (*NamespacedSSHAuthListerMock) List

func (mock *NamespacedSSHAuthListerMock) List(namespace string, selector labels.Selector) ([]*v3.NamespacedSSHAuth, error)

List calls ListFunc.

func (*NamespacedSSHAuthListerMock) ListCalls

func (mock *NamespacedSSHAuthListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedSSHAuthLister.ListCalls())

type NamespacedSSHAuthsGetterMock

type NamespacedSSHAuthsGetterMock struct {
	// NamespacedSSHAuthsFunc mocks the NamespacedSSHAuths method.
	NamespacedSSHAuthsFunc func(namespace string) v3.NamespacedSSHAuthInterface
	// contains filtered or unexported fields
}

NamespacedSSHAuthsGetterMock is a mock implementation of NamespacedSSHAuthsGetter.

    func TestSomethingThatUsesNamespacedSSHAuthsGetter(t *testing.T) {

        // make and configure a mocked NamespacedSSHAuthsGetter
        mockedNamespacedSSHAuthsGetter := &NamespacedSSHAuthsGetterMock{
            NamespacedSSHAuthsFunc: func(namespace string) v3.NamespacedSSHAuthInterface {
	               panic("mock out the NamespacedSSHAuths method")
            },
        }

        // use mockedNamespacedSSHAuthsGetter in code that requires NamespacedSSHAuthsGetter
        // and then make assertions.

    }

func (*NamespacedSSHAuthsGetterMock) NamespacedSSHAuths

func (mock *NamespacedSSHAuthsGetterMock) NamespacedSSHAuths(namespace string) v3.NamespacedSSHAuthInterface

NamespacedSSHAuths calls NamespacedSSHAuthsFunc.

func (*NamespacedSSHAuthsGetterMock) NamespacedSSHAuthsCalls

func (mock *NamespacedSSHAuthsGetterMock) NamespacedSSHAuthsCalls() []struct {
	Namespace string
}

NamespacedSSHAuthsCalls gets all the calls that were made to NamespacedSSHAuths. Check the length with:

len(mockedNamespacedSSHAuthsGetter.NamespacedSSHAuthsCalls())

type NamespacedServiceAccountTokenControllerMock

type NamespacedServiceAccountTokenControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.NamespacedServiceAccountTokenHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.NamespacedServiceAccountTokenLister

	// 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
}

NamespacedServiceAccountTokenControllerMock is a mock implementation of NamespacedServiceAccountTokenController.

    func TestSomethingThatUsesNamespacedServiceAccountTokenController(t *testing.T) {

        // make and configure a mocked NamespacedServiceAccountTokenController
        mockedNamespacedServiceAccountTokenController := &NamespacedServiceAccountTokenControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.NamespacedServiceAccountTokenLister {
	               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 mockedNamespacedServiceAccountTokenController in code that requires NamespacedServiceAccountTokenController
        // and then make assertions.

    }

func (*NamespacedServiceAccountTokenControllerMock) AddClusterScopedFeatureHandler

func (mock *NamespacedServiceAccountTokenControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.NamespacedServiceAccountTokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedServiceAccountTokenControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *NamespacedServiceAccountTokenControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.NamespacedServiceAccountTokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenController.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedServiceAccountTokenControllerMock) AddClusterScopedHandler

func (mock *NamespacedServiceAccountTokenControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.NamespacedServiceAccountTokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedServiceAccountTokenControllerMock) AddClusterScopedHandlerCalls

func (mock *NamespacedServiceAccountTokenControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.NamespacedServiceAccountTokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenController.AddClusterScopedHandlerCalls())

func (*NamespacedServiceAccountTokenControllerMock) AddFeatureHandler

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedServiceAccountTokenControllerMock) AddFeatureHandlerCalls

func (mock *NamespacedServiceAccountTokenControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NamespacedServiceAccountTokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenController.AddFeatureHandlerCalls())

func (*NamespacedServiceAccountTokenControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedServiceAccountTokenControllerMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenController.AddHandlerCalls())

func (*NamespacedServiceAccountTokenControllerMock) Enqueue

func (mock *NamespacedServiceAccountTokenControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*NamespacedServiceAccountTokenControllerMock) EnqueueAfter

func (mock *NamespacedServiceAccountTokenControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*NamespacedServiceAccountTokenControllerMock) EnqueueAfterCalls

func (mock *NamespacedServiceAccountTokenControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedNamespacedServiceAccountTokenController.EnqueueAfterCalls())

func (*NamespacedServiceAccountTokenControllerMock) EnqueueCalls

func (mock *NamespacedServiceAccountTokenControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedNamespacedServiceAccountTokenController.EnqueueCalls())

func (*NamespacedServiceAccountTokenControllerMock) Generic

Generic calls GenericFunc.

func (*NamespacedServiceAccountTokenControllerMock) GenericCalls

func (mock *NamespacedServiceAccountTokenControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedNamespacedServiceAccountTokenController.GenericCalls())

func (*NamespacedServiceAccountTokenControllerMock) Informer

Informer calls InformerFunc.

func (*NamespacedServiceAccountTokenControllerMock) InformerCalls

func (mock *NamespacedServiceAccountTokenControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedNamespacedServiceAccountTokenController.InformerCalls())

func (*NamespacedServiceAccountTokenControllerMock) Lister

Lister calls ListerFunc.

func (*NamespacedServiceAccountTokenControllerMock) ListerCalls

func (mock *NamespacedServiceAccountTokenControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedNamespacedServiceAccountTokenController.ListerCalls())

func (*NamespacedServiceAccountTokenControllerMock) Start

Start calls StartFunc.

func (*NamespacedServiceAccountTokenControllerMock) StartCalls

func (mock *NamespacedServiceAccountTokenControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedNamespacedServiceAccountTokenController.StartCalls())

func (*NamespacedServiceAccountTokenControllerMock) Sync

Sync calls SyncFunc.

func (*NamespacedServiceAccountTokenControllerMock) SyncCalls

func (mock *NamespacedServiceAccountTokenControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedNamespacedServiceAccountTokenController.SyncCalls())

type NamespacedServiceAccountTokenInterfaceMock

type NamespacedServiceAccountTokenInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.NamespacedServiceAccountTokenController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.NamespacedServiceAccountToken) (*v3.NamespacedServiceAccountToken, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.NamespacedServiceAccountToken, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedServiceAccountToken, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.NamespacedServiceAccountTokenList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.NamespacedServiceAccountTokenList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.NamespacedServiceAccountToken) (*v3.NamespacedServiceAccountToken, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

NamespacedServiceAccountTokenInterfaceMock is a mock implementation of NamespacedServiceAccountTokenInterface.

    func TestSomethingThatUsesNamespacedServiceAccountTokenInterface(t *testing.T) {

        // make and configure a mocked NamespacedServiceAccountTokenInterface
        mockedNamespacedServiceAccountTokenInterface := &NamespacedServiceAccountTokenInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.NamespacedServiceAccountTokenController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.NamespacedServiceAccountToken) (*v3.NamespacedServiceAccountToken, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.NamespacedServiceAccountToken, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.NamespacedServiceAccountToken, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.NamespacedServiceAccountTokenList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.NamespacedServiceAccountTokenList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.NamespacedServiceAccountToken) (*v3.NamespacedServiceAccountToken, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedNamespacedServiceAccountTokenInterface in code that requires NamespacedServiceAccountTokenInterface
        // and then make assertions.

    }

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandler

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.NamespacedServiceAccountTokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddClusterScopedFeatureHandlerCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.NamespacedServiceAccountTokenLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddClusterScopedFeatureLifecycleCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedHandler

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedHandlerCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.NamespacedServiceAccountTokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddClusterScopedHandlerCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedLifecycle

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.NamespacedServiceAccountTokenLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddClusterScopedLifecycleCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddFeatureHandler

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.NamespacedServiceAccountTokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddFeatureHandlerCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.NamespacedServiceAccountTokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddFeatureHandlerCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddFeatureLifecycle

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.NamespacedServiceAccountTokenLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddFeatureLifecycleCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.NamespacedServiceAccountTokenLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddFeatureLifecycleCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddHandlerCalls

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddHandlerCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) AddLifecycleCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.NamespacedServiceAccountTokenLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.AddLifecycleCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) Controller

Controller calls ControllerFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) ControllerCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.ControllerCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) Create

Create calls CreateFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) CreateCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) CreateCalls() []struct {
	In1 *v3.NamespacedServiceAccountToken
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.CreateCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) Delete

Delete calls DeleteFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) DeleteCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.DeleteCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) DeleteCollection

func (mock *NamespacedServiceAccountTokenInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) DeleteCollectionCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.DeleteCollectionCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) DeleteNamespaced

func (mock *NamespacedServiceAccountTokenInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) DeleteNamespacedCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.DeleteNamespacedCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) Get

Get calls GetFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) GetCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.GetCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) GetNamespaced

GetNamespaced calls GetNamespacedFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) GetNamespacedCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.GetNamespacedCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) List

List calls ListFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) ListCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.ListCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) ListNamespacedCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.ListNamespacedCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) ObjectClientCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.ObjectClientCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) Update

Update calls UpdateFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) UpdateCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) UpdateCalls() []struct {
	In1 *v3.NamespacedServiceAccountToken
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.UpdateCalls())

func (*NamespacedServiceAccountTokenInterfaceMock) Watch

Watch calls WatchFunc.

func (*NamespacedServiceAccountTokenInterfaceMock) WatchCalls

func (mock *NamespacedServiceAccountTokenInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedNamespacedServiceAccountTokenInterface.WatchCalls())

type NamespacedServiceAccountTokenListerMock

type NamespacedServiceAccountTokenListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.NamespacedServiceAccountToken, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.NamespacedServiceAccountToken, error)
	// contains filtered or unexported fields
}

NamespacedServiceAccountTokenListerMock is a mock implementation of NamespacedServiceAccountTokenLister.

    func TestSomethingThatUsesNamespacedServiceAccountTokenLister(t *testing.T) {

        // make and configure a mocked NamespacedServiceAccountTokenLister
        mockedNamespacedServiceAccountTokenLister := &NamespacedServiceAccountTokenListerMock{
            GetFunc: func(namespace string, name string) (*v3.NamespacedServiceAccountToken, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.NamespacedServiceAccountToken, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedNamespacedServiceAccountTokenLister in code that requires NamespacedServiceAccountTokenLister
        // and then make assertions.

    }

func (*NamespacedServiceAccountTokenListerMock) Get

Get calls GetFunc.

func (*NamespacedServiceAccountTokenListerMock) GetCalls

func (mock *NamespacedServiceAccountTokenListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedNamespacedServiceAccountTokenLister.GetCalls())

func (*NamespacedServiceAccountTokenListerMock) List

List calls ListFunc.

func (*NamespacedServiceAccountTokenListerMock) ListCalls

func (mock *NamespacedServiceAccountTokenListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedNamespacedServiceAccountTokenLister.ListCalls())

type NamespacedServiceAccountTokensGetterMock

type NamespacedServiceAccountTokensGetterMock struct {
	// NamespacedServiceAccountTokensFunc mocks the NamespacedServiceAccountTokens method.
	NamespacedServiceAccountTokensFunc func(namespace string) v3.NamespacedServiceAccountTokenInterface
	// contains filtered or unexported fields
}

NamespacedServiceAccountTokensGetterMock is a mock implementation of NamespacedServiceAccountTokensGetter.

    func TestSomethingThatUsesNamespacedServiceAccountTokensGetter(t *testing.T) {

        // make and configure a mocked NamespacedServiceAccountTokensGetter
        mockedNamespacedServiceAccountTokensGetter := &NamespacedServiceAccountTokensGetterMock{
            NamespacedServiceAccountTokensFunc: func(namespace string) v3.NamespacedServiceAccountTokenInterface {
	               panic("mock out the NamespacedServiceAccountTokens method")
            },
        }

        // use mockedNamespacedServiceAccountTokensGetter in code that requires NamespacedServiceAccountTokensGetter
        // and then make assertions.

    }

func (*NamespacedServiceAccountTokensGetterMock) NamespacedServiceAccountTokens

func (mock *NamespacedServiceAccountTokensGetterMock) NamespacedServiceAccountTokens(namespace string) v3.NamespacedServiceAccountTokenInterface

NamespacedServiceAccountTokens calls NamespacedServiceAccountTokensFunc.

func (*NamespacedServiceAccountTokensGetterMock) NamespacedServiceAccountTokensCalls

func (mock *NamespacedServiceAccountTokensGetterMock) NamespacedServiceAccountTokensCalls() []struct {
	Namespace string
}

NamespacedServiceAccountTokensCalls gets all the calls that were made to NamespacedServiceAccountTokens. Check the length with:

len(mockedNamespacedServiceAccountTokensGetter.NamespacedServiceAccountTokensCalls())

type PipelineControllerMock

type PipelineControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.PipelineHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.PipelineHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.PipelineLister

	// 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
}

PipelineControllerMock is a mock implementation of PipelineController.

    func TestSomethingThatUsesPipelineController(t *testing.T) {

        // make and configure a mocked PipelineController
        mockedPipelineController := &PipelineControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PipelineHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PipelineHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.PipelineLister {
	               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 mockedPipelineController in code that requires PipelineController
        // and then make assertions.

    }

func (*PipelineControllerMock) AddClusterScopedFeatureHandler

func (mock *PipelineControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PipelineControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PipelineControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PipelineHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPipelineController.AddClusterScopedFeatureHandlerCalls())

func (*PipelineControllerMock) AddClusterScopedHandler

func (mock *PipelineControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.PipelineHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PipelineControllerMock) AddClusterScopedHandlerCalls

func (mock *PipelineControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PipelineHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPipelineController.AddClusterScopedHandlerCalls())

func (*PipelineControllerMock) AddFeatureHandler

func (mock *PipelineControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PipelineHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PipelineControllerMock) AddFeatureHandlerCalls

func (mock *PipelineControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PipelineHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPipelineController.AddFeatureHandlerCalls())

func (*PipelineControllerMock) AddHandler

func (mock *PipelineControllerMock) AddHandler(ctx context.Context, name string, handler v3.PipelineHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PipelineControllerMock) AddHandlerCalls

func (mock *PipelineControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.PipelineHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPipelineController.AddHandlerCalls())

func (*PipelineControllerMock) Enqueue

func (mock *PipelineControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*PipelineControllerMock) EnqueueAfter

func (mock *PipelineControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PipelineControllerMock) EnqueueAfterCalls

func (mock *PipelineControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPipelineController.EnqueueAfterCalls())

func (*PipelineControllerMock) EnqueueCalls

func (mock *PipelineControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPipelineController.EnqueueCalls())

func (*PipelineControllerMock) Generic

Generic calls GenericFunc.

func (*PipelineControllerMock) GenericCalls

func (mock *PipelineControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPipelineController.GenericCalls())

func (*PipelineControllerMock) Informer

Informer calls InformerFunc.

func (*PipelineControllerMock) InformerCalls

func (mock *PipelineControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPipelineController.InformerCalls())

func (*PipelineControllerMock) Lister

func (mock *PipelineControllerMock) Lister() v3.PipelineLister

Lister calls ListerFunc.

func (*PipelineControllerMock) ListerCalls

func (mock *PipelineControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPipelineController.ListerCalls())

func (*PipelineControllerMock) Start

func (mock *PipelineControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*PipelineControllerMock) StartCalls

func (mock *PipelineControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPipelineController.StartCalls())

func (*PipelineControllerMock) Sync

func (mock *PipelineControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*PipelineControllerMock) SyncCalls

func (mock *PipelineControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPipelineController.SyncCalls())

type PipelineExecutionControllerMock

type PipelineExecutionControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineExecutionHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.PipelineExecutionHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineExecutionHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.PipelineExecutionHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.PipelineExecutionLister

	// 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
}

PipelineExecutionControllerMock is a mock implementation of PipelineExecutionController.

    func TestSomethingThatUsesPipelineExecutionController(t *testing.T) {

        // make and configure a mocked PipelineExecutionController
        mockedPipelineExecutionController := &PipelineExecutionControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.PipelineExecutionLister {
	               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 mockedPipelineExecutionController in code that requires PipelineExecutionController
        // and then make assertions.

    }

func (*PipelineExecutionControllerMock) AddClusterScopedFeatureHandler

func (mock *PipelineExecutionControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineExecutionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PipelineExecutionControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PipelineExecutionControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PipelineExecutionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPipelineExecutionController.AddClusterScopedFeatureHandlerCalls())

func (*PipelineExecutionControllerMock) AddClusterScopedHandler

func (mock *PipelineExecutionControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.PipelineExecutionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PipelineExecutionControllerMock) AddClusterScopedHandlerCalls

func (mock *PipelineExecutionControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PipelineExecutionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPipelineExecutionController.AddClusterScopedHandlerCalls())

func (*PipelineExecutionControllerMock) AddFeatureHandler

func (mock *PipelineExecutionControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PipelineExecutionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PipelineExecutionControllerMock) AddFeatureHandlerCalls

func (mock *PipelineExecutionControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PipelineExecutionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPipelineExecutionController.AddFeatureHandlerCalls())

func (*PipelineExecutionControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PipelineExecutionControllerMock) AddHandlerCalls

func (mock *PipelineExecutionControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.PipelineExecutionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPipelineExecutionController.AddHandlerCalls())

func (*PipelineExecutionControllerMock) Enqueue

func (mock *PipelineExecutionControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*PipelineExecutionControllerMock) EnqueueAfter

func (mock *PipelineExecutionControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PipelineExecutionControllerMock) EnqueueAfterCalls

func (mock *PipelineExecutionControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPipelineExecutionController.EnqueueAfterCalls())

func (*PipelineExecutionControllerMock) EnqueueCalls

func (mock *PipelineExecutionControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPipelineExecutionController.EnqueueCalls())

func (*PipelineExecutionControllerMock) Generic

Generic calls GenericFunc.

func (*PipelineExecutionControllerMock) GenericCalls

func (mock *PipelineExecutionControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPipelineExecutionController.GenericCalls())

func (*PipelineExecutionControllerMock) Informer

Informer calls InformerFunc.

func (*PipelineExecutionControllerMock) InformerCalls

func (mock *PipelineExecutionControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPipelineExecutionController.InformerCalls())

func (*PipelineExecutionControllerMock) Lister

Lister calls ListerFunc.

func (*PipelineExecutionControllerMock) ListerCalls

func (mock *PipelineExecutionControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPipelineExecutionController.ListerCalls())

func (*PipelineExecutionControllerMock) Start

func (mock *PipelineExecutionControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*PipelineExecutionControllerMock) StartCalls

func (mock *PipelineExecutionControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPipelineExecutionController.StartCalls())

func (*PipelineExecutionControllerMock) Sync

Sync calls SyncFunc.

func (*PipelineExecutionControllerMock) SyncCalls

func (mock *PipelineExecutionControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPipelineExecutionController.SyncCalls())

type PipelineExecutionInterfaceMock

type PipelineExecutionInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineExecutionHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineExecutionLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.PipelineExecutionHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineExecutionLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineExecutionHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineExecutionLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.PipelineExecutionHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.PipelineExecutionLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.PipelineExecutionController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.PipelineExecution) (*v3.PipelineExecution, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.PipelineExecution, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.PipelineExecution, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.PipelineExecutionList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.PipelineExecutionList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.PipelineExecution) (*v3.PipelineExecution, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PipelineExecutionInterfaceMock is a mock implementation of PipelineExecutionInterface.

    func TestSomethingThatUsesPipelineExecutionInterface(t *testing.T) {

        // make and configure a mocked PipelineExecutionInterface
        mockedPipelineExecutionInterface := &PipelineExecutionInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineExecutionLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineExecutionLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineExecutionLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PipelineExecutionHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PipelineExecutionLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PipelineExecutionController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.PipelineExecution) (*v3.PipelineExecution, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.PipelineExecution, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.PipelineExecution, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PipelineExecutionList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PipelineExecutionList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.PipelineExecution) (*v3.PipelineExecution, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPipelineExecutionInterface in code that requires PipelineExecutionInterface
        // and then make assertions.

    }

func (*PipelineExecutionInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineExecutionHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PipelineExecutionInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PipelineExecutionHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPipelineExecutionInterface.AddClusterScopedFeatureHandlerCalls())

func (*PipelineExecutionInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineExecutionLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PipelineExecutionInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PipelineExecutionLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPipelineExecutionInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PipelineExecutionInterfaceMock) AddClusterScopedHandler

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.PipelineExecutionHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PipelineExecutionInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PipelineExecutionHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPipelineExecutionInterface.AddClusterScopedHandlerCalls())

func (*PipelineExecutionInterfaceMock) AddClusterScopedLifecycle

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineExecutionLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PipelineExecutionInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PipelineExecutionInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PipelineExecutionLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPipelineExecutionInterface.AddClusterScopedLifecycleCalls())

func (*PipelineExecutionInterfaceMock) AddFeatureHandler

func (mock *PipelineExecutionInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PipelineExecutionHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PipelineExecutionInterfaceMock) AddFeatureHandlerCalls

func (mock *PipelineExecutionInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PipelineExecutionHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPipelineExecutionInterface.AddFeatureHandlerCalls())

func (*PipelineExecutionInterfaceMock) AddFeatureLifecycle

func (mock *PipelineExecutionInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineExecutionLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PipelineExecutionInterfaceMock) AddFeatureLifecycleCalls

func (mock *PipelineExecutionInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PipelineExecutionLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPipelineExecutionInterface.AddFeatureLifecycleCalls())

func (*PipelineExecutionInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PipelineExecutionInterfaceMock) AddHandlerCalls

func (mock *PipelineExecutionInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.PipelineExecutionHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPipelineExecutionInterface.AddHandlerCalls())

func (*PipelineExecutionInterfaceMock) AddLifecycle

func (mock *PipelineExecutionInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.PipelineExecutionLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*PipelineExecutionInterfaceMock) AddLifecycleCalls

func (mock *PipelineExecutionInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.PipelineExecutionLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPipelineExecutionInterface.AddLifecycleCalls())

func (*PipelineExecutionInterfaceMock) Controller

Controller calls ControllerFunc.

func (*PipelineExecutionInterfaceMock) ControllerCalls

func (mock *PipelineExecutionInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPipelineExecutionInterface.ControllerCalls())

func (*PipelineExecutionInterfaceMock) Create

Create calls CreateFunc.

func (*PipelineExecutionInterfaceMock) CreateCalls

func (mock *PipelineExecutionInterfaceMock) CreateCalls() []struct {
	In1 *v3.PipelineExecution
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPipelineExecutionInterface.CreateCalls())

func (*PipelineExecutionInterfaceMock) Delete

func (mock *PipelineExecutionInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*PipelineExecutionInterfaceMock) DeleteCalls

func (mock *PipelineExecutionInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPipelineExecutionInterface.DeleteCalls())

func (*PipelineExecutionInterfaceMock) DeleteCollection

func (mock *PipelineExecutionInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PipelineExecutionInterfaceMock) DeleteCollectionCalls

func (mock *PipelineExecutionInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPipelineExecutionInterface.DeleteCollectionCalls())

func (*PipelineExecutionInterfaceMock) DeleteNamespaced

func (mock *PipelineExecutionInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PipelineExecutionInterfaceMock) DeleteNamespacedCalls

func (mock *PipelineExecutionInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPipelineExecutionInterface.DeleteNamespacedCalls())

func (*PipelineExecutionInterfaceMock) Get

Get calls GetFunc.

func (*PipelineExecutionInterfaceMock) GetCalls

func (mock *PipelineExecutionInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPipelineExecutionInterface.GetCalls())

func (*PipelineExecutionInterfaceMock) GetNamespaced

func (mock *PipelineExecutionInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.PipelineExecution, error)

GetNamespaced calls GetNamespacedFunc.

func (*PipelineExecutionInterfaceMock) GetNamespacedCalls

func (mock *PipelineExecutionInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPipelineExecutionInterface.GetNamespacedCalls())

func (*PipelineExecutionInterfaceMock) List

List calls ListFunc.

func (*PipelineExecutionInterfaceMock) ListCalls

func (mock *PipelineExecutionInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPipelineExecutionInterface.ListCalls())

func (*PipelineExecutionInterfaceMock) ListNamespaced

func (mock *PipelineExecutionInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.PipelineExecutionList, error)

ListNamespaced calls ListNamespacedFunc.

func (*PipelineExecutionInterfaceMock) ListNamespacedCalls

func (mock *PipelineExecutionInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPipelineExecutionInterface.ListNamespacedCalls())

func (*PipelineExecutionInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PipelineExecutionInterfaceMock) ObjectClientCalls

func (mock *PipelineExecutionInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPipelineExecutionInterface.ObjectClientCalls())

func (*PipelineExecutionInterfaceMock) Update

Update calls UpdateFunc.

func (*PipelineExecutionInterfaceMock) UpdateCalls

func (mock *PipelineExecutionInterfaceMock) UpdateCalls() []struct {
	In1 *v3.PipelineExecution
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPipelineExecutionInterface.UpdateCalls())

func (*PipelineExecutionInterfaceMock) Watch

Watch calls WatchFunc.

func (*PipelineExecutionInterfaceMock) WatchCalls

func (mock *PipelineExecutionInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPipelineExecutionInterface.WatchCalls())

type PipelineExecutionListerMock

type PipelineExecutionListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.PipelineExecution, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.PipelineExecution, error)
	// contains filtered or unexported fields
}

PipelineExecutionListerMock is a mock implementation of PipelineExecutionLister.

    func TestSomethingThatUsesPipelineExecutionLister(t *testing.T) {

        // make and configure a mocked PipelineExecutionLister
        mockedPipelineExecutionLister := &PipelineExecutionListerMock{
            GetFunc: func(namespace string, name string) (*v3.PipelineExecution, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.PipelineExecution, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPipelineExecutionLister in code that requires PipelineExecutionLister
        // and then make assertions.

    }

func (*PipelineExecutionListerMock) Get

func (mock *PipelineExecutionListerMock) Get(namespace string, name string) (*v3.PipelineExecution, error)

Get calls GetFunc.

func (*PipelineExecutionListerMock) GetCalls

func (mock *PipelineExecutionListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPipelineExecutionLister.GetCalls())

func (*PipelineExecutionListerMock) List

func (mock *PipelineExecutionListerMock) List(namespace string, selector labels.Selector) ([]*v3.PipelineExecution, error)

List calls ListFunc.

func (*PipelineExecutionListerMock) ListCalls

func (mock *PipelineExecutionListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPipelineExecutionLister.ListCalls())

type PipelineExecutionsGetterMock

type PipelineExecutionsGetterMock struct {
	// PipelineExecutionsFunc mocks the PipelineExecutions method.
	PipelineExecutionsFunc func(namespace string) v3.PipelineExecutionInterface
	// contains filtered or unexported fields
}

PipelineExecutionsGetterMock is a mock implementation of PipelineExecutionsGetter.

    func TestSomethingThatUsesPipelineExecutionsGetter(t *testing.T) {

        // make and configure a mocked PipelineExecutionsGetter
        mockedPipelineExecutionsGetter := &PipelineExecutionsGetterMock{
            PipelineExecutionsFunc: func(namespace string) v3.PipelineExecutionInterface {
	               panic("mock out the PipelineExecutions method")
            },
        }

        // use mockedPipelineExecutionsGetter in code that requires PipelineExecutionsGetter
        // and then make assertions.

    }

func (*PipelineExecutionsGetterMock) PipelineExecutions

func (mock *PipelineExecutionsGetterMock) PipelineExecutions(namespace string) v3.PipelineExecutionInterface

PipelineExecutions calls PipelineExecutionsFunc.

func (*PipelineExecutionsGetterMock) PipelineExecutionsCalls

func (mock *PipelineExecutionsGetterMock) PipelineExecutionsCalls() []struct {
	Namespace string
}

PipelineExecutionsCalls gets all the calls that were made to PipelineExecutions. Check the length with:

len(mockedPipelineExecutionsGetter.PipelineExecutionsCalls())

type PipelineInterfaceMock

type PipelineInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.PipelineHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.PipelineHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.PipelineLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.PipelineController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Pipeline) (*v3.Pipeline, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.Pipeline, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Pipeline, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.PipelineList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.PipelineList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Pipeline) (*v3.Pipeline, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PipelineInterfaceMock is a mock implementation of PipelineInterface.

    func TestSomethingThatUsesPipelineInterface(t *testing.T) {

        // make and configure a mocked PipelineInterface
        mockedPipelineInterface := &PipelineInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PipelineHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PipelineHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PipelineLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PipelineController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Pipeline) (*v3.Pipeline, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.Pipeline, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Pipeline, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PipelineList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PipelineList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Pipeline) (*v3.Pipeline, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPipelineInterface in code that requires PipelineInterface
        // and then make assertions.

    }

func (*PipelineInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PipelineInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PipelineInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PipelineInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PipelineHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPipelineInterface.AddClusterScopedFeatureHandlerCalls())

func (*PipelineInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PipelineInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PipelineInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PipelineInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PipelineLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPipelineInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PipelineInterfaceMock) AddClusterScopedHandler

func (mock *PipelineInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.PipelineHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PipelineInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PipelineInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PipelineHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPipelineInterface.AddClusterScopedHandlerCalls())

func (*PipelineInterfaceMock) AddClusterScopedLifecycle

func (mock *PipelineInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PipelineInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PipelineInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PipelineLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPipelineInterface.AddClusterScopedLifecycleCalls())

func (*PipelineInterfaceMock) AddFeatureHandler

func (mock *PipelineInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PipelineHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PipelineInterfaceMock) AddFeatureHandlerCalls

func (mock *PipelineInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PipelineHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPipelineInterface.AddFeatureHandlerCalls())

func (*PipelineInterfaceMock) AddFeatureLifecycle

func (mock *PipelineInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PipelineInterfaceMock) AddFeatureLifecycleCalls

func (mock *PipelineInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PipelineLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPipelineInterface.AddFeatureLifecycleCalls())

func (*PipelineInterfaceMock) AddHandler

func (mock *PipelineInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.PipelineHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*PipelineInterfaceMock) AddHandlerCalls

func (mock *PipelineInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.PipelineHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPipelineInterface.AddHandlerCalls())

func (*PipelineInterfaceMock) AddLifecycle

func (mock *PipelineInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.PipelineLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*PipelineInterfaceMock) AddLifecycleCalls

func (mock *PipelineInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.PipelineLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPipelineInterface.AddLifecycleCalls())

func (*PipelineInterfaceMock) Controller

func (mock *PipelineInterfaceMock) Controller() v3.PipelineController

Controller calls ControllerFunc.

func (*PipelineInterfaceMock) ControllerCalls

func (mock *PipelineInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPipelineInterface.ControllerCalls())

func (*PipelineInterfaceMock) Create

func (mock *PipelineInterfaceMock) Create(in1 *v3.Pipeline) (*v3.Pipeline, error)

Create calls CreateFunc.

func (*PipelineInterfaceMock) CreateCalls

func (mock *PipelineInterfaceMock) CreateCalls() []struct {
	In1 *v3.Pipeline
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPipelineInterface.CreateCalls())

func (*PipelineInterfaceMock) Delete

func (mock *PipelineInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*PipelineInterfaceMock) DeleteCalls

func (mock *PipelineInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPipelineInterface.DeleteCalls())

func (*PipelineInterfaceMock) DeleteCollection

func (mock *PipelineInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PipelineInterfaceMock) DeleteCollectionCalls

func (mock *PipelineInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPipelineInterface.DeleteCollectionCalls())

func (*PipelineInterfaceMock) DeleteNamespaced

func (mock *PipelineInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PipelineInterfaceMock) DeleteNamespacedCalls

func (mock *PipelineInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPipelineInterface.DeleteNamespacedCalls())

func (*PipelineInterfaceMock) Get

func (mock *PipelineInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Pipeline, error)

Get calls GetFunc.

func (*PipelineInterfaceMock) GetCalls

func (mock *PipelineInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPipelineInterface.GetCalls())

func (*PipelineInterfaceMock) GetNamespaced

func (mock *PipelineInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Pipeline, error)

GetNamespaced calls GetNamespacedFunc.

func (*PipelineInterfaceMock) GetNamespacedCalls

func (mock *PipelineInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPipelineInterface.GetNamespacedCalls())

func (*PipelineInterfaceMock) List

List calls ListFunc.

func (*PipelineInterfaceMock) ListCalls

func (mock *PipelineInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPipelineInterface.ListCalls())

func (*PipelineInterfaceMock) ListNamespaced

func (mock *PipelineInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.PipelineList, error)

ListNamespaced calls ListNamespacedFunc.

func (*PipelineInterfaceMock) ListNamespacedCalls

func (mock *PipelineInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPipelineInterface.ListNamespacedCalls())

func (*PipelineInterfaceMock) ObjectClient

func (mock *PipelineInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PipelineInterfaceMock) ObjectClientCalls

func (mock *PipelineInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPipelineInterface.ObjectClientCalls())

func (*PipelineInterfaceMock) Update

func (mock *PipelineInterfaceMock) Update(in1 *v3.Pipeline) (*v3.Pipeline, error)

Update calls UpdateFunc.

func (*PipelineInterfaceMock) UpdateCalls

func (mock *PipelineInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Pipeline
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPipelineInterface.UpdateCalls())

func (*PipelineInterfaceMock) Watch

Watch calls WatchFunc.

func (*PipelineInterfaceMock) WatchCalls

func (mock *PipelineInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPipelineInterface.WatchCalls())

type PipelineListerMock

type PipelineListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Pipeline, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Pipeline, error)
	// contains filtered or unexported fields
}

PipelineListerMock is a mock implementation of PipelineLister.

    func TestSomethingThatUsesPipelineLister(t *testing.T) {

        // make and configure a mocked PipelineLister
        mockedPipelineLister := &PipelineListerMock{
            GetFunc: func(namespace string, name string) (*v3.Pipeline, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Pipeline, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPipelineLister in code that requires PipelineLister
        // and then make assertions.

    }

func (*PipelineListerMock) Get

func (mock *PipelineListerMock) Get(namespace string, name string) (*v3.Pipeline, error)

Get calls GetFunc.

func (*PipelineListerMock) GetCalls

func (mock *PipelineListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPipelineLister.GetCalls())

func (*PipelineListerMock) List

func (mock *PipelineListerMock) List(namespace string, selector labels.Selector) ([]*v3.Pipeline, error)

List calls ListFunc.

func (*PipelineListerMock) ListCalls

func (mock *PipelineListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPipelineLister.ListCalls())

type PipelineSettingControllerMock

type PipelineSettingControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineSettingHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.PipelineSettingHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineSettingHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.PipelineSettingHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.PipelineSettingLister

	// 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
}

PipelineSettingControllerMock is a mock implementation of PipelineSettingController.

    func TestSomethingThatUsesPipelineSettingController(t *testing.T) {

        // make and configure a mocked PipelineSettingController
        mockedPipelineSettingController := &PipelineSettingControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.PipelineSettingLister {
	               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 mockedPipelineSettingController in code that requires PipelineSettingController
        // and then make assertions.

    }

func (*PipelineSettingControllerMock) AddClusterScopedFeatureHandler

func (mock *PipelineSettingControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.PipelineSettingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PipelineSettingControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *PipelineSettingControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.PipelineSettingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPipelineSettingController.AddClusterScopedFeatureHandlerCalls())

func (*PipelineSettingControllerMock) AddClusterScopedHandler

func (mock *PipelineSettingControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.PipelineSettingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PipelineSettingControllerMock) AddClusterScopedHandlerCalls

func (mock *PipelineSettingControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.PipelineSettingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPipelineSettingController.AddClusterScopedHandlerCalls())

func (*PipelineSettingControllerMock) AddFeatureHandler

func (mock *PipelineSettingControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PipelineSettingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PipelineSettingControllerMock) AddFeatureHandlerCalls

func (mock *PipelineSettingControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PipelineSettingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPipelineSettingController.AddFeatureHandlerCalls())

func (*PipelineSettingControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PipelineSettingControllerMock) AddHandlerCalls

func (mock *PipelineSettingControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.PipelineSettingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPipelineSettingController.AddHandlerCalls())

func (*PipelineSettingControllerMock) Enqueue

func (mock *PipelineSettingControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*PipelineSettingControllerMock) EnqueueAfter

func (mock *PipelineSettingControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*PipelineSettingControllerMock) EnqueueAfterCalls

func (mock *PipelineSettingControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedPipelineSettingController.EnqueueAfterCalls())

func (*PipelineSettingControllerMock) EnqueueCalls

func (mock *PipelineSettingControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedPipelineSettingController.EnqueueCalls())

func (*PipelineSettingControllerMock) Generic

Generic calls GenericFunc.

func (*PipelineSettingControllerMock) GenericCalls

func (mock *PipelineSettingControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedPipelineSettingController.GenericCalls())

func (*PipelineSettingControllerMock) Informer

Informer calls InformerFunc.

func (*PipelineSettingControllerMock) InformerCalls

func (mock *PipelineSettingControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedPipelineSettingController.InformerCalls())

func (*PipelineSettingControllerMock) Lister

Lister calls ListerFunc.

func (*PipelineSettingControllerMock) ListerCalls

func (mock *PipelineSettingControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedPipelineSettingController.ListerCalls())

func (*PipelineSettingControllerMock) Start

func (mock *PipelineSettingControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*PipelineSettingControllerMock) StartCalls

func (mock *PipelineSettingControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedPipelineSettingController.StartCalls())

func (*PipelineSettingControllerMock) Sync

Sync calls SyncFunc.

func (*PipelineSettingControllerMock) SyncCalls

func (mock *PipelineSettingControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedPipelineSettingController.SyncCalls())

type PipelineSettingInterfaceMock

type PipelineSettingInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineSettingHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineSettingLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.PipelineSettingHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineSettingLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineSettingHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineSettingLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.PipelineSettingHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.PipelineSettingLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.PipelineSettingController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.PipelineSetting) (*v3.PipelineSetting, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.PipelineSetting, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.PipelineSetting, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.PipelineSettingList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.PipelineSettingList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.PipelineSetting) (*v3.PipelineSetting, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

PipelineSettingInterfaceMock is a mock implementation of PipelineSettingInterface.

    func TestSomethingThatUsesPipelineSettingInterface(t *testing.T) {

        // make and configure a mocked PipelineSettingInterface
        mockedPipelineSettingInterface := &PipelineSettingInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineSettingLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineSettingLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineSettingLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.PipelineSettingHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.PipelineSettingLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.PipelineSettingController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.PipelineSetting) (*v3.PipelineSetting, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.PipelineSetting, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.PipelineSetting, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.PipelineSettingList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.PipelineSettingList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.PipelineSetting) (*v3.PipelineSetting, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedPipelineSettingInterface in code that requires PipelineSettingInterface
        // and then make assertions.

    }

func (*PipelineSettingInterfaceMock) AddClusterScopedFeatureHandler

func (mock *PipelineSettingInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.PipelineSettingHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*PipelineSettingInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *PipelineSettingInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.PipelineSettingHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedPipelineSettingInterface.AddClusterScopedFeatureHandlerCalls())

func (*PipelineSettingInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *PipelineSettingInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.PipelineSettingLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*PipelineSettingInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *PipelineSettingInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.PipelineSettingLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedPipelineSettingInterface.AddClusterScopedFeatureLifecycleCalls())

func (*PipelineSettingInterfaceMock) AddClusterScopedHandler

func (mock *PipelineSettingInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.PipelineSettingHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*PipelineSettingInterfaceMock) AddClusterScopedHandlerCalls

func (mock *PipelineSettingInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.PipelineSettingHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedPipelineSettingInterface.AddClusterScopedHandlerCalls())

func (*PipelineSettingInterfaceMock) AddClusterScopedLifecycle

func (mock *PipelineSettingInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.PipelineSettingLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*PipelineSettingInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *PipelineSettingInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.PipelineSettingLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedPipelineSettingInterface.AddClusterScopedLifecycleCalls())

func (*PipelineSettingInterfaceMock) AddFeatureHandler

func (mock *PipelineSettingInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.PipelineSettingHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*PipelineSettingInterfaceMock) AddFeatureHandlerCalls

func (mock *PipelineSettingInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.PipelineSettingHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedPipelineSettingInterface.AddFeatureHandlerCalls())

func (*PipelineSettingInterfaceMock) AddFeatureLifecycle

func (mock *PipelineSettingInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.PipelineSettingLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*PipelineSettingInterfaceMock) AddFeatureLifecycleCalls

func (mock *PipelineSettingInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.PipelineSettingLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedPipelineSettingInterface.AddFeatureLifecycleCalls())

func (*PipelineSettingInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*PipelineSettingInterfaceMock) AddHandlerCalls

func (mock *PipelineSettingInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.PipelineSettingHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedPipelineSettingInterface.AddHandlerCalls())

func (*PipelineSettingInterfaceMock) AddLifecycle

func (mock *PipelineSettingInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.PipelineSettingLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*PipelineSettingInterfaceMock) AddLifecycleCalls

func (mock *PipelineSettingInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.PipelineSettingLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedPipelineSettingInterface.AddLifecycleCalls())

func (*PipelineSettingInterfaceMock) Controller

Controller calls ControllerFunc.

func (*PipelineSettingInterfaceMock) ControllerCalls

func (mock *PipelineSettingInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedPipelineSettingInterface.ControllerCalls())

func (*PipelineSettingInterfaceMock) Create

Create calls CreateFunc.

func (*PipelineSettingInterfaceMock) CreateCalls

func (mock *PipelineSettingInterfaceMock) CreateCalls() []struct {
	In1 *v3.PipelineSetting
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedPipelineSettingInterface.CreateCalls())

func (*PipelineSettingInterfaceMock) Delete

func (mock *PipelineSettingInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*PipelineSettingInterfaceMock) DeleteCalls

func (mock *PipelineSettingInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedPipelineSettingInterface.DeleteCalls())

func (*PipelineSettingInterfaceMock) DeleteCollection

func (mock *PipelineSettingInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*PipelineSettingInterfaceMock) DeleteCollectionCalls

func (mock *PipelineSettingInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedPipelineSettingInterface.DeleteCollectionCalls())

func (*PipelineSettingInterfaceMock) DeleteNamespaced

func (mock *PipelineSettingInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*PipelineSettingInterfaceMock) DeleteNamespacedCalls

func (mock *PipelineSettingInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedPipelineSettingInterface.DeleteNamespacedCalls())

func (*PipelineSettingInterfaceMock) Get

Get calls GetFunc.

func (*PipelineSettingInterfaceMock) GetCalls

func (mock *PipelineSettingInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPipelineSettingInterface.GetCalls())

func (*PipelineSettingInterfaceMock) GetNamespaced

func (mock *PipelineSettingInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.PipelineSetting, error)

GetNamespaced calls GetNamespacedFunc.

func (*PipelineSettingInterfaceMock) GetNamespacedCalls

func (mock *PipelineSettingInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedPipelineSettingInterface.GetNamespacedCalls())

func (*PipelineSettingInterfaceMock) List

List calls ListFunc.

func (*PipelineSettingInterfaceMock) ListCalls

func (mock *PipelineSettingInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPipelineSettingInterface.ListCalls())

func (*PipelineSettingInterfaceMock) ListNamespaced

func (mock *PipelineSettingInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.PipelineSettingList, error)

ListNamespaced calls ListNamespacedFunc.

func (*PipelineSettingInterfaceMock) ListNamespacedCalls

func (mock *PipelineSettingInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedPipelineSettingInterface.ListNamespacedCalls())

func (*PipelineSettingInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*PipelineSettingInterfaceMock) ObjectClientCalls

func (mock *PipelineSettingInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedPipelineSettingInterface.ObjectClientCalls())

func (*PipelineSettingInterfaceMock) Update

Update calls UpdateFunc.

func (*PipelineSettingInterfaceMock) UpdateCalls

func (mock *PipelineSettingInterfaceMock) UpdateCalls() []struct {
	In1 *v3.PipelineSetting
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedPipelineSettingInterface.UpdateCalls())

func (*PipelineSettingInterfaceMock) Watch

Watch calls WatchFunc.

func (*PipelineSettingInterfaceMock) WatchCalls

func (mock *PipelineSettingInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedPipelineSettingInterface.WatchCalls())

type PipelineSettingListerMock

type PipelineSettingListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.PipelineSetting, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.PipelineSetting, error)
	// contains filtered or unexported fields
}

PipelineSettingListerMock is a mock implementation of PipelineSettingLister.

    func TestSomethingThatUsesPipelineSettingLister(t *testing.T) {

        // make and configure a mocked PipelineSettingLister
        mockedPipelineSettingLister := &PipelineSettingListerMock{
            GetFunc: func(namespace string, name string) (*v3.PipelineSetting, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.PipelineSetting, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedPipelineSettingLister in code that requires PipelineSettingLister
        // and then make assertions.

    }

func (*PipelineSettingListerMock) Get

func (mock *PipelineSettingListerMock) Get(namespace string, name string) (*v3.PipelineSetting, error)

Get calls GetFunc.

func (*PipelineSettingListerMock) GetCalls

func (mock *PipelineSettingListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedPipelineSettingLister.GetCalls())

func (*PipelineSettingListerMock) List

func (mock *PipelineSettingListerMock) List(namespace string, selector labels.Selector) ([]*v3.PipelineSetting, error)

List calls ListFunc.

func (*PipelineSettingListerMock) ListCalls

func (mock *PipelineSettingListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedPipelineSettingLister.ListCalls())

type PipelineSettingsGetterMock

type PipelineSettingsGetterMock struct {
	// PipelineSettingsFunc mocks the PipelineSettings method.
	PipelineSettingsFunc func(namespace string) v3.PipelineSettingInterface
	// contains filtered or unexported fields
}

PipelineSettingsGetterMock is a mock implementation of PipelineSettingsGetter.

    func TestSomethingThatUsesPipelineSettingsGetter(t *testing.T) {

        // make and configure a mocked PipelineSettingsGetter
        mockedPipelineSettingsGetter := &PipelineSettingsGetterMock{
            PipelineSettingsFunc: func(namespace string) v3.PipelineSettingInterface {
	               panic("mock out the PipelineSettings method")
            },
        }

        // use mockedPipelineSettingsGetter in code that requires PipelineSettingsGetter
        // and then make assertions.

    }

func (*PipelineSettingsGetterMock) PipelineSettings

func (mock *PipelineSettingsGetterMock) PipelineSettings(namespace string) v3.PipelineSettingInterface

PipelineSettings calls PipelineSettingsFunc.

func (*PipelineSettingsGetterMock) PipelineSettingsCalls

func (mock *PipelineSettingsGetterMock) PipelineSettingsCalls() []struct {
	Namespace string
}

PipelineSettingsCalls gets all the calls that were made to PipelineSettings. Check the length with:

len(mockedPipelineSettingsGetter.PipelineSettingsCalls())

type PipelinesGetterMock

type PipelinesGetterMock struct {
	// PipelinesFunc mocks the Pipelines method.
	PipelinesFunc func(namespace string) v3.PipelineInterface
	// contains filtered or unexported fields
}

PipelinesGetterMock is a mock implementation of PipelinesGetter.

    func TestSomethingThatUsesPipelinesGetter(t *testing.T) {

        // make and configure a mocked PipelinesGetter
        mockedPipelinesGetter := &PipelinesGetterMock{
            PipelinesFunc: func(namespace string) v3.PipelineInterface {
	               panic("mock out the Pipelines method")
            },
        }

        // use mockedPipelinesGetter in code that requires PipelinesGetter
        // and then make assertions.

    }

func (*PipelinesGetterMock) Pipelines

func (mock *PipelinesGetterMock) Pipelines(namespace string) v3.PipelineInterface

Pipelines calls PipelinesFunc.

func (*PipelinesGetterMock) PipelinesCalls

func (mock *PipelinesGetterMock) PipelinesCalls() []struct {
	Namespace string
}

PipelinesCalls gets all the calls that were made to Pipelines. Check the length with:

len(mockedPipelinesGetter.PipelinesCalls())

type SSHAuthControllerMock

type SSHAuthControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SSHAuthHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.SSHAuthHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SSHAuthHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.SSHAuthHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.SSHAuthLister

	// 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
}

SSHAuthControllerMock is a mock implementation of SSHAuthController.

    func TestSomethingThatUsesSSHAuthController(t *testing.T) {

        // make and configure a mocked SSHAuthController
        mockedSSHAuthController := &SSHAuthControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.SSHAuthLister {
	               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 mockedSSHAuthController in code that requires SSHAuthController
        // and then make assertions.

    }

func (*SSHAuthControllerMock) AddClusterScopedFeatureHandler

func (mock *SSHAuthControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SSHAuthHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SSHAuthControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *SSHAuthControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.SSHAuthHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSSHAuthController.AddClusterScopedFeatureHandlerCalls())

func (*SSHAuthControllerMock) AddClusterScopedHandler

func (mock *SSHAuthControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.SSHAuthHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SSHAuthControllerMock) AddClusterScopedHandlerCalls

func (mock *SSHAuthControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.SSHAuthHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSSHAuthController.AddClusterScopedHandlerCalls())

func (*SSHAuthControllerMock) AddFeatureHandler

func (mock *SSHAuthControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SSHAuthHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SSHAuthControllerMock) AddFeatureHandlerCalls

func (mock *SSHAuthControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SSHAuthHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSSHAuthController.AddFeatureHandlerCalls())

func (*SSHAuthControllerMock) AddHandler

func (mock *SSHAuthControllerMock) AddHandler(ctx context.Context, name string, handler v3.SSHAuthHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*SSHAuthControllerMock) AddHandlerCalls

func (mock *SSHAuthControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.SSHAuthHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSSHAuthController.AddHandlerCalls())

func (*SSHAuthControllerMock) Enqueue

func (mock *SSHAuthControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*SSHAuthControllerMock) EnqueueAfter

func (mock *SSHAuthControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*SSHAuthControllerMock) EnqueueAfterCalls

func (mock *SSHAuthControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedSSHAuthController.EnqueueAfterCalls())

func (*SSHAuthControllerMock) EnqueueCalls

func (mock *SSHAuthControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedSSHAuthController.EnqueueCalls())

func (*SSHAuthControllerMock) Generic

Generic calls GenericFunc.

func (*SSHAuthControllerMock) GenericCalls

func (mock *SSHAuthControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedSSHAuthController.GenericCalls())

func (*SSHAuthControllerMock) Informer

Informer calls InformerFunc.

func (*SSHAuthControllerMock) InformerCalls

func (mock *SSHAuthControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedSSHAuthController.InformerCalls())

func (*SSHAuthControllerMock) Lister

func (mock *SSHAuthControllerMock) Lister() v3.SSHAuthLister

Lister calls ListerFunc.

func (*SSHAuthControllerMock) ListerCalls

func (mock *SSHAuthControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedSSHAuthController.ListerCalls())

func (*SSHAuthControllerMock) Start

func (mock *SSHAuthControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*SSHAuthControllerMock) StartCalls

func (mock *SSHAuthControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedSSHAuthController.StartCalls())

func (*SSHAuthControllerMock) Sync

func (mock *SSHAuthControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*SSHAuthControllerMock) SyncCalls

func (mock *SSHAuthControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedSSHAuthController.SyncCalls())

type SSHAuthInterfaceMock

type SSHAuthInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SSHAuthHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SSHAuthLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.SSHAuthHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.SSHAuthLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SSHAuthHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SSHAuthLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.SSHAuthHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.SSHAuthLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.SSHAuthController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.SSHAuth) (*v3.SSHAuth, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.SSHAuth, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.SSHAuth, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.SSHAuthList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.SSHAuthList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.SSHAuth) (*v3.SSHAuth, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

SSHAuthInterfaceMock is a mock implementation of SSHAuthInterface.

    func TestSomethingThatUsesSSHAuthInterface(t *testing.T) {

        // make and configure a mocked SSHAuthInterface
        mockedSSHAuthInterface := &SSHAuthInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SSHAuthLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.SSHAuthLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SSHAuthLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.SSHAuthHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.SSHAuthLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.SSHAuthController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.SSHAuth) (*v3.SSHAuth, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.SSHAuth, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.SSHAuth, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.SSHAuthList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.SSHAuthList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.SSHAuth) (*v3.SSHAuth, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSSHAuthInterface in code that requires SSHAuthInterface
        // and then make assertions.

    }

func (*SSHAuthInterfaceMock) AddClusterScopedFeatureHandler

func (mock *SSHAuthInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SSHAuthHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SSHAuthInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *SSHAuthInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.SSHAuthHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSSHAuthInterface.AddClusterScopedFeatureHandlerCalls())

func (*SSHAuthInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *SSHAuthInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SSHAuthLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*SSHAuthInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *SSHAuthInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.SSHAuthLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedSSHAuthInterface.AddClusterScopedFeatureLifecycleCalls())

func (*SSHAuthInterfaceMock) AddClusterScopedHandler

func (mock *SSHAuthInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.SSHAuthHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SSHAuthInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SSHAuthInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.SSHAuthHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSSHAuthInterface.AddClusterScopedHandlerCalls())

func (*SSHAuthInterfaceMock) AddClusterScopedLifecycle

func (mock *SSHAuthInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.SSHAuthLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SSHAuthInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SSHAuthInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.SSHAuthLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedSSHAuthInterface.AddClusterScopedLifecycleCalls())

func (*SSHAuthInterfaceMock) AddFeatureHandler

func (mock *SSHAuthInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SSHAuthHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SSHAuthInterfaceMock) AddFeatureHandlerCalls

func (mock *SSHAuthInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SSHAuthHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSSHAuthInterface.AddFeatureHandlerCalls())

func (*SSHAuthInterfaceMock) AddFeatureLifecycle

func (mock *SSHAuthInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.SSHAuthLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*SSHAuthInterfaceMock) AddFeatureLifecycleCalls

func (mock *SSHAuthInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.SSHAuthLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedSSHAuthInterface.AddFeatureLifecycleCalls())

func (*SSHAuthInterfaceMock) AddHandler

func (mock *SSHAuthInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.SSHAuthHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*SSHAuthInterfaceMock) AddHandlerCalls

func (mock *SSHAuthInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.SSHAuthHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSSHAuthInterface.AddHandlerCalls())

func (*SSHAuthInterfaceMock) AddLifecycle

func (mock *SSHAuthInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.SSHAuthLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*SSHAuthInterfaceMock) AddLifecycleCalls

func (mock *SSHAuthInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.SSHAuthLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedSSHAuthInterface.AddLifecycleCalls())

func (*SSHAuthInterfaceMock) Controller

func (mock *SSHAuthInterfaceMock) Controller() v3.SSHAuthController

Controller calls ControllerFunc.

func (*SSHAuthInterfaceMock) ControllerCalls

func (mock *SSHAuthInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedSSHAuthInterface.ControllerCalls())

func (*SSHAuthInterfaceMock) Create

func (mock *SSHAuthInterfaceMock) Create(in1 *v3.SSHAuth) (*v3.SSHAuth, error)

Create calls CreateFunc.

func (*SSHAuthInterfaceMock) CreateCalls

func (mock *SSHAuthInterfaceMock) CreateCalls() []struct {
	In1 *v3.SSHAuth
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedSSHAuthInterface.CreateCalls())

func (*SSHAuthInterfaceMock) Delete

func (mock *SSHAuthInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*SSHAuthInterfaceMock) DeleteCalls

func (mock *SSHAuthInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedSSHAuthInterface.DeleteCalls())

func (*SSHAuthInterfaceMock) DeleteCollection

func (mock *SSHAuthInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SSHAuthInterfaceMock) DeleteCollectionCalls

func (mock *SSHAuthInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedSSHAuthInterface.DeleteCollectionCalls())

func (*SSHAuthInterfaceMock) DeleteNamespaced

func (mock *SSHAuthInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SSHAuthInterfaceMock) DeleteNamespacedCalls

func (mock *SSHAuthInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedSSHAuthInterface.DeleteNamespacedCalls())

func (*SSHAuthInterfaceMock) Get

func (mock *SSHAuthInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.SSHAuth, error)

Get calls GetFunc.

func (*SSHAuthInterfaceMock) GetCalls

func (mock *SSHAuthInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSSHAuthInterface.GetCalls())

func (*SSHAuthInterfaceMock) GetNamespaced

func (mock *SSHAuthInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.SSHAuth, error)

GetNamespaced calls GetNamespacedFunc.

func (*SSHAuthInterfaceMock) GetNamespacedCalls

func (mock *SSHAuthInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedSSHAuthInterface.GetNamespacedCalls())

func (*SSHAuthInterfaceMock) List

func (mock *SSHAuthInterfaceMock) List(opts v1.ListOptions) (*v3.SSHAuthList, error)

List calls ListFunc.

func (*SSHAuthInterfaceMock) ListCalls

func (mock *SSHAuthInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSSHAuthInterface.ListCalls())

func (*SSHAuthInterfaceMock) ListNamespaced

func (mock *SSHAuthInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.SSHAuthList, error)

ListNamespaced calls ListNamespacedFunc.

func (*SSHAuthInterfaceMock) ListNamespacedCalls

func (mock *SSHAuthInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedSSHAuthInterface.ListNamespacedCalls())

func (*SSHAuthInterfaceMock) ObjectClient

func (mock *SSHAuthInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*SSHAuthInterfaceMock) ObjectClientCalls

func (mock *SSHAuthInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedSSHAuthInterface.ObjectClientCalls())

func (*SSHAuthInterfaceMock) Update

func (mock *SSHAuthInterfaceMock) Update(in1 *v3.SSHAuth) (*v3.SSHAuth, error)

Update calls UpdateFunc.

func (*SSHAuthInterfaceMock) UpdateCalls

func (mock *SSHAuthInterfaceMock) UpdateCalls() []struct {
	In1 *v3.SSHAuth
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedSSHAuthInterface.UpdateCalls())

func (*SSHAuthInterfaceMock) Watch

func (mock *SSHAuthInterfaceMock) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*SSHAuthInterfaceMock) WatchCalls

func (mock *SSHAuthInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedSSHAuthInterface.WatchCalls())

type SSHAuthListerMock

type SSHAuthListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.SSHAuth, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.SSHAuth, error)
	// contains filtered or unexported fields
}

SSHAuthListerMock is a mock implementation of SSHAuthLister.

    func TestSomethingThatUsesSSHAuthLister(t *testing.T) {

        // make and configure a mocked SSHAuthLister
        mockedSSHAuthLister := &SSHAuthListerMock{
            GetFunc: func(namespace string, name string) (*v3.SSHAuth, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.SSHAuth, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSSHAuthLister in code that requires SSHAuthLister
        // and then make assertions.

    }

func (*SSHAuthListerMock) Get

func (mock *SSHAuthListerMock) Get(namespace string, name string) (*v3.SSHAuth, error)

Get calls GetFunc.

func (*SSHAuthListerMock) GetCalls

func (mock *SSHAuthListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSSHAuthLister.GetCalls())

func (*SSHAuthListerMock) List

func (mock *SSHAuthListerMock) List(namespace string, selector labels.Selector) ([]*v3.SSHAuth, error)

List calls ListFunc.

func (*SSHAuthListerMock) ListCalls

func (mock *SSHAuthListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSSHAuthLister.ListCalls())

type SSHAuthsGetterMock

type SSHAuthsGetterMock struct {
	// SSHAuthsFunc mocks the SSHAuths method.
	SSHAuthsFunc func(namespace string) v3.SSHAuthInterface
	// contains filtered or unexported fields
}

SSHAuthsGetterMock is a mock implementation of SSHAuthsGetter.

    func TestSomethingThatUsesSSHAuthsGetter(t *testing.T) {

        // make and configure a mocked SSHAuthsGetter
        mockedSSHAuthsGetter := &SSHAuthsGetterMock{
            SSHAuthsFunc: func(namespace string) v3.SSHAuthInterface {
	               panic("mock out the SSHAuths method")
            },
        }

        // use mockedSSHAuthsGetter in code that requires SSHAuthsGetter
        // and then make assertions.

    }

func (*SSHAuthsGetterMock) SSHAuths

func (mock *SSHAuthsGetterMock) SSHAuths(namespace string) v3.SSHAuthInterface

SSHAuths calls SSHAuthsFunc.

func (*SSHAuthsGetterMock) SSHAuthsCalls

func (mock *SSHAuthsGetterMock) SSHAuthsCalls() []struct {
	Namespace string
}

SSHAuthsCalls gets all the calls that were made to SSHAuths. Check the length with:

len(mockedSSHAuthsGetter.SSHAuthsCalls())

type ServiceAccountTokenControllerMock

type ServiceAccountTokenControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ServiceAccountTokenHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.ServiceAccountTokenHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ServiceAccountTokenHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.ServiceAccountTokenHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.ServiceAccountTokenLister

	// 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
}

ServiceAccountTokenControllerMock is a mock implementation of ServiceAccountTokenController.

    func TestSomethingThatUsesServiceAccountTokenController(t *testing.T) {

        // make and configure a mocked ServiceAccountTokenController
        mockedServiceAccountTokenController := &ServiceAccountTokenControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.ServiceAccountTokenLister {
	               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 mockedServiceAccountTokenController in code that requires ServiceAccountTokenController
        // and then make assertions.

    }

func (*ServiceAccountTokenControllerMock) AddClusterScopedFeatureHandler

func (mock *ServiceAccountTokenControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.ServiceAccountTokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ServiceAccountTokenControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *ServiceAccountTokenControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.ServiceAccountTokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedServiceAccountTokenController.AddClusterScopedFeatureHandlerCalls())

func (*ServiceAccountTokenControllerMock) AddClusterScopedHandler

func (mock *ServiceAccountTokenControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.ServiceAccountTokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ServiceAccountTokenControllerMock) AddClusterScopedHandlerCalls

func (mock *ServiceAccountTokenControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.ServiceAccountTokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedServiceAccountTokenController.AddClusterScopedHandlerCalls())

func (*ServiceAccountTokenControllerMock) AddFeatureHandler

func (mock *ServiceAccountTokenControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ServiceAccountTokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ServiceAccountTokenControllerMock) AddFeatureHandlerCalls

func (mock *ServiceAccountTokenControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ServiceAccountTokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedServiceAccountTokenController.AddFeatureHandlerCalls())

func (*ServiceAccountTokenControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ServiceAccountTokenControllerMock) AddHandlerCalls

func (mock *ServiceAccountTokenControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.ServiceAccountTokenHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedServiceAccountTokenController.AddHandlerCalls())

func (*ServiceAccountTokenControllerMock) Enqueue

func (mock *ServiceAccountTokenControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*ServiceAccountTokenControllerMock) EnqueueAfter

func (mock *ServiceAccountTokenControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*ServiceAccountTokenControllerMock) EnqueueAfterCalls

func (mock *ServiceAccountTokenControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedServiceAccountTokenController.EnqueueAfterCalls())

func (*ServiceAccountTokenControllerMock) EnqueueCalls

func (mock *ServiceAccountTokenControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedServiceAccountTokenController.EnqueueCalls())

func (*ServiceAccountTokenControllerMock) Generic

Generic calls GenericFunc.

func (*ServiceAccountTokenControllerMock) GenericCalls

func (mock *ServiceAccountTokenControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedServiceAccountTokenController.GenericCalls())

func (*ServiceAccountTokenControllerMock) Informer

Informer calls InformerFunc.

func (*ServiceAccountTokenControllerMock) InformerCalls

func (mock *ServiceAccountTokenControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedServiceAccountTokenController.InformerCalls())

func (*ServiceAccountTokenControllerMock) Lister

Lister calls ListerFunc.

func (*ServiceAccountTokenControllerMock) ListerCalls

func (mock *ServiceAccountTokenControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedServiceAccountTokenController.ListerCalls())

func (*ServiceAccountTokenControllerMock) Start

func (mock *ServiceAccountTokenControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*ServiceAccountTokenControllerMock) StartCalls

func (mock *ServiceAccountTokenControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedServiceAccountTokenController.StartCalls())

func (*ServiceAccountTokenControllerMock) Sync

Sync calls SyncFunc.

func (*ServiceAccountTokenControllerMock) SyncCalls

func (mock *ServiceAccountTokenControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedServiceAccountTokenController.SyncCalls())

type ServiceAccountTokenInterfaceMock

type ServiceAccountTokenInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ServiceAccountTokenHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ServiceAccountTokenLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.ServiceAccountTokenHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.ServiceAccountTokenLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.ServiceAccountTokenHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ServiceAccountTokenLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.ServiceAccountTokenHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.ServiceAccountTokenLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.ServiceAccountTokenController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.ServiceAccountToken) (*v3.ServiceAccountToken, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.ServiceAccountToken, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.ServiceAccountToken, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.ServiceAccountTokenList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.ServiceAccountTokenList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.ServiceAccountToken) (*v3.ServiceAccountToken, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

ServiceAccountTokenInterfaceMock is a mock implementation of ServiceAccountTokenInterface.

    func TestSomethingThatUsesServiceAccountTokenInterface(t *testing.T) {

        // make and configure a mocked ServiceAccountTokenInterface
        mockedServiceAccountTokenInterface := &ServiceAccountTokenInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ServiceAccountTokenLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.ServiceAccountTokenLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.ServiceAccountTokenLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.ServiceAccountTokenHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.ServiceAccountTokenLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.ServiceAccountTokenController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.ServiceAccountToken) (*v3.ServiceAccountToken, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.ServiceAccountToken, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.ServiceAccountToken, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.ServiceAccountTokenList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.ServiceAccountTokenList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.ServiceAccountToken) (*v3.ServiceAccountToken, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedServiceAccountTokenInterface in code that requires ServiceAccountTokenInterface
        // and then make assertions.

    }

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandler

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.ServiceAccountTokenHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.ServiceAccountTokenHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedServiceAccountTokenInterface.AddClusterScopedFeatureHandlerCalls())

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.ServiceAccountTokenLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.ServiceAccountTokenLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedServiceAccountTokenInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedHandler

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.ServiceAccountTokenHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedHandlerCalls

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.ServiceAccountTokenHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedServiceAccountTokenInterface.AddClusterScopedHandlerCalls())

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedLifecycle

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.ServiceAccountTokenLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ServiceAccountTokenInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *ServiceAccountTokenInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.ServiceAccountTokenLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedServiceAccountTokenInterface.AddClusterScopedLifecycleCalls())

func (*ServiceAccountTokenInterfaceMock) AddFeatureHandler

func (mock *ServiceAccountTokenInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.ServiceAccountTokenHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ServiceAccountTokenInterfaceMock) AddFeatureHandlerCalls

func (mock *ServiceAccountTokenInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.ServiceAccountTokenHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedServiceAccountTokenInterface.AddFeatureHandlerCalls())

func (*ServiceAccountTokenInterfaceMock) AddFeatureLifecycle

func (mock *ServiceAccountTokenInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.ServiceAccountTokenLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ServiceAccountTokenInterfaceMock) AddFeatureLifecycleCalls

func (mock *ServiceAccountTokenInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.ServiceAccountTokenLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedServiceAccountTokenInterface.AddFeatureLifecycleCalls())

func (*ServiceAccountTokenInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*ServiceAccountTokenInterfaceMock) AddHandlerCalls

func (mock *ServiceAccountTokenInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.ServiceAccountTokenHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedServiceAccountTokenInterface.AddHandlerCalls())

func (*ServiceAccountTokenInterfaceMock) AddLifecycle

func (mock *ServiceAccountTokenInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.ServiceAccountTokenLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ServiceAccountTokenInterfaceMock) AddLifecycleCalls

func (mock *ServiceAccountTokenInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.ServiceAccountTokenLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedServiceAccountTokenInterface.AddLifecycleCalls())

func (*ServiceAccountTokenInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ServiceAccountTokenInterfaceMock) ControllerCalls

func (mock *ServiceAccountTokenInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedServiceAccountTokenInterface.ControllerCalls())

func (*ServiceAccountTokenInterfaceMock) Create

Create calls CreateFunc.

func (*ServiceAccountTokenInterfaceMock) CreateCalls

func (mock *ServiceAccountTokenInterfaceMock) CreateCalls() []struct {
	In1 *v3.ServiceAccountToken
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedServiceAccountTokenInterface.CreateCalls())

func (*ServiceAccountTokenInterfaceMock) Delete

func (mock *ServiceAccountTokenInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*ServiceAccountTokenInterfaceMock) DeleteCalls

func (mock *ServiceAccountTokenInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedServiceAccountTokenInterface.DeleteCalls())

func (*ServiceAccountTokenInterfaceMock) DeleteCollection

func (mock *ServiceAccountTokenInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*ServiceAccountTokenInterfaceMock) DeleteCollectionCalls

func (mock *ServiceAccountTokenInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedServiceAccountTokenInterface.DeleteCollectionCalls())

func (*ServiceAccountTokenInterfaceMock) DeleteNamespaced

func (mock *ServiceAccountTokenInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ServiceAccountTokenInterfaceMock) DeleteNamespacedCalls

func (mock *ServiceAccountTokenInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedServiceAccountTokenInterface.DeleteNamespacedCalls())

func (*ServiceAccountTokenInterfaceMock) Get

Get calls GetFunc.

func (*ServiceAccountTokenInterfaceMock) GetCalls

func (mock *ServiceAccountTokenInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedServiceAccountTokenInterface.GetCalls())

func (*ServiceAccountTokenInterfaceMock) GetNamespaced

func (mock *ServiceAccountTokenInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.ServiceAccountToken, error)

GetNamespaced calls GetNamespacedFunc.

func (*ServiceAccountTokenInterfaceMock) GetNamespacedCalls

func (mock *ServiceAccountTokenInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedServiceAccountTokenInterface.GetNamespacedCalls())

func (*ServiceAccountTokenInterfaceMock) List

List calls ListFunc.

func (*ServiceAccountTokenInterfaceMock) ListCalls

func (mock *ServiceAccountTokenInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedServiceAccountTokenInterface.ListCalls())

func (*ServiceAccountTokenInterfaceMock) ListNamespaced

func (mock *ServiceAccountTokenInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.ServiceAccountTokenList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ServiceAccountTokenInterfaceMock) ListNamespacedCalls

func (mock *ServiceAccountTokenInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedServiceAccountTokenInterface.ListNamespacedCalls())

func (*ServiceAccountTokenInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*ServiceAccountTokenInterfaceMock) ObjectClientCalls

func (mock *ServiceAccountTokenInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedServiceAccountTokenInterface.ObjectClientCalls())

func (*ServiceAccountTokenInterfaceMock) Update

Update calls UpdateFunc.

func (*ServiceAccountTokenInterfaceMock) UpdateCalls

func (mock *ServiceAccountTokenInterfaceMock) UpdateCalls() []struct {
	In1 *v3.ServiceAccountToken
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedServiceAccountTokenInterface.UpdateCalls())

func (*ServiceAccountTokenInterfaceMock) Watch

Watch calls WatchFunc.

func (*ServiceAccountTokenInterfaceMock) WatchCalls

func (mock *ServiceAccountTokenInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedServiceAccountTokenInterface.WatchCalls())

type ServiceAccountTokenListerMock

type ServiceAccountTokenListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.ServiceAccountToken, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.ServiceAccountToken, error)
	// contains filtered or unexported fields
}

ServiceAccountTokenListerMock is a mock implementation of ServiceAccountTokenLister.

    func TestSomethingThatUsesServiceAccountTokenLister(t *testing.T) {

        // make and configure a mocked ServiceAccountTokenLister
        mockedServiceAccountTokenLister := &ServiceAccountTokenListerMock{
            GetFunc: func(namespace string, name string) (*v3.ServiceAccountToken, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.ServiceAccountToken, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedServiceAccountTokenLister in code that requires ServiceAccountTokenLister
        // and then make assertions.

    }

func (*ServiceAccountTokenListerMock) Get

func (mock *ServiceAccountTokenListerMock) Get(namespace string, name string) (*v3.ServiceAccountToken, error)

Get calls GetFunc.

func (*ServiceAccountTokenListerMock) GetCalls

func (mock *ServiceAccountTokenListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedServiceAccountTokenLister.GetCalls())

func (*ServiceAccountTokenListerMock) List

func (mock *ServiceAccountTokenListerMock) List(namespace string, selector labels.Selector) ([]*v3.ServiceAccountToken, error)

List calls ListFunc.

func (*ServiceAccountTokenListerMock) ListCalls

func (mock *ServiceAccountTokenListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedServiceAccountTokenLister.ListCalls())

type ServiceAccountTokensGetterMock

type ServiceAccountTokensGetterMock struct {
	// ServiceAccountTokensFunc mocks the ServiceAccountTokens method.
	ServiceAccountTokensFunc func(namespace string) v3.ServiceAccountTokenInterface
	// contains filtered or unexported fields
}

ServiceAccountTokensGetterMock is a mock implementation of ServiceAccountTokensGetter.

    func TestSomethingThatUsesServiceAccountTokensGetter(t *testing.T) {

        // make and configure a mocked ServiceAccountTokensGetter
        mockedServiceAccountTokensGetter := &ServiceAccountTokensGetterMock{
            ServiceAccountTokensFunc: func(namespace string) v3.ServiceAccountTokenInterface {
	               panic("mock out the ServiceAccountTokens method")
            },
        }

        // use mockedServiceAccountTokensGetter in code that requires ServiceAccountTokensGetter
        // and then make assertions.

    }

func (*ServiceAccountTokensGetterMock) ServiceAccountTokens

func (mock *ServiceAccountTokensGetterMock) ServiceAccountTokens(namespace string) v3.ServiceAccountTokenInterface

ServiceAccountTokens calls ServiceAccountTokensFunc.

func (*ServiceAccountTokensGetterMock) ServiceAccountTokensCalls

func (mock *ServiceAccountTokensGetterMock) ServiceAccountTokensCalls() []struct {
	Namespace string
}

ServiceAccountTokensCalls gets all the calls that were made to ServiceAccountTokens. Check the length with:

len(mockedServiceAccountTokensGetter.ServiceAccountTokensCalls())

type SourceCodeCredentialControllerMock

type SourceCodeCredentialControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeCredentialHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeCredentialHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeCredentialHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.SourceCodeCredentialHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.SourceCodeCredentialLister

	// 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
}

SourceCodeCredentialControllerMock is a mock implementation of SourceCodeCredentialController.

    func TestSomethingThatUsesSourceCodeCredentialController(t *testing.T) {

        // make and configure a mocked SourceCodeCredentialController
        mockedSourceCodeCredentialController := &SourceCodeCredentialControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.SourceCodeCredentialLister {
	               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 mockedSourceCodeCredentialController in code that requires SourceCodeCredentialController
        // and then make assertions.

    }

func (*SourceCodeCredentialControllerMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeCredentialControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeCredentialHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeCredentialControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeCredentialControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.SourceCodeCredentialHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeCredentialController.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeCredentialControllerMock) AddClusterScopedHandler

func (mock *SourceCodeCredentialControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.SourceCodeCredentialHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeCredentialControllerMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeCredentialControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.SourceCodeCredentialHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeCredentialController.AddClusterScopedHandlerCalls())

func (*SourceCodeCredentialControllerMock) AddFeatureHandler

func (mock *SourceCodeCredentialControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeCredentialHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeCredentialControllerMock) AddFeatureHandlerCalls

func (mock *SourceCodeCredentialControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeCredentialHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeCredentialController.AddFeatureHandlerCalls())

func (*SourceCodeCredentialControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeCredentialControllerMock) AddHandlerCalls

func (mock *SourceCodeCredentialControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.SourceCodeCredentialHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeCredentialController.AddHandlerCalls())

func (*SourceCodeCredentialControllerMock) Enqueue

func (mock *SourceCodeCredentialControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*SourceCodeCredentialControllerMock) EnqueueAfter

func (mock *SourceCodeCredentialControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*SourceCodeCredentialControllerMock) EnqueueAfterCalls

func (mock *SourceCodeCredentialControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedSourceCodeCredentialController.EnqueueAfterCalls())

func (*SourceCodeCredentialControllerMock) EnqueueCalls

func (mock *SourceCodeCredentialControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedSourceCodeCredentialController.EnqueueCalls())

func (*SourceCodeCredentialControllerMock) Generic

Generic calls GenericFunc.

func (*SourceCodeCredentialControllerMock) GenericCalls

func (mock *SourceCodeCredentialControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedSourceCodeCredentialController.GenericCalls())

func (*SourceCodeCredentialControllerMock) Informer

Informer calls InformerFunc.

func (*SourceCodeCredentialControllerMock) InformerCalls

func (mock *SourceCodeCredentialControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedSourceCodeCredentialController.InformerCalls())

func (*SourceCodeCredentialControllerMock) Lister

Lister calls ListerFunc.

func (*SourceCodeCredentialControllerMock) ListerCalls

func (mock *SourceCodeCredentialControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedSourceCodeCredentialController.ListerCalls())

func (*SourceCodeCredentialControllerMock) Start

func (mock *SourceCodeCredentialControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*SourceCodeCredentialControllerMock) StartCalls

func (mock *SourceCodeCredentialControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedSourceCodeCredentialController.StartCalls())

func (*SourceCodeCredentialControllerMock) Sync

Sync calls SyncFunc.

func (*SourceCodeCredentialControllerMock) SyncCalls

func (mock *SourceCodeCredentialControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedSourceCodeCredentialController.SyncCalls())

type SourceCodeCredentialInterfaceMock

type SourceCodeCredentialInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeCredentialHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeCredentialLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeCredentialHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeCredentialLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeCredentialHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeCredentialLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.SourceCodeCredentialHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.SourceCodeCredentialLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.SourceCodeCredentialController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.SourceCodeCredential) (*v3.SourceCodeCredential, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.SourceCodeCredential, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeCredential, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.SourceCodeCredentialList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.SourceCodeCredentialList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.SourceCodeCredential) (*v3.SourceCodeCredential, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

SourceCodeCredentialInterfaceMock is a mock implementation of SourceCodeCredentialInterface.

    func TestSomethingThatUsesSourceCodeCredentialInterface(t *testing.T) {

        // make and configure a mocked SourceCodeCredentialInterface
        mockedSourceCodeCredentialInterface := &SourceCodeCredentialInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeCredentialLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeCredentialLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.SourceCodeCredentialHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.SourceCodeCredentialLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.SourceCodeCredentialController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.SourceCodeCredential) (*v3.SourceCodeCredential, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.SourceCodeCredential, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeCredential, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.SourceCodeCredentialList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.SourceCodeCredentialList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.SourceCodeCredential) (*v3.SourceCodeCredential, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSourceCodeCredentialInterface in code that requires SourceCodeCredentialInterface
        // and then make assertions.

    }

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeCredentialHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.SourceCodeCredentialHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeCredentialInterface.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeCredentialLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeCredentialLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedSourceCodeCredentialInterface.AddClusterScopedFeatureLifecycleCalls())

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedHandler

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.SourceCodeCredentialHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.SourceCodeCredentialHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeCredentialInterface.AddClusterScopedHandlerCalls())

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedLifecycle

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeCredentialLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SourceCodeCredentialInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SourceCodeCredentialInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeCredentialLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedSourceCodeCredentialInterface.AddClusterScopedLifecycleCalls())

func (*SourceCodeCredentialInterfaceMock) AddFeatureHandler

func (mock *SourceCodeCredentialInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeCredentialHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeCredentialInterfaceMock) AddFeatureHandlerCalls

func (mock *SourceCodeCredentialInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeCredentialHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeCredentialInterface.AddFeatureHandlerCalls())

func (*SourceCodeCredentialInterfaceMock) AddFeatureLifecycle

func (mock *SourceCodeCredentialInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeCredentialLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*SourceCodeCredentialInterfaceMock) AddFeatureLifecycleCalls

func (mock *SourceCodeCredentialInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.SourceCodeCredentialLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedSourceCodeCredentialInterface.AddFeatureLifecycleCalls())

func (*SourceCodeCredentialInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeCredentialInterfaceMock) AddHandlerCalls

func (mock *SourceCodeCredentialInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.SourceCodeCredentialHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeCredentialInterface.AddHandlerCalls())

func (*SourceCodeCredentialInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*SourceCodeCredentialInterfaceMock) AddLifecycleCalls

func (mock *SourceCodeCredentialInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.SourceCodeCredentialLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedSourceCodeCredentialInterface.AddLifecycleCalls())

func (*SourceCodeCredentialInterfaceMock) Controller

Controller calls ControllerFunc.

func (*SourceCodeCredentialInterfaceMock) ControllerCalls

func (mock *SourceCodeCredentialInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedSourceCodeCredentialInterface.ControllerCalls())

func (*SourceCodeCredentialInterfaceMock) Create

Create calls CreateFunc.

func (*SourceCodeCredentialInterfaceMock) CreateCalls

func (mock *SourceCodeCredentialInterfaceMock) CreateCalls() []struct {
	In1 *v3.SourceCodeCredential
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedSourceCodeCredentialInterface.CreateCalls())

func (*SourceCodeCredentialInterfaceMock) Delete

func (mock *SourceCodeCredentialInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*SourceCodeCredentialInterfaceMock) DeleteCalls

func (mock *SourceCodeCredentialInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedSourceCodeCredentialInterface.DeleteCalls())

func (*SourceCodeCredentialInterfaceMock) DeleteCollection

func (mock *SourceCodeCredentialInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SourceCodeCredentialInterfaceMock) DeleteCollectionCalls

func (mock *SourceCodeCredentialInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedSourceCodeCredentialInterface.DeleteCollectionCalls())

func (*SourceCodeCredentialInterfaceMock) DeleteNamespaced

func (mock *SourceCodeCredentialInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SourceCodeCredentialInterfaceMock) DeleteNamespacedCalls

func (mock *SourceCodeCredentialInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedSourceCodeCredentialInterface.DeleteNamespacedCalls())

func (*SourceCodeCredentialInterfaceMock) Get

Get calls GetFunc.

func (*SourceCodeCredentialInterfaceMock) GetCalls

func (mock *SourceCodeCredentialInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeCredentialInterface.GetCalls())

func (*SourceCodeCredentialInterfaceMock) GetNamespaced

func (mock *SourceCodeCredentialInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeCredential, error)

GetNamespaced calls GetNamespacedFunc.

func (*SourceCodeCredentialInterfaceMock) GetNamespacedCalls

func (mock *SourceCodeCredentialInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedSourceCodeCredentialInterface.GetNamespacedCalls())

func (*SourceCodeCredentialInterfaceMock) List

List calls ListFunc.

func (*SourceCodeCredentialInterfaceMock) ListCalls

func (mock *SourceCodeCredentialInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeCredentialInterface.ListCalls())

func (*SourceCodeCredentialInterfaceMock) ListNamespaced

func (mock *SourceCodeCredentialInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.SourceCodeCredentialList, error)

ListNamespaced calls ListNamespacedFunc.

func (*SourceCodeCredentialInterfaceMock) ListNamespacedCalls

func (mock *SourceCodeCredentialInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedSourceCodeCredentialInterface.ListNamespacedCalls())

func (*SourceCodeCredentialInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*SourceCodeCredentialInterfaceMock) ObjectClientCalls

func (mock *SourceCodeCredentialInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedSourceCodeCredentialInterface.ObjectClientCalls())

func (*SourceCodeCredentialInterfaceMock) Update

Update calls UpdateFunc.

func (*SourceCodeCredentialInterfaceMock) UpdateCalls

func (mock *SourceCodeCredentialInterfaceMock) UpdateCalls() []struct {
	In1 *v3.SourceCodeCredential
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedSourceCodeCredentialInterface.UpdateCalls())

func (*SourceCodeCredentialInterfaceMock) Watch

Watch calls WatchFunc.

func (*SourceCodeCredentialInterfaceMock) WatchCalls

func (mock *SourceCodeCredentialInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedSourceCodeCredentialInterface.WatchCalls())

type SourceCodeCredentialListerMock

type SourceCodeCredentialListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.SourceCodeCredential, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.SourceCodeCredential, error)
	// contains filtered or unexported fields
}

SourceCodeCredentialListerMock is a mock implementation of SourceCodeCredentialLister.

    func TestSomethingThatUsesSourceCodeCredentialLister(t *testing.T) {

        // make and configure a mocked SourceCodeCredentialLister
        mockedSourceCodeCredentialLister := &SourceCodeCredentialListerMock{
            GetFunc: func(namespace string, name string) (*v3.SourceCodeCredential, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.SourceCodeCredential, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSourceCodeCredentialLister in code that requires SourceCodeCredentialLister
        // and then make assertions.

    }

func (*SourceCodeCredentialListerMock) Get

Get calls GetFunc.

func (*SourceCodeCredentialListerMock) GetCalls

func (mock *SourceCodeCredentialListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeCredentialLister.GetCalls())

func (*SourceCodeCredentialListerMock) List

func (mock *SourceCodeCredentialListerMock) List(namespace string, selector labels.Selector) ([]*v3.SourceCodeCredential, error)

List calls ListFunc.

func (*SourceCodeCredentialListerMock) ListCalls

func (mock *SourceCodeCredentialListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeCredentialLister.ListCalls())

type SourceCodeCredentialsGetterMock

type SourceCodeCredentialsGetterMock struct {
	// SourceCodeCredentialsFunc mocks the SourceCodeCredentials method.
	SourceCodeCredentialsFunc func(namespace string) v3.SourceCodeCredentialInterface
	// contains filtered or unexported fields
}

SourceCodeCredentialsGetterMock is a mock implementation of SourceCodeCredentialsGetter.

    func TestSomethingThatUsesSourceCodeCredentialsGetter(t *testing.T) {

        // make and configure a mocked SourceCodeCredentialsGetter
        mockedSourceCodeCredentialsGetter := &SourceCodeCredentialsGetterMock{
            SourceCodeCredentialsFunc: func(namespace string) v3.SourceCodeCredentialInterface {
	               panic("mock out the SourceCodeCredentials method")
            },
        }

        // use mockedSourceCodeCredentialsGetter in code that requires SourceCodeCredentialsGetter
        // and then make assertions.

    }

func (*SourceCodeCredentialsGetterMock) SourceCodeCredentials

func (mock *SourceCodeCredentialsGetterMock) SourceCodeCredentials(namespace string) v3.SourceCodeCredentialInterface

SourceCodeCredentials calls SourceCodeCredentialsFunc.

func (*SourceCodeCredentialsGetterMock) SourceCodeCredentialsCalls

func (mock *SourceCodeCredentialsGetterMock) SourceCodeCredentialsCalls() []struct {
	Namespace string
}

SourceCodeCredentialsCalls gets all the calls that were made to SourceCodeCredentials. Check the length with:

len(mockedSourceCodeCredentialsGetter.SourceCodeCredentialsCalls())

type SourceCodeProviderConfigControllerMock

type SourceCodeProviderConfigControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeProviderConfigHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeProviderConfigHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderConfigHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.SourceCodeProviderConfigHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.SourceCodeProviderConfigLister

	// 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
}

SourceCodeProviderConfigControllerMock is a mock implementation of SourceCodeProviderConfigController.

    func TestSomethingThatUsesSourceCodeProviderConfigController(t *testing.T) {

        // make and configure a mocked SourceCodeProviderConfigController
        mockedSourceCodeProviderConfigController := &SourceCodeProviderConfigControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.SourceCodeProviderConfigLister {
	               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 mockedSourceCodeProviderConfigController in code that requires SourceCodeProviderConfigController
        // and then make assertions.

    }

func (*SourceCodeProviderConfigControllerMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeProviderConfigControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeProviderConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeProviderConfigControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeProviderConfigControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.SourceCodeProviderConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeProviderConfigController.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeProviderConfigControllerMock) AddClusterScopedHandler

func (mock *SourceCodeProviderConfigControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.SourceCodeProviderConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeProviderConfigControllerMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeProviderConfigControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.SourceCodeProviderConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeProviderConfigController.AddClusterScopedHandlerCalls())

func (*SourceCodeProviderConfigControllerMock) AddFeatureHandler

func (mock *SourceCodeProviderConfigControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeProviderConfigControllerMock) AddFeatureHandlerCalls

func (mock *SourceCodeProviderConfigControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeProviderConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeProviderConfigController.AddFeatureHandlerCalls())

func (*SourceCodeProviderConfigControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeProviderConfigControllerMock) AddHandlerCalls

func (mock *SourceCodeProviderConfigControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.SourceCodeProviderConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeProviderConfigController.AddHandlerCalls())

func (*SourceCodeProviderConfigControllerMock) Enqueue

func (mock *SourceCodeProviderConfigControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*SourceCodeProviderConfigControllerMock) EnqueueAfter

func (mock *SourceCodeProviderConfigControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*SourceCodeProviderConfigControllerMock) EnqueueAfterCalls

func (mock *SourceCodeProviderConfigControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedSourceCodeProviderConfigController.EnqueueAfterCalls())

func (*SourceCodeProviderConfigControllerMock) EnqueueCalls

func (mock *SourceCodeProviderConfigControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedSourceCodeProviderConfigController.EnqueueCalls())

func (*SourceCodeProviderConfigControllerMock) Generic

Generic calls GenericFunc.

func (*SourceCodeProviderConfigControllerMock) GenericCalls

func (mock *SourceCodeProviderConfigControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedSourceCodeProviderConfigController.GenericCalls())

func (*SourceCodeProviderConfigControllerMock) Informer

Informer calls InformerFunc.

func (*SourceCodeProviderConfigControllerMock) InformerCalls

func (mock *SourceCodeProviderConfigControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedSourceCodeProviderConfigController.InformerCalls())

func (*SourceCodeProviderConfigControllerMock) Lister

Lister calls ListerFunc.

func (*SourceCodeProviderConfigControllerMock) ListerCalls

func (mock *SourceCodeProviderConfigControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedSourceCodeProviderConfigController.ListerCalls())

func (*SourceCodeProviderConfigControllerMock) Start

func (mock *SourceCodeProviderConfigControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*SourceCodeProviderConfigControllerMock) StartCalls

func (mock *SourceCodeProviderConfigControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedSourceCodeProviderConfigController.StartCalls())

func (*SourceCodeProviderConfigControllerMock) Sync

Sync calls SyncFunc.

func (*SourceCodeProviderConfigControllerMock) SyncCalls

func (mock *SourceCodeProviderConfigControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedSourceCodeProviderConfigController.SyncCalls())

type SourceCodeProviderConfigInterfaceMock

type SourceCodeProviderConfigInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeProviderConfigHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeProviderConfigLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeProviderConfigHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeProviderConfigLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderConfigHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeProviderConfigLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.SourceCodeProviderConfigHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.SourceCodeProviderConfigLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.SourceCodeProviderConfigController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.SourceCodeProviderConfig) (*v3.SourceCodeProviderConfig, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.SourceCodeProviderConfig, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeProviderConfig, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.SourceCodeProviderConfigList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.SourceCodeProviderConfigList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.SourceCodeProviderConfig) (*v3.SourceCodeProviderConfig, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

SourceCodeProviderConfigInterfaceMock is a mock implementation of SourceCodeProviderConfigInterface.

    func TestSomethingThatUsesSourceCodeProviderConfigInterface(t *testing.T) {

        // make and configure a mocked SourceCodeProviderConfigInterface
        mockedSourceCodeProviderConfigInterface := &SourceCodeProviderConfigInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeProviderConfigLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeProviderConfigLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeProviderConfigLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.SourceCodeProviderConfigHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.SourceCodeProviderConfigLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.SourceCodeProviderConfigController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.SourceCodeProviderConfig) (*v3.SourceCodeProviderConfig, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.SourceCodeProviderConfig, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeProviderConfig, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.SourceCodeProviderConfigList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.SourceCodeProviderConfigList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.SourceCodeProviderConfig) (*v3.SourceCodeProviderConfig, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSourceCodeProviderConfigInterface in code that requires SourceCodeProviderConfigInterface
        // and then make assertions.

    }

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeProviderConfigHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.SourceCodeProviderConfigHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeProviderConfigLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeProviderConfigLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddClusterScopedFeatureLifecycleCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedHandler

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.SourceCodeProviderConfigHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.SourceCodeProviderConfigHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddClusterScopedHandlerCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedLifecycle

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeProviderConfigLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeProviderConfigLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddClusterScopedLifecycleCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddFeatureHandler

func (mock *SourceCodeProviderConfigInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderConfigHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddFeatureHandlerCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeProviderConfigHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddFeatureHandlerCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddFeatureLifecycle

func (mock *SourceCodeProviderConfigInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeProviderConfigLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddFeatureLifecycleCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.SourceCodeProviderConfigLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddFeatureLifecycleCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddHandlerCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.SourceCodeProviderConfigHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddHandlerCalls())

func (*SourceCodeProviderConfigInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*SourceCodeProviderConfigInterfaceMock) AddLifecycleCalls

func (mock *SourceCodeProviderConfigInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.SourceCodeProviderConfigLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedSourceCodeProviderConfigInterface.AddLifecycleCalls())

func (*SourceCodeProviderConfigInterfaceMock) Controller

Controller calls ControllerFunc.

func (*SourceCodeProviderConfigInterfaceMock) ControllerCalls

func (mock *SourceCodeProviderConfigInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedSourceCodeProviderConfigInterface.ControllerCalls())

func (*SourceCodeProviderConfigInterfaceMock) Create

Create calls CreateFunc.

func (*SourceCodeProviderConfigInterfaceMock) CreateCalls

func (mock *SourceCodeProviderConfigInterfaceMock) CreateCalls() []struct {
	In1 *v3.SourceCodeProviderConfig
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedSourceCodeProviderConfigInterface.CreateCalls())

func (*SourceCodeProviderConfigInterfaceMock) Delete

func (mock *SourceCodeProviderConfigInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*SourceCodeProviderConfigInterfaceMock) DeleteCalls

func (mock *SourceCodeProviderConfigInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedSourceCodeProviderConfigInterface.DeleteCalls())

func (*SourceCodeProviderConfigInterfaceMock) DeleteCollection

func (mock *SourceCodeProviderConfigInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SourceCodeProviderConfigInterfaceMock) DeleteCollectionCalls

func (mock *SourceCodeProviderConfigInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedSourceCodeProviderConfigInterface.DeleteCollectionCalls())

func (*SourceCodeProviderConfigInterfaceMock) DeleteNamespaced

func (mock *SourceCodeProviderConfigInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SourceCodeProviderConfigInterfaceMock) DeleteNamespacedCalls

func (mock *SourceCodeProviderConfigInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedSourceCodeProviderConfigInterface.DeleteNamespacedCalls())

func (*SourceCodeProviderConfigInterfaceMock) Get

Get calls GetFunc.

func (*SourceCodeProviderConfigInterfaceMock) GetCalls

func (mock *SourceCodeProviderConfigInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeProviderConfigInterface.GetCalls())

func (*SourceCodeProviderConfigInterfaceMock) GetNamespaced

func (mock *SourceCodeProviderConfigInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeProviderConfig, error)

GetNamespaced calls GetNamespacedFunc.

func (*SourceCodeProviderConfigInterfaceMock) GetNamespacedCalls

func (mock *SourceCodeProviderConfigInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedSourceCodeProviderConfigInterface.GetNamespacedCalls())

func (*SourceCodeProviderConfigInterfaceMock) List

List calls ListFunc.

func (*SourceCodeProviderConfigInterfaceMock) ListCalls

func (mock *SourceCodeProviderConfigInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeProviderConfigInterface.ListCalls())

func (*SourceCodeProviderConfigInterfaceMock) ListNamespaced

ListNamespaced calls ListNamespacedFunc.

func (*SourceCodeProviderConfigInterfaceMock) ListNamespacedCalls

func (mock *SourceCodeProviderConfigInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedSourceCodeProviderConfigInterface.ListNamespacedCalls())

func (*SourceCodeProviderConfigInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*SourceCodeProviderConfigInterfaceMock) ObjectClientCalls

func (mock *SourceCodeProviderConfigInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedSourceCodeProviderConfigInterface.ObjectClientCalls())

func (*SourceCodeProviderConfigInterfaceMock) Update

Update calls UpdateFunc.

func (*SourceCodeProviderConfigInterfaceMock) UpdateCalls

func (mock *SourceCodeProviderConfigInterfaceMock) UpdateCalls() []struct {
	In1 *v3.SourceCodeProviderConfig
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedSourceCodeProviderConfigInterface.UpdateCalls())

func (*SourceCodeProviderConfigInterfaceMock) Watch

Watch calls WatchFunc.

func (*SourceCodeProviderConfigInterfaceMock) WatchCalls

func (mock *SourceCodeProviderConfigInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedSourceCodeProviderConfigInterface.WatchCalls())

type SourceCodeProviderConfigListerMock

type SourceCodeProviderConfigListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.SourceCodeProviderConfig, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.SourceCodeProviderConfig, error)
	// contains filtered or unexported fields
}

SourceCodeProviderConfigListerMock is a mock implementation of SourceCodeProviderConfigLister.

    func TestSomethingThatUsesSourceCodeProviderConfigLister(t *testing.T) {

        // make and configure a mocked SourceCodeProviderConfigLister
        mockedSourceCodeProviderConfigLister := &SourceCodeProviderConfigListerMock{
            GetFunc: func(namespace string, name string) (*v3.SourceCodeProviderConfig, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.SourceCodeProviderConfig, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSourceCodeProviderConfigLister in code that requires SourceCodeProviderConfigLister
        // and then make assertions.

    }

func (*SourceCodeProviderConfigListerMock) Get

Get calls GetFunc.

func (*SourceCodeProviderConfigListerMock) GetCalls

func (mock *SourceCodeProviderConfigListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeProviderConfigLister.GetCalls())

func (*SourceCodeProviderConfigListerMock) List

List calls ListFunc.

func (*SourceCodeProviderConfigListerMock) ListCalls

func (mock *SourceCodeProviderConfigListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeProviderConfigLister.ListCalls())

type SourceCodeProviderConfigsGetterMock

type SourceCodeProviderConfigsGetterMock struct {
	// SourceCodeProviderConfigsFunc mocks the SourceCodeProviderConfigs method.
	SourceCodeProviderConfigsFunc func(namespace string) v3.SourceCodeProviderConfigInterface
	// contains filtered or unexported fields
}

SourceCodeProviderConfigsGetterMock is a mock implementation of SourceCodeProviderConfigsGetter.

    func TestSomethingThatUsesSourceCodeProviderConfigsGetter(t *testing.T) {

        // make and configure a mocked SourceCodeProviderConfigsGetter
        mockedSourceCodeProviderConfigsGetter := &SourceCodeProviderConfigsGetterMock{
            SourceCodeProviderConfigsFunc: func(namespace string) v3.SourceCodeProviderConfigInterface {
	               panic("mock out the SourceCodeProviderConfigs method")
            },
        }

        // use mockedSourceCodeProviderConfigsGetter in code that requires SourceCodeProviderConfigsGetter
        // and then make assertions.

    }

func (*SourceCodeProviderConfigsGetterMock) SourceCodeProviderConfigs

func (mock *SourceCodeProviderConfigsGetterMock) SourceCodeProviderConfigs(namespace string) v3.SourceCodeProviderConfigInterface

SourceCodeProviderConfigs calls SourceCodeProviderConfigsFunc.

func (*SourceCodeProviderConfigsGetterMock) SourceCodeProviderConfigsCalls

func (mock *SourceCodeProviderConfigsGetterMock) SourceCodeProviderConfigsCalls() []struct {
	Namespace string
}

SourceCodeProviderConfigsCalls gets all the calls that were made to SourceCodeProviderConfigs. Check the length with:

len(mockedSourceCodeProviderConfigsGetter.SourceCodeProviderConfigsCalls())

type SourceCodeProviderControllerMock

type SourceCodeProviderControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeProviderHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeProviderHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.SourceCodeProviderHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.SourceCodeProviderLister

	// 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
}

SourceCodeProviderControllerMock is a mock implementation of SourceCodeProviderController.

    func TestSomethingThatUsesSourceCodeProviderController(t *testing.T) {

        // make and configure a mocked SourceCodeProviderController
        mockedSourceCodeProviderController := &SourceCodeProviderControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.SourceCodeProviderLister {
	               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 mockedSourceCodeProviderController in code that requires SourceCodeProviderController
        // and then make assertions.

    }

func (*SourceCodeProviderControllerMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeProviderControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeProviderHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeProviderControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeProviderControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.SourceCodeProviderHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeProviderController.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeProviderControllerMock) AddClusterScopedHandler

func (mock *SourceCodeProviderControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.SourceCodeProviderHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeProviderControllerMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeProviderControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.SourceCodeProviderHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeProviderController.AddClusterScopedHandlerCalls())

func (*SourceCodeProviderControllerMock) AddFeatureHandler

func (mock *SourceCodeProviderControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeProviderControllerMock) AddFeatureHandlerCalls

func (mock *SourceCodeProviderControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeProviderHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeProviderController.AddFeatureHandlerCalls())

func (*SourceCodeProviderControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeProviderControllerMock) AddHandlerCalls

func (mock *SourceCodeProviderControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.SourceCodeProviderHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeProviderController.AddHandlerCalls())

func (*SourceCodeProviderControllerMock) Enqueue

func (mock *SourceCodeProviderControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*SourceCodeProviderControllerMock) EnqueueAfter

func (mock *SourceCodeProviderControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*SourceCodeProviderControllerMock) EnqueueAfterCalls

func (mock *SourceCodeProviderControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedSourceCodeProviderController.EnqueueAfterCalls())

func (*SourceCodeProviderControllerMock) EnqueueCalls

func (mock *SourceCodeProviderControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedSourceCodeProviderController.EnqueueCalls())

func (*SourceCodeProviderControllerMock) Generic

Generic calls GenericFunc.

func (*SourceCodeProviderControllerMock) GenericCalls

func (mock *SourceCodeProviderControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedSourceCodeProviderController.GenericCalls())

func (*SourceCodeProviderControllerMock) Informer

Informer calls InformerFunc.

func (*SourceCodeProviderControllerMock) InformerCalls

func (mock *SourceCodeProviderControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedSourceCodeProviderController.InformerCalls())

func (*SourceCodeProviderControllerMock) Lister

Lister calls ListerFunc.

func (*SourceCodeProviderControllerMock) ListerCalls

func (mock *SourceCodeProviderControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedSourceCodeProviderController.ListerCalls())

func (*SourceCodeProviderControllerMock) Start

func (mock *SourceCodeProviderControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*SourceCodeProviderControllerMock) StartCalls

func (mock *SourceCodeProviderControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedSourceCodeProviderController.StartCalls())

func (*SourceCodeProviderControllerMock) Sync

Sync calls SyncFunc.

func (*SourceCodeProviderControllerMock) SyncCalls

func (mock *SourceCodeProviderControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedSourceCodeProviderController.SyncCalls())

type SourceCodeProviderInterfaceMock

type SourceCodeProviderInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeProviderHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeProviderLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeProviderHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeProviderLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeProviderLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.SourceCodeProviderHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.SourceCodeProviderLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.SourceCodeProviderController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.SourceCodeProvider) (*v3.SourceCodeProvider, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.SourceCodeProvider, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeProvider, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.SourceCodeProviderList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.SourceCodeProviderList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.SourceCodeProvider) (*v3.SourceCodeProvider, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

SourceCodeProviderInterfaceMock is a mock implementation of SourceCodeProviderInterface.

    func TestSomethingThatUsesSourceCodeProviderInterface(t *testing.T) {

        // make and configure a mocked SourceCodeProviderInterface
        mockedSourceCodeProviderInterface := &SourceCodeProviderInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeProviderLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeProviderLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeProviderLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.SourceCodeProviderHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.SourceCodeProviderLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.SourceCodeProviderController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.SourceCodeProvider) (*v3.SourceCodeProvider, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.SourceCodeProvider, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeProvider, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.SourceCodeProviderList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.SourceCodeProviderList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.SourceCodeProvider) (*v3.SourceCodeProvider, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSourceCodeProviderInterface in code that requires SourceCodeProviderInterface
        // and then make assertions.

    }

func (*SourceCodeProviderInterfaceMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeProviderHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeProviderInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.SourceCodeProviderHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeProviderInterface.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeProviderInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeProviderLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*SourceCodeProviderInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeProviderLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedSourceCodeProviderInterface.AddClusterScopedFeatureLifecycleCalls())

func (*SourceCodeProviderInterfaceMock) AddClusterScopedHandler

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.SourceCodeProviderHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeProviderInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.SourceCodeProviderHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeProviderInterface.AddClusterScopedHandlerCalls())

func (*SourceCodeProviderInterfaceMock) AddClusterScopedLifecycle

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeProviderLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SourceCodeProviderInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SourceCodeProviderInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeProviderLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedSourceCodeProviderInterface.AddClusterScopedLifecycleCalls())

func (*SourceCodeProviderInterfaceMock) AddFeatureHandler

func (mock *SourceCodeProviderInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeProviderHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeProviderInterfaceMock) AddFeatureHandlerCalls

func (mock *SourceCodeProviderInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeProviderHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeProviderInterface.AddFeatureHandlerCalls())

func (*SourceCodeProviderInterfaceMock) AddFeatureLifecycle

func (mock *SourceCodeProviderInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeProviderLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*SourceCodeProviderInterfaceMock) AddFeatureLifecycleCalls

func (mock *SourceCodeProviderInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.SourceCodeProviderLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedSourceCodeProviderInterface.AddFeatureLifecycleCalls())

func (*SourceCodeProviderInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeProviderInterfaceMock) AddHandlerCalls

func (mock *SourceCodeProviderInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.SourceCodeProviderHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeProviderInterface.AddHandlerCalls())

func (*SourceCodeProviderInterfaceMock) AddLifecycle

func (mock *SourceCodeProviderInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.SourceCodeProviderLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*SourceCodeProviderInterfaceMock) AddLifecycleCalls

func (mock *SourceCodeProviderInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.SourceCodeProviderLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedSourceCodeProviderInterface.AddLifecycleCalls())

func (*SourceCodeProviderInterfaceMock) Controller

Controller calls ControllerFunc.

func (*SourceCodeProviderInterfaceMock) ControllerCalls

func (mock *SourceCodeProviderInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedSourceCodeProviderInterface.ControllerCalls())

func (*SourceCodeProviderInterfaceMock) Create

Create calls CreateFunc.

func (*SourceCodeProviderInterfaceMock) CreateCalls

func (mock *SourceCodeProviderInterfaceMock) CreateCalls() []struct {
	In1 *v3.SourceCodeProvider
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedSourceCodeProviderInterface.CreateCalls())

func (*SourceCodeProviderInterfaceMock) Delete

func (mock *SourceCodeProviderInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*SourceCodeProviderInterfaceMock) DeleteCalls

func (mock *SourceCodeProviderInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedSourceCodeProviderInterface.DeleteCalls())

func (*SourceCodeProviderInterfaceMock) DeleteCollection

func (mock *SourceCodeProviderInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SourceCodeProviderInterfaceMock) DeleteCollectionCalls

func (mock *SourceCodeProviderInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedSourceCodeProviderInterface.DeleteCollectionCalls())

func (*SourceCodeProviderInterfaceMock) DeleteNamespaced

func (mock *SourceCodeProviderInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SourceCodeProviderInterfaceMock) DeleteNamespacedCalls

func (mock *SourceCodeProviderInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedSourceCodeProviderInterface.DeleteNamespacedCalls())

func (*SourceCodeProviderInterfaceMock) Get

Get calls GetFunc.

func (*SourceCodeProviderInterfaceMock) GetCalls

func (mock *SourceCodeProviderInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeProviderInterface.GetCalls())

func (*SourceCodeProviderInterfaceMock) GetNamespaced

func (mock *SourceCodeProviderInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeProvider, error)

GetNamespaced calls GetNamespacedFunc.

func (*SourceCodeProviderInterfaceMock) GetNamespacedCalls

func (mock *SourceCodeProviderInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedSourceCodeProviderInterface.GetNamespacedCalls())

func (*SourceCodeProviderInterfaceMock) List

List calls ListFunc.

func (*SourceCodeProviderInterfaceMock) ListCalls

func (mock *SourceCodeProviderInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeProviderInterface.ListCalls())

func (*SourceCodeProviderInterfaceMock) ListNamespaced

func (mock *SourceCodeProviderInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.SourceCodeProviderList, error)

ListNamespaced calls ListNamespacedFunc.

func (*SourceCodeProviderInterfaceMock) ListNamespacedCalls

func (mock *SourceCodeProviderInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedSourceCodeProviderInterface.ListNamespacedCalls())

func (*SourceCodeProviderInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*SourceCodeProviderInterfaceMock) ObjectClientCalls

func (mock *SourceCodeProviderInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedSourceCodeProviderInterface.ObjectClientCalls())

func (*SourceCodeProviderInterfaceMock) Update

Update calls UpdateFunc.

func (*SourceCodeProviderInterfaceMock) UpdateCalls

func (mock *SourceCodeProviderInterfaceMock) UpdateCalls() []struct {
	In1 *v3.SourceCodeProvider
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedSourceCodeProviderInterface.UpdateCalls())

func (*SourceCodeProviderInterfaceMock) Watch

Watch calls WatchFunc.

func (*SourceCodeProviderInterfaceMock) WatchCalls

func (mock *SourceCodeProviderInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedSourceCodeProviderInterface.WatchCalls())

type SourceCodeProviderListerMock

type SourceCodeProviderListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.SourceCodeProvider, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.SourceCodeProvider, error)
	// contains filtered or unexported fields
}

SourceCodeProviderListerMock is a mock implementation of SourceCodeProviderLister.

    func TestSomethingThatUsesSourceCodeProviderLister(t *testing.T) {

        // make and configure a mocked SourceCodeProviderLister
        mockedSourceCodeProviderLister := &SourceCodeProviderListerMock{
            GetFunc: func(namespace string, name string) (*v3.SourceCodeProvider, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.SourceCodeProvider, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSourceCodeProviderLister in code that requires SourceCodeProviderLister
        // and then make assertions.

    }

func (*SourceCodeProviderListerMock) Get

func (mock *SourceCodeProviderListerMock) Get(namespace string, name string) (*v3.SourceCodeProvider, error)

Get calls GetFunc.

func (*SourceCodeProviderListerMock) GetCalls

func (mock *SourceCodeProviderListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeProviderLister.GetCalls())

func (*SourceCodeProviderListerMock) List

func (mock *SourceCodeProviderListerMock) List(namespace string, selector labels.Selector) ([]*v3.SourceCodeProvider, error)

List calls ListFunc.

func (*SourceCodeProviderListerMock) ListCalls

func (mock *SourceCodeProviderListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeProviderLister.ListCalls())

type SourceCodeProvidersGetterMock

type SourceCodeProvidersGetterMock struct {
	// SourceCodeProvidersFunc mocks the SourceCodeProviders method.
	SourceCodeProvidersFunc func(namespace string) v3.SourceCodeProviderInterface
	// contains filtered or unexported fields
}

SourceCodeProvidersGetterMock is a mock implementation of SourceCodeProvidersGetter.

    func TestSomethingThatUsesSourceCodeProvidersGetter(t *testing.T) {

        // make and configure a mocked SourceCodeProvidersGetter
        mockedSourceCodeProvidersGetter := &SourceCodeProvidersGetterMock{
            SourceCodeProvidersFunc: func(namespace string) v3.SourceCodeProviderInterface {
	               panic("mock out the SourceCodeProviders method")
            },
        }

        // use mockedSourceCodeProvidersGetter in code that requires SourceCodeProvidersGetter
        // and then make assertions.

    }

func (*SourceCodeProvidersGetterMock) SourceCodeProviders

func (mock *SourceCodeProvidersGetterMock) SourceCodeProviders(namespace string) v3.SourceCodeProviderInterface

SourceCodeProviders calls SourceCodeProvidersFunc.

func (*SourceCodeProvidersGetterMock) SourceCodeProvidersCalls

func (mock *SourceCodeProvidersGetterMock) SourceCodeProvidersCalls() []struct {
	Namespace string
}

SourceCodeProvidersCalls gets all the calls that were made to SourceCodeProviders. Check the length with:

len(mockedSourceCodeProvidersGetter.SourceCodeProvidersCalls())

type SourceCodeRepositoriesGetterMock

type SourceCodeRepositoriesGetterMock struct {
	// SourceCodeRepositoriesFunc mocks the SourceCodeRepositories method.
	SourceCodeRepositoriesFunc func(namespace string) v3.SourceCodeRepositoryInterface
	// contains filtered or unexported fields
}

SourceCodeRepositoriesGetterMock is a mock implementation of SourceCodeRepositoriesGetter.

    func TestSomethingThatUsesSourceCodeRepositoriesGetter(t *testing.T) {

        // make and configure a mocked SourceCodeRepositoriesGetter
        mockedSourceCodeRepositoriesGetter := &SourceCodeRepositoriesGetterMock{
            SourceCodeRepositoriesFunc: func(namespace string) v3.SourceCodeRepositoryInterface {
	               panic("mock out the SourceCodeRepositories method")
            },
        }

        // use mockedSourceCodeRepositoriesGetter in code that requires SourceCodeRepositoriesGetter
        // and then make assertions.

    }

func (*SourceCodeRepositoriesGetterMock) SourceCodeRepositories

func (mock *SourceCodeRepositoriesGetterMock) SourceCodeRepositories(namespace string) v3.SourceCodeRepositoryInterface

SourceCodeRepositories calls SourceCodeRepositoriesFunc.

func (*SourceCodeRepositoriesGetterMock) SourceCodeRepositoriesCalls

func (mock *SourceCodeRepositoriesGetterMock) SourceCodeRepositoriesCalls() []struct {
	Namespace string
}

SourceCodeRepositoriesCalls gets all the calls that were made to SourceCodeRepositories. Check the length with:

len(mockedSourceCodeRepositoriesGetter.SourceCodeRepositoriesCalls())

type SourceCodeRepositoryControllerMock

type SourceCodeRepositoryControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeRepositoryHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeRepositoryHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeRepositoryHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.SourceCodeRepositoryHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.SourceCodeRepositoryLister

	// 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
}

SourceCodeRepositoryControllerMock is a mock implementation of SourceCodeRepositoryController.

    func TestSomethingThatUsesSourceCodeRepositoryController(t *testing.T) {

        // make and configure a mocked SourceCodeRepositoryController
        mockedSourceCodeRepositoryController := &SourceCodeRepositoryControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.SourceCodeRepositoryLister {
	               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 mockedSourceCodeRepositoryController in code that requires SourceCodeRepositoryController
        // and then make assertions.

    }

func (*SourceCodeRepositoryControllerMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeRepositoryControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.SourceCodeRepositoryHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeRepositoryControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeRepositoryControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.SourceCodeRepositoryHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeRepositoryController.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeRepositoryControllerMock) AddClusterScopedHandler

func (mock *SourceCodeRepositoryControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.SourceCodeRepositoryHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeRepositoryControllerMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeRepositoryControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.SourceCodeRepositoryHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeRepositoryController.AddClusterScopedHandlerCalls())

func (*SourceCodeRepositoryControllerMock) AddFeatureHandler

func (mock *SourceCodeRepositoryControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeRepositoryHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeRepositoryControllerMock) AddFeatureHandlerCalls

func (mock *SourceCodeRepositoryControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeRepositoryHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeRepositoryController.AddFeatureHandlerCalls())

func (*SourceCodeRepositoryControllerMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeRepositoryControllerMock) AddHandlerCalls

func (mock *SourceCodeRepositoryControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.SourceCodeRepositoryHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeRepositoryController.AddHandlerCalls())

func (*SourceCodeRepositoryControllerMock) Enqueue

func (mock *SourceCodeRepositoryControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*SourceCodeRepositoryControllerMock) EnqueueAfter

func (mock *SourceCodeRepositoryControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*SourceCodeRepositoryControllerMock) EnqueueAfterCalls

func (mock *SourceCodeRepositoryControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedSourceCodeRepositoryController.EnqueueAfterCalls())

func (*SourceCodeRepositoryControllerMock) EnqueueCalls

func (mock *SourceCodeRepositoryControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedSourceCodeRepositoryController.EnqueueCalls())

func (*SourceCodeRepositoryControllerMock) Generic

Generic calls GenericFunc.

func (*SourceCodeRepositoryControllerMock) GenericCalls

func (mock *SourceCodeRepositoryControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedSourceCodeRepositoryController.GenericCalls())

func (*SourceCodeRepositoryControllerMock) Informer

Informer calls InformerFunc.

func (*SourceCodeRepositoryControllerMock) InformerCalls

func (mock *SourceCodeRepositoryControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedSourceCodeRepositoryController.InformerCalls())

func (*SourceCodeRepositoryControllerMock) Lister

Lister calls ListerFunc.

func (*SourceCodeRepositoryControllerMock) ListerCalls

func (mock *SourceCodeRepositoryControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedSourceCodeRepositoryController.ListerCalls())

func (*SourceCodeRepositoryControllerMock) Start

func (mock *SourceCodeRepositoryControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*SourceCodeRepositoryControllerMock) StartCalls

func (mock *SourceCodeRepositoryControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedSourceCodeRepositoryController.StartCalls())

func (*SourceCodeRepositoryControllerMock) Sync

Sync calls SyncFunc.

func (*SourceCodeRepositoryControllerMock) SyncCalls

func (mock *SourceCodeRepositoryControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedSourceCodeRepositoryController.SyncCalls())

type SourceCodeRepositoryInterfaceMock

type SourceCodeRepositoryInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeRepositoryHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeRepositoryLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeRepositoryHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeRepositoryLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeRepositoryHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeRepositoryLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.SourceCodeRepositoryHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.SourceCodeRepositoryLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.SourceCodeRepositoryController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.SourceCodeRepository) (*v3.SourceCodeRepository, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.SourceCodeRepository, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeRepository, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.SourceCodeRepositoryList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.SourceCodeRepositoryList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.SourceCodeRepository) (*v3.SourceCodeRepository, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

SourceCodeRepositoryInterfaceMock is a mock implementation of SourceCodeRepositoryInterface.

    func TestSomethingThatUsesSourceCodeRepositoryInterface(t *testing.T) {

        // make and configure a mocked SourceCodeRepositoryInterface
        mockedSourceCodeRepositoryInterface := &SourceCodeRepositoryInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeRepositoryLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeRepositoryLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeRepositoryLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.SourceCodeRepositoryHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.SourceCodeRepositoryLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.SourceCodeRepositoryController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.SourceCodeRepository) (*v3.SourceCodeRepository, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.SourceCodeRepository, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeRepository, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.SourceCodeRepositoryList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.SourceCodeRepositoryList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.SourceCodeRepository) (*v3.SourceCodeRepository, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedSourceCodeRepositoryInterface in code that requires SourceCodeRepositoryInterface
        // and then make assertions.

    }

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureHandler

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.SourceCodeRepositoryHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.SourceCodeRepositoryHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddClusterScopedFeatureHandlerCalls())

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.SourceCodeRepositoryLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeRepositoryLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddClusterScopedFeatureLifecycleCalls())

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedHandler

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.SourceCodeRepositoryHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedHandlerCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.SourceCodeRepositoryHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddClusterScopedHandlerCalls())

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedLifecycle

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.SourceCodeRepositoryLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*SourceCodeRepositoryInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.SourceCodeRepositoryLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddClusterScopedLifecycleCalls())

func (*SourceCodeRepositoryInterfaceMock) AddFeatureHandler

func (mock *SourceCodeRepositoryInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.SourceCodeRepositoryHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*SourceCodeRepositoryInterfaceMock) AddFeatureHandlerCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.SourceCodeRepositoryHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddFeatureHandlerCalls())

func (*SourceCodeRepositoryInterfaceMock) AddFeatureLifecycle

func (mock *SourceCodeRepositoryInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.SourceCodeRepositoryLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*SourceCodeRepositoryInterfaceMock) AddFeatureLifecycleCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.SourceCodeRepositoryLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddFeatureLifecycleCalls())

func (*SourceCodeRepositoryInterfaceMock) AddHandler

AddHandler calls AddHandlerFunc.

func (*SourceCodeRepositoryInterfaceMock) AddHandlerCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.SourceCodeRepositoryHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddHandlerCalls())

func (*SourceCodeRepositoryInterfaceMock) AddLifecycle

AddLifecycle calls AddLifecycleFunc.

func (*SourceCodeRepositoryInterfaceMock) AddLifecycleCalls

func (mock *SourceCodeRepositoryInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.SourceCodeRepositoryLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedSourceCodeRepositoryInterface.AddLifecycleCalls())

func (*SourceCodeRepositoryInterfaceMock) Controller

Controller calls ControllerFunc.

func (*SourceCodeRepositoryInterfaceMock) ControllerCalls

func (mock *SourceCodeRepositoryInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedSourceCodeRepositoryInterface.ControllerCalls())

func (*SourceCodeRepositoryInterfaceMock) Create

Create calls CreateFunc.

func (*SourceCodeRepositoryInterfaceMock) CreateCalls

func (mock *SourceCodeRepositoryInterfaceMock) CreateCalls() []struct {
	In1 *v3.SourceCodeRepository
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedSourceCodeRepositoryInterface.CreateCalls())

func (*SourceCodeRepositoryInterfaceMock) Delete

func (mock *SourceCodeRepositoryInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*SourceCodeRepositoryInterfaceMock) DeleteCalls

func (mock *SourceCodeRepositoryInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedSourceCodeRepositoryInterface.DeleteCalls())

func (*SourceCodeRepositoryInterfaceMock) DeleteCollection

func (mock *SourceCodeRepositoryInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*SourceCodeRepositoryInterfaceMock) DeleteCollectionCalls

func (mock *SourceCodeRepositoryInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedSourceCodeRepositoryInterface.DeleteCollectionCalls())

func (*SourceCodeRepositoryInterfaceMock) DeleteNamespaced

func (mock *SourceCodeRepositoryInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*SourceCodeRepositoryInterfaceMock) DeleteNamespacedCalls

func (mock *SourceCodeRepositoryInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedSourceCodeRepositoryInterface.DeleteNamespacedCalls())

func (*SourceCodeRepositoryInterfaceMock) Get

Get calls GetFunc.

func (*SourceCodeRepositoryInterfaceMock) GetCalls

func (mock *SourceCodeRepositoryInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeRepositoryInterface.GetCalls())

func (*SourceCodeRepositoryInterfaceMock) GetNamespaced

func (mock *SourceCodeRepositoryInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.SourceCodeRepository, error)

GetNamespaced calls GetNamespacedFunc.

func (*SourceCodeRepositoryInterfaceMock) GetNamespacedCalls

func (mock *SourceCodeRepositoryInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedSourceCodeRepositoryInterface.GetNamespacedCalls())

func (*SourceCodeRepositoryInterfaceMock) List

List calls ListFunc.

func (*SourceCodeRepositoryInterfaceMock) ListCalls

func (mock *SourceCodeRepositoryInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeRepositoryInterface.ListCalls())

func (*SourceCodeRepositoryInterfaceMock) ListNamespaced

func (mock *SourceCodeRepositoryInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.SourceCodeRepositoryList, error)

ListNamespaced calls ListNamespacedFunc.

func (*SourceCodeRepositoryInterfaceMock) ListNamespacedCalls

func (mock *SourceCodeRepositoryInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedSourceCodeRepositoryInterface.ListNamespacedCalls())

func (*SourceCodeRepositoryInterfaceMock) ObjectClient

ObjectClient calls ObjectClientFunc.

func (*SourceCodeRepositoryInterfaceMock) ObjectClientCalls

func (mock *SourceCodeRepositoryInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedSourceCodeRepositoryInterface.ObjectClientCalls())

func (*SourceCodeRepositoryInterfaceMock) Update

Update calls UpdateFunc.

func (*SourceCodeRepositoryInterfaceMock) UpdateCalls

func (mock *SourceCodeRepositoryInterfaceMock) UpdateCalls() []struct {
	In1 *v3.SourceCodeRepository
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedSourceCodeRepositoryInterface.UpdateCalls())

func (*SourceCodeRepositoryInterfaceMock) Watch

Watch calls WatchFunc.

func (*SourceCodeRepositoryInterfaceMock) WatchCalls

func (mock *SourceCodeRepositoryInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedSourceCodeRepositoryInterface.WatchCalls())

type SourceCodeRepositoryListerMock

type SourceCodeRepositoryListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.SourceCodeRepository, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.SourceCodeRepository, error)
	// contains filtered or unexported fields
}

SourceCodeRepositoryListerMock is a mock implementation of SourceCodeRepositoryLister.

    func TestSomethingThatUsesSourceCodeRepositoryLister(t *testing.T) {

        // make and configure a mocked SourceCodeRepositoryLister
        mockedSourceCodeRepositoryLister := &SourceCodeRepositoryListerMock{
            GetFunc: func(namespace string, name string) (*v3.SourceCodeRepository, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.SourceCodeRepository, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedSourceCodeRepositoryLister in code that requires SourceCodeRepositoryLister
        // and then make assertions.

    }

func (*SourceCodeRepositoryListerMock) Get

Get calls GetFunc.

func (*SourceCodeRepositoryListerMock) GetCalls

func (mock *SourceCodeRepositoryListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedSourceCodeRepositoryLister.GetCalls())

func (*SourceCodeRepositoryListerMock) List

func (mock *SourceCodeRepositoryListerMock) List(namespace string, selector labels.Selector) ([]*v3.SourceCodeRepository, error)

List calls ListFunc.

func (*SourceCodeRepositoryListerMock) ListCalls

func (mock *SourceCodeRepositoryListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedSourceCodeRepositoryLister.ListCalls())

type WorkloadControllerMock

type WorkloadControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.WorkloadHandlerFunc)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v3.WorkloadHandlerFunc)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.WorkloadHandlerFunc)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, handler v3.WorkloadHandlerFunc)

	// EnqueueFunc mocks the Enqueue method.
	EnqueueFunc func(namespace string, name string)

	// EnqueueAfterFunc mocks the EnqueueAfter method.
	EnqueueAfterFunc func(namespace string, name string, after time.Duration)

	// GenericFunc mocks the Generic method.
	GenericFunc func() controller.GenericController

	// InformerFunc mocks the Informer method.
	InformerFunc func() cache.SharedIndexInformer

	// ListerFunc mocks the Lister method.
	ListerFunc func() v3.WorkloadLister

	// 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
}

WorkloadControllerMock is a mock implementation of WorkloadController.

    func TestSomethingThatUsesWorkloadController(t *testing.T) {

        // make and configure a mocked WorkloadController
        mockedWorkloadController := &WorkloadControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v3.WorkloadLister {
	               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 mockedWorkloadController in code that requires WorkloadController
        // and then make assertions.

    }

func (*WorkloadControllerMock) AddClusterScopedFeatureHandler

func (mock *WorkloadControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v3.WorkloadHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*WorkloadControllerMock) AddClusterScopedFeatureHandlerCalls

func (mock *WorkloadControllerMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Handler     v3.WorkloadHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedWorkloadController.AddClusterScopedFeatureHandlerCalls())

func (*WorkloadControllerMock) AddClusterScopedHandler

func (mock *WorkloadControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v3.WorkloadHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*WorkloadControllerMock) AddClusterScopedHandlerCalls

func (mock *WorkloadControllerMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Handler     v3.WorkloadHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedWorkloadController.AddClusterScopedHandlerCalls())

func (*WorkloadControllerMock) AddFeatureHandler

func (mock *WorkloadControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.WorkloadHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*WorkloadControllerMock) AddFeatureHandlerCalls

func (mock *WorkloadControllerMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.WorkloadHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedWorkloadController.AddFeatureHandlerCalls())

func (*WorkloadControllerMock) AddHandler

func (mock *WorkloadControllerMock) AddHandler(ctx context.Context, name string, handler v3.WorkloadHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*WorkloadControllerMock) AddHandlerCalls

func (mock *WorkloadControllerMock) AddHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler v3.WorkloadHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedWorkloadController.AddHandlerCalls())

func (*WorkloadControllerMock) Enqueue

func (mock *WorkloadControllerMock) Enqueue(namespace string, name string)

Enqueue calls EnqueueFunc.

func (*WorkloadControllerMock) EnqueueAfter

func (mock *WorkloadControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)

EnqueueAfter calls EnqueueAfterFunc.

func (*WorkloadControllerMock) EnqueueAfterCalls

func (mock *WorkloadControllerMock) EnqueueAfterCalls() []struct {
	Namespace string
	Name      string
	After     time.Duration
}

EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:

len(mockedWorkloadController.EnqueueAfterCalls())

func (*WorkloadControllerMock) EnqueueCalls

func (mock *WorkloadControllerMock) EnqueueCalls() []struct {
	Namespace string
	Name      string
}

EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:

len(mockedWorkloadController.EnqueueCalls())

func (*WorkloadControllerMock) Generic

Generic calls GenericFunc.

func (*WorkloadControllerMock) GenericCalls

func (mock *WorkloadControllerMock) GenericCalls() []struct {
}

GenericCalls gets all the calls that were made to Generic. Check the length with:

len(mockedWorkloadController.GenericCalls())

func (*WorkloadControllerMock) Informer

Informer calls InformerFunc.

func (*WorkloadControllerMock) InformerCalls

func (mock *WorkloadControllerMock) InformerCalls() []struct {
}

InformerCalls gets all the calls that were made to Informer. Check the length with:

len(mockedWorkloadController.InformerCalls())

func (*WorkloadControllerMock) Lister

func (mock *WorkloadControllerMock) Lister() v3.WorkloadLister

Lister calls ListerFunc.

func (*WorkloadControllerMock) ListerCalls

func (mock *WorkloadControllerMock) ListerCalls() []struct {
}

ListerCalls gets all the calls that were made to Lister. Check the length with:

len(mockedWorkloadController.ListerCalls())

func (*WorkloadControllerMock) Start

func (mock *WorkloadControllerMock) Start(ctx context.Context, threadiness int) error

Start calls StartFunc.

func (*WorkloadControllerMock) StartCalls

func (mock *WorkloadControllerMock) StartCalls() []struct {
	Ctx         context.Context
	Threadiness int
}

StartCalls gets all the calls that were made to Start. Check the length with:

len(mockedWorkloadController.StartCalls())

func (*WorkloadControllerMock) Sync

func (mock *WorkloadControllerMock) Sync(ctx context.Context) error

Sync calls SyncFunc.

func (*WorkloadControllerMock) SyncCalls

func (mock *WorkloadControllerMock) SyncCalls() []struct {
	Ctx context.Context
}

SyncCalls gets all the calls that were made to Sync. Check the length with:

len(mockedWorkloadController.SyncCalls())

type WorkloadInterfaceMock

type WorkloadInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.WorkloadHandlerFunc)

	// AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method.
	AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.WorkloadLifecycle)

	// AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method.
	AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v3.WorkloadHandlerFunc)

	// AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method.
	AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v3.WorkloadLifecycle)

	// AddFeatureHandlerFunc mocks the AddFeatureHandler method.
	AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v3.WorkloadHandlerFunc)

	// AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method.
	AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v3.WorkloadLifecycle)

	// AddHandlerFunc mocks the AddHandler method.
	AddHandlerFunc func(ctx context.Context, name string, sync v3.WorkloadHandlerFunc)

	// AddLifecycleFunc mocks the AddLifecycle method.
	AddLifecycleFunc func(ctx context.Context, name string, lifecycle v3.WorkloadLifecycle)

	// ControllerFunc mocks the Controller method.
	ControllerFunc func() v3.WorkloadController

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v3.Workload) (*v3.Workload, error)

	// DeleteFunc mocks the Delete method.
	DeleteFunc func(name string, options *v1.DeleteOptions) error

	// DeleteCollectionFunc mocks the DeleteCollection method.
	DeleteCollectionFunc func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

	// DeleteNamespacedFunc mocks the DeleteNamespaced method.
	DeleteNamespacedFunc func(namespace string, name string, options *v1.DeleteOptions) error

	// GetFunc mocks the Get method.
	GetFunc func(name string, opts v1.GetOptions) (*v3.Workload, error)

	// GetNamespacedFunc mocks the GetNamespaced method.
	GetNamespacedFunc func(namespace string, name string, opts v1.GetOptions) (*v3.Workload, error)

	// ListFunc mocks the List method.
	ListFunc func(opts v1.ListOptions) (*v3.WorkloadList, error)

	// ListNamespacedFunc mocks the ListNamespaced method.
	ListNamespacedFunc func(namespace string, opts v1.ListOptions) (*v3.WorkloadList, error)

	// ObjectClientFunc mocks the ObjectClient method.
	ObjectClientFunc func() *objectclient.ObjectClient

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v3.Workload) (*v3.Workload, error)

	// WatchFunc mocks the Watch method.
	WatchFunc func(opts v1.ListOptions) (watch.Interface, error)
	// contains filtered or unexported fields
}

WorkloadInterfaceMock is a mock implementation of WorkloadInterface.

    func TestSomethingThatUsesWorkloadInterface(t *testing.T) {

        // make and configure a mocked WorkloadInterface
        mockedWorkloadInterface := &WorkloadInterfaceMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.WorkloadLifecycle)  {
	               panic("mock out the AddClusterScopedFeatureLifecycle method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v3.WorkloadLifecycle)  {
	               panic("mock out the AddClusterScopedLifecycle method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v3.WorkloadLifecycle)  {
	               panic("mock out the AddFeatureLifecycle method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, sync v3.WorkloadHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v3.WorkloadLifecycle)  {
	               panic("mock out the AddLifecycle method")
            },
            ControllerFunc: func() v3.WorkloadController {
	               panic("mock out the Controller method")
            },
            CreateFunc: func(in1 *v3.Workload) (*v3.Workload, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(name string, options *v1.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            DeleteCollectionFunc: func(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error {
	               panic("mock out the DeleteCollection method")
            },
            DeleteNamespacedFunc: func(namespace string, name string, options *v1.DeleteOptions) error {
	               panic("mock out the DeleteNamespaced method")
            },
            GetFunc: func(name string, opts v1.GetOptions) (*v3.Workload, error) {
	               panic("mock out the Get method")
            },
            GetNamespacedFunc: func(namespace string, name string, opts v1.GetOptions) (*v3.Workload, error) {
	               panic("mock out the GetNamespaced method")
            },
            ListFunc: func(opts v1.ListOptions) (*v3.WorkloadList, error) {
	               panic("mock out the List method")
            },
            ListNamespacedFunc: func(namespace string, opts v1.ListOptions) (*v3.WorkloadList, error) {
	               panic("mock out the ListNamespaced method")
            },
            ObjectClientFunc: func() *objectclient.ObjectClient {
	               panic("mock out the ObjectClient method")
            },
            UpdateFunc: func(in1 *v3.Workload) (*v3.Workload, error) {
	               panic("mock out the Update method")
            },
            WatchFunc: func(opts v1.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedWorkloadInterface in code that requires WorkloadInterface
        // and then make assertions.

    }

func (*WorkloadInterfaceMock) AddClusterScopedFeatureHandler

func (mock *WorkloadInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v3.WorkloadHandlerFunc)

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*WorkloadInterfaceMock) AddClusterScopedFeatureHandlerCalls

func (mock *WorkloadInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Sync        v3.WorkloadHandlerFunc
}

AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:

len(mockedWorkloadInterface.AddClusterScopedFeatureHandlerCalls())

func (*WorkloadInterfaceMock) AddClusterScopedFeatureLifecycle

func (mock *WorkloadInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v3.WorkloadLifecycle)

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*WorkloadInterfaceMock) AddClusterScopedFeatureLifecycleCalls

func (mock *WorkloadInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct {
	Ctx         context.Context
	Enabled     func() bool
	Name        string
	ClusterName string
	Lifecycle   v3.WorkloadLifecycle
}

AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:

len(mockedWorkloadInterface.AddClusterScopedFeatureLifecycleCalls())

func (*WorkloadInterfaceMock) AddClusterScopedHandler

func (mock *WorkloadInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v3.WorkloadHandlerFunc)

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*WorkloadInterfaceMock) AddClusterScopedHandlerCalls

func (mock *WorkloadInterfaceMock) AddClusterScopedHandlerCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Sync        v3.WorkloadHandlerFunc
}

AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:

len(mockedWorkloadInterface.AddClusterScopedHandlerCalls())

func (*WorkloadInterfaceMock) AddClusterScopedLifecycle

func (mock *WorkloadInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v3.WorkloadLifecycle)

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*WorkloadInterfaceMock) AddClusterScopedLifecycleCalls

func (mock *WorkloadInterfaceMock) AddClusterScopedLifecycleCalls() []struct {
	Ctx         context.Context
	Name        string
	ClusterName string
	Lifecycle   v3.WorkloadLifecycle
}

AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:

len(mockedWorkloadInterface.AddClusterScopedLifecycleCalls())

func (*WorkloadInterfaceMock) AddFeatureHandler

func (mock *WorkloadInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v3.WorkloadHandlerFunc)

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*WorkloadInterfaceMock) AddFeatureHandlerCalls

func (mock *WorkloadInterfaceMock) AddFeatureHandlerCalls() []struct {
	Ctx     context.Context
	Enabled func() bool
	Name    string
	Sync    v3.WorkloadHandlerFunc
}

AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:

len(mockedWorkloadInterface.AddFeatureHandlerCalls())

func (*WorkloadInterfaceMock) AddFeatureLifecycle

func (mock *WorkloadInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v3.WorkloadLifecycle)

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*WorkloadInterfaceMock) AddFeatureLifecycleCalls

func (mock *WorkloadInterfaceMock) AddFeatureLifecycleCalls() []struct {
	Ctx       context.Context
	Enabled   func() bool
	Name      string
	Lifecycle v3.WorkloadLifecycle
}

AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:

len(mockedWorkloadInterface.AddFeatureLifecycleCalls())

func (*WorkloadInterfaceMock) AddHandler

func (mock *WorkloadInterfaceMock) AddHandler(ctx context.Context, name string, sync v3.WorkloadHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*WorkloadInterfaceMock) AddHandlerCalls

func (mock *WorkloadInterfaceMock) AddHandlerCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v3.WorkloadHandlerFunc
}

AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:

len(mockedWorkloadInterface.AddHandlerCalls())

func (*WorkloadInterfaceMock) AddLifecycle

func (mock *WorkloadInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v3.WorkloadLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*WorkloadInterfaceMock) AddLifecycleCalls

func (mock *WorkloadInterfaceMock) AddLifecycleCalls() []struct {
	Ctx       context.Context
	Name      string
	Lifecycle v3.WorkloadLifecycle
}

AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:

len(mockedWorkloadInterface.AddLifecycleCalls())

func (*WorkloadInterfaceMock) Controller

func (mock *WorkloadInterfaceMock) Controller() v3.WorkloadController

Controller calls ControllerFunc.

func (*WorkloadInterfaceMock) ControllerCalls

func (mock *WorkloadInterfaceMock) ControllerCalls() []struct {
}

ControllerCalls gets all the calls that were made to Controller. Check the length with:

len(mockedWorkloadInterface.ControllerCalls())

func (*WorkloadInterfaceMock) Create

func (mock *WorkloadInterfaceMock) Create(in1 *v3.Workload) (*v3.Workload, error)

Create calls CreateFunc.

func (*WorkloadInterfaceMock) CreateCalls

func (mock *WorkloadInterfaceMock) CreateCalls() []struct {
	In1 *v3.Workload
}

CreateCalls gets all the calls that were made to Create. Check the length with:

len(mockedWorkloadInterface.CreateCalls())

func (*WorkloadInterfaceMock) Delete

func (mock *WorkloadInterfaceMock) Delete(name string, options *v1.DeleteOptions) error

Delete calls DeleteFunc.

func (*WorkloadInterfaceMock) DeleteCalls

func (mock *WorkloadInterfaceMock) DeleteCalls() []struct {
	Name    string
	Options *v1.DeleteOptions
}

DeleteCalls gets all the calls that were made to Delete. Check the length with:

len(mockedWorkloadInterface.DeleteCalls())

func (*WorkloadInterfaceMock) DeleteCollection

func (mock *WorkloadInterfaceMock) DeleteCollection(deleteOpts *v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection calls DeleteCollectionFunc.

func (*WorkloadInterfaceMock) DeleteCollectionCalls

func (mock *WorkloadInterfaceMock) DeleteCollectionCalls() []struct {
	DeleteOpts *v1.DeleteOptions
	ListOpts   v1.ListOptions
}

DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:

len(mockedWorkloadInterface.DeleteCollectionCalls())

func (*WorkloadInterfaceMock) DeleteNamespaced

func (mock *WorkloadInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1.DeleteOptions) error

DeleteNamespaced calls DeleteNamespacedFunc.

func (*WorkloadInterfaceMock) DeleteNamespacedCalls

func (mock *WorkloadInterfaceMock) DeleteNamespacedCalls() []struct {
	Namespace string
	Name      string
	Options   *v1.DeleteOptions
}

DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:

len(mockedWorkloadInterface.DeleteNamespacedCalls())

func (*WorkloadInterfaceMock) Get

func (mock *WorkloadInterfaceMock) Get(name string, opts v1.GetOptions) (*v3.Workload, error)

Get calls GetFunc.

func (*WorkloadInterfaceMock) GetCalls

func (mock *WorkloadInterfaceMock) GetCalls() []struct {
	Name string
	Opts v1.GetOptions
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedWorkloadInterface.GetCalls())

func (*WorkloadInterfaceMock) GetNamespaced

func (mock *WorkloadInterfaceMock) GetNamespaced(namespace string, name string, opts v1.GetOptions) (*v3.Workload, error)

GetNamespaced calls GetNamespacedFunc.

func (*WorkloadInterfaceMock) GetNamespacedCalls

func (mock *WorkloadInterfaceMock) GetNamespacedCalls() []struct {
	Namespace string
	Name      string
	Opts      v1.GetOptions
}

GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:

len(mockedWorkloadInterface.GetNamespacedCalls())

func (*WorkloadInterfaceMock) List

List calls ListFunc.

func (*WorkloadInterfaceMock) ListCalls

func (mock *WorkloadInterfaceMock) ListCalls() []struct {
	Opts v1.ListOptions
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedWorkloadInterface.ListCalls())

func (*WorkloadInterfaceMock) ListNamespaced

func (mock *WorkloadInterfaceMock) ListNamespaced(namespace string, opts v1.ListOptions) (*v3.WorkloadList, error)

ListNamespaced calls ListNamespacedFunc.

func (*WorkloadInterfaceMock) ListNamespacedCalls

func (mock *WorkloadInterfaceMock) ListNamespacedCalls() []struct {
	Namespace string
	Opts      v1.ListOptions
}

ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:

len(mockedWorkloadInterface.ListNamespacedCalls())

func (*WorkloadInterfaceMock) ObjectClient

func (mock *WorkloadInterfaceMock) ObjectClient() *objectclient.ObjectClient

ObjectClient calls ObjectClientFunc.

func (*WorkloadInterfaceMock) ObjectClientCalls

func (mock *WorkloadInterfaceMock) ObjectClientCalls() []struct {
}

ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:

len(mockedWorkloadInterface.ObjectClientCalls())

func (*WorkloadInterfaceMock) Update

func (mock *WorkloadInterfaceMock) Update(in1 *v3.Workload) (*v3.Workload, error)

Update calls UpdateFunc.

func (*WorkloadInterfaceMock) UpdateCalls

func (mock *WorkloadInterfaceMock) UpdateCalls() []struct {
	In1 *v3.Workload
}

UpdateCalls gets all the calls that were made to Update. Check the length with:

len(mockedWorkloadInterface.UpdateCalls())

func (*WorkloadInterfaceMock) Watch

Watch calls WatchFunc.

func (*WorkloadInterfaceMock) WatchCalls

func (mock *WorkloadInterfaceMock) WatchCalls() []struct {
	Opts v1.ListOptions
}

WatchCalls gets all the calls that were made to Watch. Check the length with:

len(mockedWorkloadInterface.WatchCalls())

type WorkloadListerMock

type WorkloadListerMock struct {
	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v3.Workload, error)

	// ListFunc mocks the List method.
	ListFunc func(namespace string, selector labels.Selector) ([]*v3.Workload, error)
	// contains filtered or unexported fields
}

WorkloadListerMock is a mock implementation of WorkloadLister.

    func TestSomethingThatUsesWorkloadLister(t *testing.T) {

        // make and configure a mocked WorkloadLister
        mockedWorkloadLister := &WorkloadListerMock{
            GetFunc: func(namespace string, name string) (*v3.Workload, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v3.Workload, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedWorkloadLister in code that requires WorkloadLister
        // and then make assertions.

    }

func (*WorkloadListerMock) Get

func (mock *WorkloadListerMock) Get(namespace string, name string) (*v3.Workload, error)

Get calls GetFunc.

func (*WorkloadListerMock) GetCalls

func (mock *WorkloadListerMock) GetCalls() []struct {
	Namespace string
	Name      string
}

GetCalls gets all the calls that were made to Get. Check the length with:

len(mockedWorkloadLister.GetCalls())

func (*WorkloadListerMock) List

func (mock *WorkloadListerMock) List(namespace string, selector labels.Selector) ([]*v3.Workload, error)

List calls ListFunc.

func (*WorkloadListerMock) ListCalls

func (mock *WorkloadListerMock) ListCalls() []struct {
	Namespace string
	Selector  labels.Selector
}

ListCalls gets all the calls that were made to List. Check the length with:

len(mockedWorkloadLister.ListCalls())

type WorkloadsGetterMock

type WorkloadsGetterMock struct {
	// WorkloadsFunc mocks the Workloads method.
	WorkloadsFunc func(namespace string) v3.WorkloadInterface
	// contains filtered or unexported fields
}

WorkloadsGetterMock is a mock implementation of WorkloadsGetter.

    func TestSomethingThatUsesWorkloadsGetter(t *testing.T) {

        // make and configure a mocked WorkloadsGetter
        mockedWorkloadsGetter := &WorkloadsGetterMock{
            WorkloadsFunc: func(namespace string) v3.WorkloadInterface {
	               panic("mock out the Workloads method")
            },
        }

        // use mockedWorkloadsGetter in code that requires WorkloadsGetter
        // and then make assertions.

    }

func (*WorkloadsGetterMock) Workloads

func (mock *WorkloadsGetterMock) Workloads(namespace string) v3.WorkloadInterface

Workloads calls WorkloadsFunc.

func (*WorkloadsGetterMock) WorkloadsCalls

func (mock *WorkloadsGetterMock) WorkloadsCalls() []struct {
	Namespace string
}

WorkloadsCalls gets all the calls that were made to Workloads. Check the length with:

len(mockedWorkloadsGetter.WorkloadsCalls())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL