fakes

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonSetControllerMock

type DaemonSetControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.DaemonSetHandlerFunc)

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

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

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

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

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() v1a.DaemonSetLister
	// contains filtered or unexported fields
}

DaemonSetControllerMock is a mock implementation of DaemonSetController.

    func TestSomethingThatUsesDaemonSetController(t *testing.T) {

        // make and configure a mocked DaemonSetController
        mockedDaemonSetController := &DaemonSetControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.DaemonSetHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.DaemonSetHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.DaemonSetHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.DaemonSetHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v1a.DaemonSetLister {
	               panic("mock out the Lister method")
            },
        }

        // use mockedDaemonSetController in code that requires DaemonSetController
        // and then make assertions.

    }

func (*DaemonSetControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DaemonSetControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedDaemonSetController.AddClusterScopedFeatureHandlerCalls())

func (*DaemonSetControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DaemonSetControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedDaemonSetController.AddClusterScopedHandlerCalls())

func (*DaemonSetControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DaemonSetControllerMock) AddFeatureHandlerCalls

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

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

len(mockedDaemonSetController.AddFeatureHandlerCalls())

func (*DaemonSetControllerMock) AddHandler

func (mock *DaemonSetControllerMock) AddHandler(ctx context.Context, name string, handler v1a.DaemonSetHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*DaemonSetControllerMock) AddHandlerCalls

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

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

len(mockedDaemonSetController.AddHandlerCalls())

func (*DaemonSetControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*DaemonSetControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*DaemonSetControllerMock) EnqueueAfterCalls

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

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

len(mockedDaemonSetController.EnqueueAfterCalls())

func (*DaemonSetControllerMock) EnqueueCalls

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

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

len(mockedDaemonSetController.EnqueueCalls())

func (*DaemonSetControllerMock) Generic

Generic calls GenericFunc.

func (*DaemonSetControllerMock) GenericCalls

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

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

len(mockedDaemonSetController.GenericCalls())

func (*DaemonSetControllerMock) Informer

Informer calls InformerFunc.

func (*DaemonSetControllerMock) InformerCalls

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

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

len(mockedDaemonSetController.InformerCalls())

func (*DaemonSetControllerMock) Lister

Lister calls ListerFunc.

func (*DaemonSetControllerMock) ListerCalls

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

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

len(mockedDaemonSetController.ListerCalls())

type DaemonSetInterfaceMock

type DaemonSetInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.DaemonSetHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DaemonSetInterfaceMock is a mock implementation of DaemonSetInterface.

    func TestSomethingThatUsesDaemonSetInterface(t *testing.T) {

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

        // use mockedDaemonSetInterface in code that requires DaemonSetInterface
        // and then make assertions.

    }

func (*DaemonSetInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DaemonSetInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedDaemonSetInterface.AddClusterScopedFeatureHandlerCalls())

func (*DaemonSetInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*DaemonSetInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedDaemonSetInterface.AddClusterScopedFeatureLifecycleCalls())

func (*DaemonSetInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DaemonSetInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedDaemonSetInterface.AddClusterScopedHandlerCalls())

func (*DaemonSetInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*DaemonSetInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedDaemonSetInterface.AddClusterScopedLifecycleCalls())

func (*DaemonSetInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DaemonSetInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedDaemonSetInterface.AddFeatureHandlerCalls())

func (*DaemonSetInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*DaemonSetInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedDaemonSetInterface.AddFeatureLifecycleCalls())

func (*DaemonSetInterfaceMock) AddHandler

func (mock *DaemonSetInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.DaemonSetHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*DaemonSetInterfaceMock) AddHandlerCalls

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

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

len(mockedDaemonSetInterface.AddHandlerCalls())

func (*DaemonSetInterfaceMock) AddLifecycle

func (mock *DaemonSetInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.DaemonSetLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*DaemonSetInterfaceMock) AddLifecycleCalls

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

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

len(mockedDaemonSetInterface.AddLifecycleCalls())

func (*DaemonSetInterfaceMock) Controller

func (mock *DaemonSetInterfaceMock) Controller() v1a.DaemonSetController

Controller calls ControllerFunc.

func (*DaemonSetInterfaceMock) ControllerCalls

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

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

len(mockedDaemonSetInterface.ControllerCalls())

func (*DaemonSetInterfaceMock) Create

func (mock *DaemonSetInterfaceMock) Create(in1 *v1.DaemonSet) (*v1.DaemonSet, error)

Create calls CreateFunc.

func (*DaemonSetInterfaceMock) CreateCalls

func (mock *DaemonSetInterfaceMock) CreateCalls() []struct {
	In1 *v1.DaemonSet
}

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

len(mockedDaemonSetInterface.CreateCalls())

func (*DaemonSetInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*DaemonSetInterfaceMock) DeleteCalls

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

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

