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.