len(mockedDaemonSetInterface.DeleteCalls())

func (*DaemonSetInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*DaemonSetInterfaceMock) DeleteCollectionCalls

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

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

len(mockedDaemonSetInterface.DeleteCollectionCalls())

func (*DaemonSetInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*DaemonSetInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedDaemonSetInterface.DeleteNamespacedCalls())

func (*DaemonSetInterfaceMock) Get

func (mock *DaemonSetInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.DaemonSet, error)

Get calls GetFunc.

func (*DaemonSetInterfaceMock) GetCalls

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

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

len(mockedDaemonSetInterface.GetCalls())

func (*DaemonSetInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*DaemonSetInterfaceMock) GetNamespacedCalls

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

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

len(mockedDaemonSetInterface.GetNamespacedCalls())

func (*DaemonSetInterfaceMock) List

List calls ListFunc.

func (*DaemonSetInterfaceMock) ListCalls

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

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

len(mockedDaemonSetInterface.ListCalls())

func (*DaemonSetInterfaceMock) ListNamespaced

func (mock *DaemonSetInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1.DaemonSetList, error)

ListNamespaced calls ListNamespacedFunc.

func (*DaemonSetInterfaceMock) ListNamespacedCalls

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

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

len(mockedDaemonSetInterface.ListNamespacedCalls())

func (*DaemonSetInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*DaemonSetInterfaceMock) ObjectClientCalls

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

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

len(mockedDaemonSetInterface.ObjectClientCalls())

func (*DaemonSetInterfaceMock) Update

func (mock *DaemonSetInterfaceMock) Update(in1 *v1.DaemonSet) (*v1.DaemonSet, error)

Update calls UpdateFunc.

func (*DaemonSetInterfaceMock) UpdateCalls

func (mock *DaemonSetInterfaceMock) UpdateCalls() []struct {
	In1 *v1.DaemonSet
}

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

len(mockedDaemonSetInterface.UpdateCalls())

func (*DaemonSetInterfaceMock) Watch

Watch calls WatchFunc.

func (*DaemonSetInterfaceMock) WatchCalls

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

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

len(mockedDaemonSetInterface.WatchCalls())

type DaemonSetListerMock

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

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

DaemonSetListerMock is a mock implementation of DaemonSetLister.

    func TestSomethingThatUsesDaemonSetLister(t *testing.T) {

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

        // use mockedDaemonSetLister in code that requires DaemonSetLister
        // and then make assertions.

    }

func (*DaemonSetListerMock) Get

func (mock *DaemonSetListerMock) Get(namespace string, name string) (*v1.DaemonSet, error)

Get calls GetFunc.

func (*DaemonSetListerMock) GetCalls

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

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

len(mockedDaemonSetLister.GetCalls())

func (*DaemonSetListerMock) List

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

List calls ListFunc.

func (*DaemonSetListerMock) ListCalls

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

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

len(mockedDaemonSetLister.ListCalls())

type DaemonSetsGetterMock

type DaemonSetsGetterMock struct {
	// DaemonSetsFunc mocks the DaemonSets method.
	DaemonSetsFunc func(namespace string) v1a.DaemonSetInterface
	// contains filtered or unexported fields
}

DaemonSetsGetterMock is a mock implementation of DaemonSetsGetter.

    func TestSomethingThatUsesDaemonSetsGetter(t *testing.T) {

        // make and configure a mocked DaemonSetsGetter
        mockedDaemonSetsGetter := &DaemonSetsGetterMock{
            DaemonSetsFunc: func(namespace string) v1a.DaemonSetInterface {
	               panic("mock out the DaemonSets method")
            },
        }

        // use mockedDaemonSetsGetter in code that requires DaemonSetsGetter
        // and then make assertions.

    }

func (*DaemonSetsGetterMock) DaemonSets

func (mock *DaemonSetsGetterMock) DaemonSets(namespace string) v1a.DaemonSetInterface

DaemonSets calls DaemonSetsFunc.

func (*DaemonSetsGetterMock) DaemonSetsCalls

func (mock *DaemonSetsGetterMock) DaemonSetsCalls() []struct {
	Namespace string
}

DaemonSetsCalls gets all the calls that were made to DaemonSets. Check the length with:

len(mockedDaemonSetsGetter.DaemonSetsCalls())

type DeploymentControllerMock

type DeploymentControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.DeploymentHandlerFunc)

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

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

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

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

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() v1a.DeploymentLister
	// contains filtered or unexported fields
}

DeploymentControllerMock is a mock implementation of DeploymentController.

    func TestSomethingThatUsesDeploymentController(t *testing.T) {

        // make and configure a mocked DeploymentController
        mockedDeploymentController := &DeploymentControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.DeploymentHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.DeploymentHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.DeploymentHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.DeploymentHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v1a.DeploymentLister {
	               panic("mock out the Lister method")
            },
        }

        // use mockedDeploymentController in code that requires DeploymentController
        // and then make assertions.

    }

func (*DeploymentControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DeploymentControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedDeploymentController.AddClusterScopedFeatureHandlerCalls())

func (*DeploymentControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DeploymentControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedDeploymentController.AddClusterScopedHandlerCalls())

func (*DeploymentControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DeploymentControllerMock) AddFeatureHandlerCalls

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

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

len(mockedDeploymentController.AddFeatureHandlerCalls())

func (*DeploymentControllerMock) AddHandler

func (mock *DeploymentControllerMock) AddHandler(ctx context.Context, name string, handler v1a.DeploymentHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*DeploymentControllerMock) AddHandlerCalls

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

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

len(mockedDeploymentController.AddHandlerCalls())

func (*DeploymentControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*DeploymentControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*DeploymentControllerMock) EnqueueAfterCalls

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

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

len(mockedDeploymentController.EnqueueAfterCalls())

func (*DeploymentControllerMock) EnqueueCalls

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

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

len(mockedDeploymentController.EnqueueCalls())

func (*DeploymentControllerMock) Generic

Generic calls GenericFunc.

func (*DeploymentControllerMock) GenericCalls

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

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

len(mockedDeploymentController.GenericCalls())

func (*DeploymentControllerMock) Informer

Informer calls InformerFunc.

func (*DeploymentControllerMock) InformerCalls

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

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

len(mockedDeploymentController.InformerCalls())

func (*DeploymentControllerMock) Lister

Lister calls ListerFunc.

func (*DeploymentControllerMock) ListerCalls

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

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

len(mockedDeploymentController.ListerCalls())

type DeploymentInterfaceMock

type DeploymentInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.DeploymentHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

DeploymentInterfaceMock is a mock implementation of DeploymentInterface.

    func TestSomethingThatUsesDeploymentInterface(t *testing.T) {

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

        // use mockedDeploymentInterface in code that requires DeploymentInterface
        // and then make assertions.

    }

func (*DeploymentInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*DeploymentInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedDeploymentInterface.AddClusterScopedFeatureHandlerCalls())

func (*DeploymentInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*DeploymentInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedDeploymentInterface.AddClusterScopedFeatureLifecycleCalls())

func (*DeploymentInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*DeploymentInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedDeploymentInterface.AddClusterScopedHandlerCalls())

func (*DeploymentInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*DeploymentInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedDeploymentInterface.AddClusterScopedLifecycleCalls())

func (*DeploymentInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*DeploymentInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedDeploymentInterface.AddFeatureHandlerCalls())

func (*DeploymentInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*DeploymentInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedDeploymentInterface.AddFeatureLifecycleCalls())

func (*DeploymentInterfaceMock) AddHandler

func (mock *DeploymentInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.DeploymentHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*DeploymentInterfaceMock) AddHandlerCalls

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

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

len(mockedDeploymentInterface.AddHandlerCalls())

func (*DeploymentInterfaceMock) AddLifecycle

func (mock *DeploymentInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.DeploymentLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*DeploymentInterfaceMock) AddLifecycleCalls

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

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

len(mockedDeploymentInterface.AddLifecycleCalls())

func (*DeploymentInterfaceMock) Controller

Controller calls ControllerFunc.

func (*DeploymentInterfaceMock) ControllerCalls

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

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

len(mockedDeploymentInterface.ControllerCalls())

func (*DeploymentInterfaceMock) Create

func (mock *DeploymentInterfaceMock) Create(in1 *v1.Deployment) (*v1.Deployment, error)

Create calls CreateFunc.

func (*DeploymentInterfaceMock) CreateCalls

func (mock *DeploymentInterfaceMock) CreateCalls() []struct {
	In1 *v1.Deployment
}

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

len(mockedDeploymentInterface.CreateCalls())

func (*DeploymentInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*DeploymentInterfaceMock) DeleteCalls

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

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

len(mockedDeploymentInterface.DeleteCalls())

func (*DeploymentInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*DeploymentInterfaceMock) DeleteCollectionCalls

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

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

len(mockedDeploymentInterface.DeleteCollectionCalls())

func (*DeploymentInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*DeploymentInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedDeploymentInterface.DeleteNamespacedCalls())

func (*DeploymentInterfaceMock) Get

func (mock *DeploymentInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Deployment, error)

Get calls GetFunc.

func (*DeploymentInterfaceMock) GetCalls

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

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

len(mockedDeploymentInterface.GetCalls())

func (*DeploymentInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*DeploymentInterfaceMock) GetNamespacedCalls

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

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

len(mockedDeploymentInterface.GetNamespacedCalls())

func (*DeploymentInterfaceMock) List

List calls ListFunc.

func (*DeploymentInterfaceMock) ListCalls

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

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

len(mockedDeploymentInterface.ListCalls())

func (*DeploymentInterfaceMock) ListNamespaced

func (mock *DeploymentInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1.DeploymentList, error)

ListNamespaced calls ListNamespacedFunc.

func (*DeploymentInterfaceMock) ListNamespacedCalls

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

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

len(mockedDeploymentInterface.ListNamespacedCalls())

func (*DeploymentInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*DeploymentInterfaceMock) ObjectClientCalls

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

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

len(mockedDeploymentInterface.ObjectClientCalls())

func (*DeploymentInterfaceMock) Update

func (mock *DeploymentInterfaceMock) Update(in1 *v1.Deployment) (*v1.Deployment, error)

Update calls UpdateFunc.

func (*DeploymentInterfaceMock) UpdateCalls

func (mock *DeploymentInterfaceMock) UpdateCalls() []struct {
	In1 *v1.Deployment
}

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

len(mockedDeploymentInterface.UpdateCalls())

func (*DeploymentInterfaceMock) Watch

Watch calls WatchFunc.

func (*DeploymentInterfaceMock) WatchCalls

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

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

len(mockedDeploymentInterface.WatchCalls())

type DeploymentListerMock

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

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

DeploymentListerMock is a mock implementation of DeploymentLister.

    func TestSomethingThatUsesDeploymentLister(t *testing.T) {

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

        // use mockedDeploymentLister in code that requires DeploymentLister
        // and then make assertions.

    }

func (*DeploymentListerMock) Get

func (mock *DeploymentListerMock) Get(namespace string, name string) (*v1.Deployment, error)

Get calls GetFunc.

func (*DeploymentListerMock) GetCalls

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

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

len(mockedDeploymentLister.GetCalls())

func (*DeploymentListerMock) List

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

List calls ListFunc.

func (*DeploymentListerMock) ListCalls

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

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

len(mockedDeploymentLister.ListCalls())

type DeploymentsGetterMock

type DeploymentsGetterMock struct {
	// DeploymentsFunc mocks the Deployments method.
	DeploymentsFunc func(namespace string) v1a.DeploymentInterface
	// contains filtered or unexported fields
}

DeploymentsGetterMock is a mock implementation of DeploymentsGetter.

    func TestSomethingThatUsesDeploymentsGetter(t *testing.T) {

        // make and configure a mocked DeploymentsGetter
        mockedDeploymentsGetter := &DeploymentsGetterMock{
            DeploymentsFunc: func(namespace string) v1a.DeploymentInterface {
	               panic("mock out the Deployments method")
            },
        }

        // use mockedDeploymentsGetter in code that requires DeploymentsGetter
        // and then make assertions.

    }

func (*DeploymentsGetterMock) Deployments

func (mock *DeploymentsGetterMock) Deployments(namespace string) v1a.DeploymentInterface

Deployments calls DeploymentsFunc.

func (*DeploymentsGetterMock) DeploymentsCalls

func (mock *DeploymentsGetterMock) DeploymentsCalls() []struct {
	Namespace string
}

DeploymentsCalls gets all the calls that were made to Deployments. Check the length with:

len(mockedDeploymentsGetter.DeploymentsCalls())

type ReplicaSetControllerMock

type ReplicaSetControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ReplicaSetHandlerFunc)

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

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

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

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

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() v1a.ReplicaSetLister
	// contains filtered or unexported fields
}

ReplicaSetControllerMock is a mock implementation of ReplicaSetController.

    func TestSomethingThatUsesReplicaSetController(t *testing.T) {

        // make and configure a mocked ReplicaSetController
        mockedReplicaSetController := &ReplicaSetControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ReplicaSetHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ReplicaSetHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ReplicaSetHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ReplicaSetHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v1a.ReplicaSetLister {
	               panic("mock out the Lister method")
            },
        }

        // use mockedReplicaSetController in code that requires ReplicaSetController
        // and then make assertions.

    }

func (*ReplicaSetControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ReplicaSetControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedReplicaSetController.AddClusterScopedFeatureHandlerCalls())

func (*ReplicaSetControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ReplicaSetControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedReplicaSetController.AddClusterScopedHandlerCalls())

func (*ReplicaSetControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ReplicaSetControllerMock) AddFeatureHandlerCalls

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

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

len(mockedReplicaSetController.AddFeatureHandlerCalls())

func (*ReplicaSetControllerMock) AddHandler

func (mock *ReplicaSetControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ReplicaSetHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ReplicaSetControllerMock) AddHandlerCalls

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

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

len(mockedReplicaSetController.AddHandlerCalls())

func (*ReplicaSetControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*ReplicaSetControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*ReplicaSetControllerMock) EnqueueAfterCalls

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

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

len(mockedReplicaSetController.EnqueueAfterCalls())

func (*ReplicaSetControllerMock) EnqueueCalls

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

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

len(mockedReplicaSetController.EnqueueCalls())

func (*ReplicaSetControllerMock) Generic

Generic calls GenericFunc.

func (*ReplicaSetControllerMock) GenericCalls

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

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

len(mockedReplicaSetController.GenericCalls())

func (*ReplicaSetControllerMock) Informer

Informer calls InformerFunc.

func (*ReplicaSetControllerMock) InformerCalls

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

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

len(mockedReplicaSetController.InformerCalls())

func (*ReplicaSetControllerMock) Lister

Lister calls ListerFunc.

func (*ReplicaSetControllerMock) ListerCalls

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

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

len(mockedReplicaSetController.ListerCalls())

type ReplicaSetInterfaceMock

type ReplicaSetInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ReplicaSetHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ReplicaSetInterfaceMock is a mock implementation of ReplicaSetInterface.

    func TestSomethingThatUsesReplicaSetInterface(t *testing.T) {

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

        // use mockedReplicaSetInterface in code that requires ReplicaSetInterface
        // and then make assertions.

    }

func (*ReplicaSetInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*ReplicaSetInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedReplicaSetInterface.AddClusterScopedFeatureHandlerCalls())

func (*ReplicaSetInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*ReplicaSetInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedReplicaSetInterface.AddClusterScopedFeatureLifecycleCalls())

func (*ReplicaSetInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*ReplicaSetInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedReplicaSetInterface.AddClusterScopedHandlerCalls())

func (*ReplicaSetInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*ReplicaSetInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedReplicaSetInterface.AddClusterScopedLifecycleCalls())

func (*ReplicaSetInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*ReplicaSetInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedReplicaSetInterface.AddFeatureHandlerCalls())

func (*ReplicaSetInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*ReplicaSetInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedReplicaSetInterface.AddFeatureLifecycleCalls())

func (*ReplicaSetInterfaceMock) AddHandler

func (mock *ReplicaSetInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ReplicaSetHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*ReplicaSetInterfaceMock) AddHandlerCalls

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

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

len(mockedReplicaSetInterface.AddHandlerCalls())

func (*ReplicaSetInterfaceMock) AddLifecycle

func (mock *ReplicaSetInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ReplicaSetLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*ReplicaSetInterfaceMock) AddLifecycleCalls

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

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

len(mockedReplicaSetInterface.AddLifecycleCalls())

func (*ReplicaSetInterfaceMock) Controller

Controller calls ControllerFunc.

func (*ReplicaSetInterfaceMock) ControllerCalls

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

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

len(mockedReplicaSetInterface.ControllerCalls())

func (*ReplicaSetInterfaceMock) Create

func (mock *ReplicaSetInterfaceMock) Create(in1 *v1.ReplicaSet) (*v1.ReplicaSet, error)

Create calls CreateFunc.

func (*ReplicaSetInterfaceMock) CreateCalls

func (mock *ReplicaSetInterfaceMock) CreateCalls() []struct {
	In1 *v1.ReplicaSet
}

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

len(mockedReplicaSetInterface.CreateCalls())

func (*ReplicaSetInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*ReplicaSetInterfaceMock) DeleteCalls

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

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

len(mockedReplicaSetInterface.DeleteCalls())

func (*ReplicaSetInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*ReplicaSetInterfaceMock) DeleteCollectionCalls

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

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

len(mockedReplicaSetInterface.DeleteCollectionCalls())

func (*ReplicaSetInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*ReplicaSetInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedReplicaSetInterface.DeleteNamespacedCalls())

func (*ReplicaSetInterfaceMock) Get

func (mock *ReplicaSetInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ReplicaSet, error)

Get calls GetFunc.

func (*ReplicaSetInterfaceMock) GetCalls

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

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

len(mockedReplicaSetInterface.GetCalls())

func (*ReplicaSetInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*ReplicaSetInterfaceMock) GetNamespacedCalls

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

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

len(mockedReplicaSetInterface.GetNamespacedCalls())

func (*ReplicaSetInterfaceMock) List

List calls ListFunc.

func (*ReplicaSetInterfaceMock) ListCalls

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

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

len(mockedReplicaSetInterface.ListCalls())

func (*ReplicaSetInterfaceMock) ListNamespaced

func (mock *ReplicaSetInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1.ReplicaSetList, error)

ListNamespaced calls ListNamespacedFunc.

func (*ReplicaSetInterfaceMock) ListNamespacedCalls

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

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

len(mockedReplicaSetInterface.ListNamespacedCalls())

func (*ReplicaSetInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*ReplicaSetInterfaceMock) ObjectClientCalls

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

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

len(mockedReplicaSetInterface.ObjectClientCalls())

func (*ReplicaSetInterfaceMock) Update

func (mock *ReplicaSetInterfaceMock) Update(in1 *v1.ReplicaSet) (*v1.ReplicaSet, error)

Update calls UpdateFunc.

func (*ReplicaSetInterfaceMock) UpdateCalls

func (mock *ReplicaSetInterfaceMock) UpdateCalls() []struct {
	In1 *v1.ReplicaSet
}

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

len(mockedReplicaSetInterface.UpdateCalls())

func (*ReplicaSetInterfaceMock) Watch

Watch calls WatchFunc.

func (*ReplicaSetInterfaceMock) WatchCalls

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

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

len(mockedReplicaSetInterface.WatchCalls())

type ReplicaSetListerMock

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

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

ReplicaSetListerMock is a mock implementation of ReplicaSetLister.

    func TestSomethingThatUsesReplicaSetLister(t *testing.T) {

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

        // use mockedReplicaSetLister in code that requires ReplicaSetLister
        // and then make assertions.

    }

func (*ReplicaSetListerMock) Get

func (mock *ReplicaSetListerMock) Get(namespace string, name string) (*v1.ReplicaSet, error)

Get calls GetFunc.

func (*ReplicaSetListerMock) GetCalls

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

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

len(mockedReplicaSetLister.GetCalls())

func (*ReplicaSetListerMock) List

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

List calls ListFunc.

func (*ReplicaSetListerMock) ListCalls

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

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

len(mockedReplicaSetLister.ListCalls())

type ReplicaSetsGetterMock

type ReplicaSetsGetterMock struct {
	// ReplicaSetsFunc mocks the ReplicaSets method.
	ReplicaSetsFunc func(namespace string) v1a.ReplicaSetInterface
	// contains filtered or unexported fields
}

ReplicaSetsGetterMock is a mock implementation of ReplicaSetsGetter.

    func TestSomethingThatUsesReplicaSetsGetter(t *testing.T) {

        // make and configure a mocked ReplicaSetsGetter
        mockedReplicaSetsGetter := &ReplicaSetsGetterMock{
            ReplicaSetsFunc: func(namespace string) v1a.ReplicaSetInterface {
	               panic("mock out the ReplicaSets method")
            },
        }

        // use mockedReplicaSetsGetter in code that requires ReplicaSetsGetter
        // and then make assertions.

    }

func (*ReplicaSetsGetterMock) ReplicaSets

func (mock *ReplicaSetsGetterMock) ReplicaSets(namespace string) v1a.ReplicaSetInterface

ReplicaSets calls ReplicaSetsFunc.

func (*ReplicaSetsGetterMock) ReplicaSetsCalls

func (mock *ReplicaSetsGetterMock) ReplicaSetsCalls() []struct {
	Namespace string
}

ReplicaSetsCalls gets all the calls that were made to ReplicaSets. Check the length with:

len(mockedReplicaSetsGetter.ReplicaSetsCalls())

type StatefulSetControllerMock

type StatefulSetControllerMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.StatefulSetHandlerFunc)

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

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

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

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

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

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

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

	// ListerFunc mocks the Lister method.
	ListerFunc func() v1a.StatefulSetLister
	// contains filtered or unexported fields
}

StatefulSetControllerMock is a mock implementation of StatefulSetController.

    func TestSomethingThatUsesStatefulSetController(t *testing.T) {

        // make and configure a mocked StatefulSetController
        mockedStatefulSetController := &StatefulSetControllerMock{
            AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.StatefulSetHandlerFunc)  {
	               panic("mock out the AddClusterScopedFeatureHandler method")
            },
            AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.StatefulSetHandlerFunc)  {
	               panic("mock out the AddClusterScopedHandler method")
            },
            AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.StatefulSetHandlerFunc)  {
	               panic("mock out the AddFeatureHandler method")
            },
            AddHandlerFunc: func(ctx context.Context, name string, handler v1a.StatefulSetHandlerFunc)  {
	               panic("mock out the AddHandler method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            EnqueueAfterFunc: func(namespace string, name string, after time.Duration)  {
	               panic("mock out the EnqueueAfter method")
            },
            GenericFunc: func() controller.GenericController {
	               panic("mock out the Generic method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListerFunc: func() v1a.StatefulSetLister {
	               panic("mock out the Lister method")
            },
        }

        // use mockedStatefulSetController in code that requires StatefulSetController
        // and then make assertions.

    }

func (*StatefulSetControllerMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*StatefulSetControllerMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedStatefulSetController.AddClusterScopedFeatureHandlerCalls())

func (*StatefulSetControllerMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*StatefulSetControllerMock) AddClusterScopedHandlerCalls

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

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

len(mockedStatefulSetController.AddClusterScopedHandlerCalls())

func (*StatefulSetControllerMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*StatefulSetControllerMock) AddFeatureHandlerCalls

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

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

len(mockedStatefulSetController.AddFeatureHandlerCalls())

func (*StatefulSetControllerMock) AddHandler

func (mock *StatefulSetControllerMock) AddHandler(ctx context.Context, name string, handler v1a.StatefulSetHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*StatefulSetControllerMock) AddHandlerCalls

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

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

len(mockedStatefulSetController.AddHandlerCalls())

func (*StatefulSetControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*StatefulSetControllerMock) EnqueueAfter

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

EnqueueAfter calls EnqueueAfterFunc.

func (*StatefulSetControllerMock) EnqueueAfterCalls

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

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

len(mockedStatefulSetController.EnqueueAfterCalls())

func (*StatefulSetControllerMock) EnqueueCalls

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

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

len(mockedStatefulSetController.EnqueueCalls())

func (*StatefulSetControllerMock) Generic

Generic calls GenericFunc.

func (*StatefulSetControllerMock) GenericCalls

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

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

len(mockedStatefulSetController.GenericCalls())

func (*StatefulSetControllerMock) Informer

Informer calls InformerFunc.

func (*StatefulSetControllerMock) InformerCalls

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

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

len(mockedStatefulSetController.InformerCalls())

func (*StatefulSetControllerMock) Lister

Lister calls ListerFunc.

func (*StatefulSetControllerMock) ListerCalls

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

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

len(mockedStatefulSetController.ListerCalls())

type StatefulSetInterfaceMock

type StatefulSetInterfaceMock struct {
	// AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method.
	AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.StatefulSetHandlerFunc)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

StatefulSetInterfaceMock is a mock implementation of StatefulSetInterface.

    func TestSomethingThatUsesStatefulSetInterface(t *testing.T) {

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

        // use mockedStatefulSetInterface in code that requires StatefulSetInterface
        // and then make assertions.

    }

func (*StatefulSetInterfaceMock) AddClusterScopedFeatureHandler

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

AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.

func (*StatefulSetInterfaceMock) AddClusterScopedFeatureHandlerCalls

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

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

len(mockedStatefulSetInterface.AddClusterScopedFeatureHandlerCalls())

func (*StatefulSetInterfaceMock) AddClusterScopedFeatureLifecycle

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

AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.

func (*StatefulSetInterfaceMock) AddClusterScopedFeatureLifecycleCalls

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

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

len(mockedStatefulSetInterface.AddClusterScopedFeatureLifecycleCalls())

func (*StatefulSetInterfaceMock) AddClusterScopedHandler

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

AddClusterScopedHandler calls AddClusterScopedHandlerFunc.

func (*StatefulSetInterfaceMock) AddClusterScopedHandlerCalls

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

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

len(mockedStatefulSetInterface.AddClusterScopedHandlerCalls())

func (*StatefulSetInterfaceMock) AddClusterScopedLifecycle

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

AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.

func (*StatefulSetInterfaceMock) AddClusterScopedLifecycleCalls

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

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

len(mockedStatefulSetInterface.AddClusterScopedLifecycleCalls())

func (*StatefulSetInterfaceMock) AddFeatureHandler

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

AddFeatureHandler calls AddFeatureHandlerFunc.

func (*StatefulSetInterfaceMock) AddFeatureHandlerCalls

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

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

len(mockedStatefulSetInterface.AddFeatureHandlerCalls())

func (*StatefulSetInterfaceMock) AddFeatureLifecycle

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

AddFeatureLifecycle calls AddFeatureLifecycleFunc.

func (*StatefulSetInterfaceMock) AddFeatureLifecycleCalls

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

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

len(mockedStatefulSetInterface.AddFeatureLifecycleCalls())

func (*StatefulSetInterfaceMock) AddHandler

func (mock *StatefulSetInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.StatefulSetHandlerFunc)

AddHandler calls AddHandlerFunc.

func (*StatefulSetInterfaceMock) AddHandlerCalls

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

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

len(mockedStatefulSetInterface.AddHandlerCalls())

func (*StatefulSetInterfaceMock) AddLifecycle

func (mock *StatefulSetInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.StatefulSetLifecycle)

AddLifecycle calls AddLifecycleFunc.

func (*StatefulSetInterfaceMock) AddLifecycleCalls

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

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

len(mockedStatefulSetInterface.AddLifecycleCalls())

func (*StatefulSetInterfaceMock) Controller

Controller calls ControllerFunc.

func (*StatefulSetInterfaceMock) ControllerCalls

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

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

len(mockedStatefulSetInterface.ControllerCalls())

func (*StatefulSetInterfaceMock) Create

func (mock *StatefulSetInterfaceMock) Create(in1 *v1.StatefulSet) (*v1.StatefulSet, error)

Create calls CreateFunc.

func (*StatefulSetInterfaceMock) CreateCalls

func (mock *StatefulSetInterfaceMock) CreateCalls() []struct {
	In1 *v1.StatefulSet
}

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

len(mockedStatefulSetInterface.CreateCalls())

func (*StatefulSetInterfaceMock) Delete

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

Delete calls DeleteFunc.

func (*StatefulSetInterfaceMock) DeleteCalls

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

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

len(mockedStatefulSetInterface.DeleteCalls())

func (*StatefulSetInterfaceMock) DeleteCollection

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

DeleteCollection calls DeleteCollectionFunc.

func (*StatefulSetInterfaceMock) DeleteCollectionCalls

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

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

len(mockedStatefulSetInterface.DeleteCollectionCalls())

func (*StatefulSetInterfaceMock) DeleteNamespaced

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

DeleteNamespaced calls DeleteNamespacedFunc.

func (*StatefulSetInterfaceMock) DeleteNamespacedCalls

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

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

len(mockedStatefulSetInterface.DeleteNamespacedCalls())

func (*StatefulSetInterfaceMock) Get

func (mock *StatefulSetInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.StatefulSet, error)

Get calls GetFunc.

func (*StatefulSetInterfaceMock) GetCalls

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

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

len(mockedStatefulSetInterface.GetCalls())

func (*StatefulSetInterfaceMock) GetNamespaced

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

GetNamespaced calls GetNamespacedFunc.

func (*StatefulSetInterfaceMock) GetNamespacedCalls

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

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

len(mockedStatefulSetInterface.GetNamespacedCalls())

func (*StatefulSetInterfaceMock) List

List calls ListFunc.

func (*StatefulSetInterfaceMock) ListCalls

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

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

len(mockedStatefulSetInterface.ListCalls())

func (*StatefulSetInterfaceMock) ListNamespaced

func (mock *StatefulSetInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1.StatefulSetList, error)

ListNamespaced calls ListNamespacedFunc.

func (*StatefulSetInterfaceMock) ListNamespacedCalls

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

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

len(mockedStatefulSetInterface.ListNamespacedCalls())

func (*StatefulSetInterfaceMock) ObjectClient

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

ObjectClient calls ObjectClientFunc.

func (*StatefulSetInterfaceMock) ObjectClientCalls

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

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

len(mockedStatefulSetInterface.ObjectClientCalls())

func (*StatefulSetInterfaceMock) Update

func (mock *StatefulSetInterfaceMock) Update(in1 *v1.StatefulSet) (*v1.StatefulSet, error)

Update calls UpdateFunc.

func (*StatefulSetInterfaceMock) UpdateCalls

func (mock *StatefulSetInterfaceMock) UpdateCalls() []struct {
	In1 *v1.StatefulSet
}

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

len(mockedStatefulSetInterface.UpdateCalls())

func (*StatefulSetInterfaceMock) Watch

Watch calls WatchFunc.

func (*StatefulSetInterfaceMock) WatchCalls

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

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

len(mockedStatefulSetInterface.WatchCalls())

type StatefulSetListerMock

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

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

StatefulSetListerMock is a mock implementation of StatefulSetLister.

    func TestSomethingThatUsesStatefulSetLister(t *testing.T) {

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

        // use mockedStatefulSetLister in code that requires StatefulSetLister
        // and then make assertions.

    }

func (*StatefulSetListerMock) Get

func (mock *StatefulSetListerMock) Get(namespace string, name string) (*v1.StatefulSet, error)

Get calls GetFunc.

func (*StatefulSetListerMock) GetCalls

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

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

len(mockedStatefulSetLister.GetCalls())

func (*StatefulSetListerMock) List

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

List calls ListFunc.

func (*StatefulSetListerMock) ListCalls

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

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

len(mockedStatefulSetLister.ListCalls())

type StatefulSetsGetterMock

type StatefulSetsGetterMock struct {
	// StatefulSetsFunc mocks the StatefulSets method.
	StatefulSetsFunc func(namespace string) v1a.StatefulSetInterface
	// contains filtered or unexported fields
}

StatefulSetsGetterMock is a mock implementation of StatefulSetsGetter.

    func TestSomethingThatUsesStatefulSetsGetter(t *testing.T) {

        // make and configure a mocked StatefulSetsGetter
        mockedStatefulSetsGetter := &StatefulSetsGetterMock{
            StatefulSetsFunc: func(namespace string) v1a.StatefulSetInterface {
	               panic("mock out the StatefulSets method")
            },
        }

        // use mockedStatefulSetsGetter in code that requires StatefulSetsGetter
        // and then make assertions.

    }

func (*StatefulSetsGetterMock) StatefulSets

func (mock *StatefulSetsGetterMock) StatefulSets(namespace string) v1a.StatefulSetInterface

StatefulSets calls StatefulSetsFunc.

func (*StatefulSetsGetterMock) StatefulSetsCalls

func (mock *StatefulSetsGetterMock) StatefulSetsCalls() []struct {
	Namespace string
}

StatefulSetsCalls gets all the calls that were made to StatefulSets. Check the length with:

len(mockedStatefulSetsGetter.StatefulSetsCalls())

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL