fakes

package
v0.1.0-rc4 Latest Latest
Warning

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

Go to latest
Published: May 15, 2019 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 GitWebHookExecutionCacheMock

type GitWebHookExecutionCacheMock struct {
	// AddIndexerFunc mocks the AddIndexer method.
	AddIndexerFunc func(indexName string, indexer v1.GitWebHookExecutionIndexer)

	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1a.GitWebHookExecution, error)

	// GetByIndexFunc mocks the GetByIndex method.
	GetByIndexFunc func(indexName string, key string) ([]*v1a.GitWebHookExecution, error)

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

GitWebHookExecutionCacheMock is a mock implementation of GitWebHookExecutionCache.

    func TestSomethingThatUsesGitWebHookExecutionCache(t *testing.T) {

        // make and configure a mocked GitWebHookExecutionCache
        mockedGitWebHookExecutionCache := &GitWebHookExecutionCacheMock{
            AddIndexerFunc: func(indexName string, indexer v1.GitWebHookExecutionIndexer)  {
	               panic("mock out the AddIndexer method")
            },
            GetFunc: func(namespace string, name string) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Get method")
            },
            GetByIndexFunc: func(indexName string, key string) ([]*v1a.GitWebHookExecution, error) {
	               panic("mock out the GetByIndex method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1a.GitWebHookExecution, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGitWebHookExecutionCache in code that requires GitWebHookExecutionCache
        // and then make assertions.

    }

func (*GitWebHookExecutionCacheMock) AddIndexer

func (mock *GitWebHookExecutionCacheMock) AddIndexer(indexName string, indexer v1.GitWebHookExecutionIndexer)

AddIndexer calls AddIndexerFunc.

func (*GitWebHookExecutionCacheMock) AddIndexerCalls

func (mock *GitWebHookExecutionCacheMock) AddIndexerCalls() []struct {
	IndexName string
	Indexer   v1.GitWebHookExecutionIndexer
}

AddIndexerCalls gets all the calls that were made to AddIndexer. Check the length with:

len(mockedGitWebHookExecutionCache.AddIndexerCalls())

func (*GitWebHookExecutionCacheMock) Get

func (mock *GitWebHookExecutionCacheMock) Get(namespace string, name string) (*v1a.GitWebHookExecution, error)

Get calls GetFunc.

func (*GitWebHookExecutionCacheMock) GetByIndex

func (mock *GitWebHookExecutionCacheMock) GetByIndex(indexName string, key string) ([]*v1a.GitWebHookExecution, error)

GetByIndex calls GetByIndexFunc.

func (*GitWebHookExecutionCacheMock) GetByIndexCalls

func (mock *GitWebHookExecutionCacheMock) GetByIndexCalls() []struct {
	IndexName string
	Key       string
}

GetByIndexCalls gets all the calls that were made to GetByIndex. Check the length with:

len(mockedGitWebHookExecutionCache.GetByIndexCalls())

func (*GitWebHookExecutionCacheMock) GetCalls

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

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

len(mockedGitWebHookExecutionCache.GetCalls())

func (*GitWebHookExecutionCacheMock) List

func (mock *GitWebHookExecutionCacheMock) List(namespace string, selector labels.Selector) ([]*v1a.GitWebHookExecution, error)

List calls ListFunc.

func (*GitWebHookExecutionCacheMock) ListCalls

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

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

len(mockedGitWebHookExecutionCache.ListCalls())

type GitWebHookExecutionClientMock

type GitWebHookExecutionClientMock struct {
	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error)

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

	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookExecution, error)

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

	// PatchFunc mocks the Patch method.
	PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookExecution, error)

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error)

	// UpdateStatusFunc mocks the UpdateStatus method.
	UpdateStatusFunc func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error)

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

GitWebHookExecutionClientMock is a mock implementation of GitWebHookExecutionClient.

    func TestSomethingThatUsesGitWebHookExecutionClient(t *testing.T) {

        // make and configure a mocked GitWebHookExecutionClient
        mockedGitWebHookExecutionClient := &GitWebHookExecutionClientMock{
            CreateFunc: func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            GetFunc: func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, opts v1b.ListOptions) (*v1a.GitWebHookExecutionList, error) {
	               panic("mock out the List method")
            },
            PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Patch method")
            },
            UpdateFunc: func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Update method")
            },
            UpdateStatusFunc: func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the UpdateStatus method")
            },
            WatchFunc: func(namespace string, opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGitWebHookExecutionClient in code that requires GitWebHookExecutionClient
        // and then make assertions.

    }

func (*GitWebHookExecutionClientMock) Create

Create calls CreateFunc.

func (*GitWebHookExecutionClientMock) CreateCalls

func (mock *GitWebHookExecutionClientMock) CreateCalls() []struct {
	In1 *v1a.GitWebHookExecution
}

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

len(mockedGitWebHookExecutionClient.CreateCalls())

func (*GitWebHookExecutionClientMock) Delete

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

Delete calls DeleteFunc.

func (*GitWebHookExecutionClientMock) DeleteCalls

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

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

len(mockedGitWebHookExecutionClient.DeleteCalls())

func (*GitWebHookExecutionClientMock) Get

func (mock *GitWebHookExecutionClientMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookExecution, error)

Get calls GetFunc.

func (*GitWebHookExecutionClientMock) GetCalls

func (mock *GitWebHookExecutionClientMock) GetCalls() []struct {
	Namespace string
	Name      string
	Options   v1b.GetOptions
}

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

len(mockedGitWebHookExecutionClient.GetCalls())

func (*GitWebHookExecutionClientMock) List

List calls ListFunc.

func (*GitWebHookExecutionClientMock) ListCalls

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

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

len(mockedGitWebHookExecutionClient.ListCalls())

func (*GitWebHookExecutionClientMock) Patch

func (mock *GitWebHookExecutionClientMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookExecution, error)

Patch calls PatchFunc.

func (*GitWebHookExecutionClientMock) PatchCalls

func (mock *GitWebHookExecutionClientMock) PatchCalls() []struct {
	Namespace    string
	Name         string
	Pt           types.PatchType
	Data         []byte
	Subresources []string
}

PatchCalls gets all the calls that were made to Patch. Check the length with:

len(mockedGitWebHookExecutionClient.PatchCalls())

func (*GitWebHookExecutionClientMock) Update

Update calls UpdateFunc.

func (*GitWebHookExecutionClientMock) UpdateCalls

func (mock *GitWebHookExecutionClientMock) UpdateCalls() []struct {
	In1 *v1a.GitWebHookExecution
}

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

len(mockedGitWebHookExecutionClient.UpdateCalls())

func (*GitWebHookExecutionClientMock) UpdateStatus

UpdateStatus calls UpdateStatusFunc.

func (*GitWebHookExecutionClientMock) UpdateStatusCalls

func (mock *GitWebHookExecutionClientMock) UpdateStatusCalls() []struct {
	In1 *v1a.GitWebHookExecution
}

UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:

len(mockedGitWebHookExecutionClient.UpdateStatusCalls())

func (*GitWebHookExecutionClientMock) Watch

func (mock *GitWebHookExecutionClientMock) Watch(namespace string, opts v1b.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*GitWebHookExecutionClientMock) WatchCalls

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

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

len(mockedGitWebHookExecutionClient.WatchCalls())

type GitWebHookExecutionControllerMock

type GitWebHookExecutionControllerMock struct {
	// AddGenericHandlerFunc mocks the AddGenericHandler method.
	AddGenericHandlerFunc func(ctx context.Context, name string, handler generic.Handler)

	// AddGenericRemoveHandlerFunc mocks the AddGenericRemoveHandler method.
	AddGenericRemoveHandlerFunc func(ctx context.Context, name string, handler generic.Handler)

	// CacheFunc mocks the Cache method.
	CacheFunc func() v1.GitWebHookExecutionCache

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error)

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

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

	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookExecution, error)

	// GroupVersionKindFunc mocks the GroupVersionKind method.
	GroupVersionKindFunc func() schema.GroupVersionKind

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

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

	// OnChangeFunc mocks the OnChange method.
	OnChangeFunc func(ctx context.Context, name string, sync v1.GitWebHookExecutionHandler)

	// OnRemoveFunc mocks the OnRemove method.
	OnRemoveFunc func(ctx context.Context, name string, sync v1.GitWebHookExecutionHandler)

	// PatchFunc mocks the Patch method.
	PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookExecution, error)

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error)

	// UpdateStatusFunc mocks the UpdateStatus method.
	UpdateStatusFunc func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error)

	// UpdaterFunc mocks the Updater method.
	UpdaterFunc func() generic.Updater

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

GitWebHookExecutionControllerMock is a mock implementation of GitWebHookExecutionController.

    func TestSomethingThatUsesGitWebHookExecutionController(t *testing.T) {

        // make and configure a mocked GitWebHookExecutionController
        mockedGitWebHookExecutionController := &GitWebHookExecutionControllerMock{
            AddGenericHandlerFunc: func(ctx context.Context, name string, handler generic.Handler)  {
	               panic("mock out the AddGenericHandler method")
            },
            AddGenericRemoveHandlerFunc: func(ctx context.Context, name string, handler generic.Handler)  {
	               panic("mock out the AddGenericRemoveHandler method")
            },
            CacheFunc: func() v1.GitWebHookExecutionCache {
	               panic("mock out the Cache method")
            },
            CreateFunc: func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            GetFunc: func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Get method")
            },
            GroupVersionKindFunc: func() schema.GroupVersionKind {
	               panic("mock out the GroupVersionKind method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListFunc: func(namespace string, opts v1b.ListOptions) (*v1a.GitWebHookExecutionList, error) {
	               panic("mock out the List method")
            },
            OnChangeFunc: func(ctx context.Context, name string, sync v1.GitWebHookExecutionHandler)  {
	               panic("mock out the OnChange method")
            },
            OnRemoveFunc: func(ctx context.Context, name string, sync v1.GitWebHookExecutionHandler)  {
	               panic("mock out the OnRemove method")
            },
            PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Patch method")
            },
            UpdateFunc: func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the Update method")
            },
            UpdateStatusFunc: func(in1 *v1a.GitWebHookExecution) (*v1a.GitWebHookExecution, error) {
	               panic("mock out the UpdateStatus method")
            },
            UpdaterFunc: func() generic.Updater {
	               panic("mock out the Updater method")
            },
            WatchFunc: func(namespace string, opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGitWebHookExecutionController in code that requires GitWebHookExecutionController
        // and then make assertions.

    }

func (*GitWebHookExecutionControllerMock) AddGenericHandler

func (mock *GitWebHookExecutionControllerMock) AddGenericHandler(ctx context.Context, name string, handler generic.Handler)

AddGenericHandler calls AddGenericHandlerFunc.

func (*GitWebHookExecutionControllerMock) AddGenericHandlerCalls

func (mock *GitWebHookExecutionControllerMock) AddGenericHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler generic.Handler
}

AddGenericHandlerCalls gets all the calls that were made to AddGenericHandler. Check the length with:

len(mockedGitWebHookExecutionController.AddGenericHandlerCalls())

func (*GitWebHookExecutionControllerMock) AddGenericRemoveHandler

func (mock *GitWebHookExecutionControllerMock) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)

AddGenericRemoveHandler calls AddGenericRemoveHandlerFunc.

func (*GitWebHookExecutionControllerMock) AddGenericRemoveHandlerCalls

func (mock *GitWebHookExecutionControllerMock) AddGenericRemoveHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler generic.Handler
}

AddGenericRemoveHandlerCalls gets all the calls that were made to AddGenericRemoveHandler. Check the length with:

len(mockedGitWebHookExecutionController.AddGenericRemoveHandlerCalls())

func (*GitWebHookExecutionControllerMock) Cache

Cache calls CacheFunc.

func (*GitWebHookExecutionControllerMock) CacheCalls

func (mock *GitWebHookExecutionControllerMock) CacheCalls() []struct {
}

CacheCalls gets all the calls that were made to Cache. Check the length with:

len(mockedGitWebHookExecutionController.CacheCalls())

func (*GitWebHookExecutionControllerMock) Create

Create calls CreateFunc.

func (*GitWebHookExecutionControllerMock) CreateCalls

func (mock *GitWebHookExecutionControllerMock) CreateCalls() []struct {
	In1 *v1a.GitWebHookExecution
}

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

len(mockedGitWebHookExecutionController.CreateCalls())

func (*GitWebHookExecutionControllerMock) Delete

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

Delete calls DeleteFunc.

func (*GitWebHookExecutionControllerMock) DeleteCalls

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

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

len(mockedGitWebHookExecutionController.DeleteCalls())

func (*GitWebHookExecutionControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*GitWebHookExecutionControllerMock) EnqueueCalls

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

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

len(mockedGitWebHookExecutionController.EnqueueCalls())

func (*GitWebHookExecutionControllerMock) Get

Get calls GetFunc.

func (*GitWebHookExecutionControllerMock) GetCalls

func (mock *GitWebHookExecutionControllerMock) GetCalls() []struct {
	Namespace string
	Name      string
	Options   v1b.GetOptions
}

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

len(mockedGitWebHookExecutionController.GetCalls())

func (*GitWebHookExecutionControllerMock) GroupVersionKind

GroupVersionKind calls GroupVersionKindFunc.

func (*GitWebHookExecutionControllerMock) GroupVersionKindCalls

func (mock *GitWebHookExecutionControllerMock) GroupVersionKindCalls() []struct {
}

GroupVersionKindCalls gets all the calls that were made to GroupVersionKind. Check the length with:

len(mockedGitWebHookExecutionController.GroupVersionKindCalls())

func (*GitWebHookExecutionControllerMock) Informer

Informer calls InformerFunc.

func (*GitWebHookExecutionControllerMock) InformerCalls

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

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

len(mockedGitWebHookExecutionController.InformerCalls())

func (*GitWebHookExecutionControllerMock) List

List calls ListFunc.

func (*GitWebHookExecutionControllerMock) ListCalls

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

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

len(mockedGitWebHookExecutionController.ListCalls())

func (*GitWebHookExecutionControllerMock) OnChange

OnChange calls OnChangeFunc.

func (*GitWebHookExecutionControllerMock) OnChangeCalls

func (mock *GitWebHookExecutionControllerMock) OnChangeCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1.GitWebHookExecutionHandler
}

OnChangeCalls gets all the calls that were made to OnChange. Check the length with:

len(mockedGitWebHookExecutionController.OnChangeCalls())

func (*GitWebHookExecutionControllerMock) OnRemove

OnRemove calls OnRemoveFunc.

func (*GitWebHookExecutionControllerMock) OnRemoveCalls

func (mock *GitWebHookExecutionControllerMock) OnRemoveCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1.GitWebHookExecutionHandler
}

OnRemoveCalls gets all the calls that were made to OnRemove. Check the length with:

len(mockedGitWebHookExecutionController.OnRemoveCalls())

func (*GitWebHookExecutionControllerMock) Patch

func (mock *GitWebHookExecutionControllerMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookExecution, error)

Patch calls PatchFunc.

func (*GitWebHookExecutionControllerMock) PatchCalls

func (mock *GitWebHookExecutionControllerMock) PatchCalls() []struct {
	Namespace    string
	Name         string
	Pt           types.PatchType
	Data         []byte
	Subresources []string
}

PatchCalls gets all the calls that were made to Patch. Check the length with:

len(mockedGitWebHookExecutionController.PatchCalls())

func (*GitWebHookExecutionControllerMock) Update

Update calls UpdateFunc.

func (*GitWebHookExecutionControllerMock) UpdateCalls

func (mock *GitWebHookExecutionControllerMock) UpdateCalls() []struct {
	In1 *v1a.GitWebHookExecution
}

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

len(mockedGitWebHookExecutionController.UpdateCalls())

func (*GitWebHookExecutionControllerMock) UpdateStatus

UpdateStatus calls UpdateStatusFunc.

func (*GitWebHookExecutionControllerMock) UpdateStatusCalls

func (mock *GitWebHookExecutionControllerMock) UpdateStatusCalls() []struct {
	In1 *v1a.GitWebHookExecution
}

UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:

len(mockedGitWebHookExecutionController.UpdateStatusCalls())

func (*GitWebHookExecutionControllerMock) Updater

Updater calls UpdaterFunc.

func (*GitWebHookExecutionControllerMock) UpdaterCalls

func (mock *GitWebHookExecutionControllerMock) UpdaterCalls() []struct {
}

UpdaterCalls gets all the calls that were made to Updater. Check the length with:

len(mockedGitWebHookExecutionController.UpdaterCalls())

func (*GitWebHookExecutionControllerMock) Watch

Watch calls WatchFunc.

func (*GitWebHookExecutionControllerMock) WatchCalls

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

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

len(mockedGitWebHookExecutionController.WatchCalls())

type GitWebHookReceiverCacheMock

type GitWebHookReceiverCacheMock struct {
	// AddIndexerFunc mocks the AddIndexer method.
	AddIndexerFunc func(indexName string, indexer v1.GitWebHookReceiverIndexer)

	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string) (*v1a.GitWebHookReceiver, error)

	// GetByIndexFunc mocks the GetByIndex method.
	GetByIndexFunc func(indexName string, key string) ([]*v1a.GitWebHookReceiver, error)

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

GitWebHookReceiverCacheMock is a mock implementation of GitWebHookReceiverCache.

    func TestSomethingThatUsesGitWebHookReceiverCache(t *testing.T) {

        // make and configure a mocked GitWebHookReceiverCache
        mockedGitWebHookReceiverCache := &GitWebHookReceiverCacheMock{
            AddIndexerFunc: func(indexName string, indexer v1.GitWebHookReceiverIndexer)  {
	               panic("mock out the AddIndexer method")
            },
            GetFunc: func(namespace string, name string) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Get method")
            },
            GetByIndexFunc: func(indexName string, key string) ([]*v1a.GitWebHookReceiver, error) {
	               panic("mock out the GetByIndex method")
            },
            ListFunc: func(namespace string, selector labels.Selector) ([]*v1a.GitWebHookReceiver, error) {
	               panic("mock out the List method")
            },
        }

        // use mockedGitWebHookReceiverCache in code that requires GitWebHookReceiverCache
        // and then make assertions.

    }

func (*GitWebHookReceiverCacheMock) AddIndexer

func (mock *GitWebHookReceiverCacheMock) AddIndexer(indexName string, indexer v1.GitWebHookReceiverIndexer)

AddIndexer calls AddIndexerFunc.

func (*GitWebHookReceiverCacheMock) AddIndexerCalls

func (mock *GitWebHookReceiverCacheMock) AddIndexerCalls() []struct {
	IndexName string
	Indexer   v1.GitWebHookReceiverIndexer
}

AddIndexerCalls gets all the calls that were made to AddIndexer. Check the length with:

len(mockedGitWebHookReceiverCache.AddIndexerCalls())

func (*GitWebHookReceiverCacheMock) Get

func (mock *GitWebHookReceiverCacheMock) Get(namespace string, name string) (*v1a.GitWebHookReceiver, error)

Get calls GetFunc.

func (*GitWebHookReceiverCacheMock) GetByIndex

func (mock *GitWebHookReceiverCacheMock) GetByIndex(indexName string, key string) ([]*v1a.GitWebHookReceiver, error)

GetByIndex calls GetByIndexFunc.

func (*GitWebHookReceiverCacheMock) GetByIndexCalls

func (mock *GitWebHookReceiverCacheMock) GetByIndexCalls() []struct {
	IndexName string
	Key       string
}

GetByIndexCalls gets all the calls that were made to GetByIndex. Check the length with:

len(mockedGitWebHookReceiverCache.GetByIndexCalls())

func (*GitWebHookReceiverCacheMock) GetCalls

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

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

len(mockedGitWebHookReceiverCache.GetCalls())

func (*GitWebHookReceiverCacheMock) List

func (mock *GitWebHookReceiverCacheMock) List(namespace string, selector labels.Selector) ([]*v1a.GitWebHookReceiver, error)

List calls ListFunc.

func (*GitWebHookReceiverCacheMock) ListCalls

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

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

len(mockedGitWebHookReceiverCache.ListCalls())

type GitWebHookReceiverClientMock

type GitWebHookReceiverClientMock struct {
	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error)

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

	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookReceiver, error)

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

	// PatchFunc mocks the Patch method.
	PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookReceiver, error)

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error)

	// UpdateStatusFunc mocks the UpdateStatus method.
	UpdateStatusFunc func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error)

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

GitWebHookReceiverClientMock is a mock implementation of GitWebHookReceiverClient.

    func TestSomethingThatUsesGitWebHookReceiverClient(t *testing.T) {

        // make and configure a mocked GitWebHookReceiverClient
        mockedGitWebHookReceiverClient := &GitWebHookReceiverClientMock{
            CreateFunc: func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            GetFunc: func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Get method")
            },
            ListFunc: func(namespace string, opts v1b.ListOptions) (*v1a.GitWebHookReceiverList, error) {
	               panic("mock out the List method")
            },
            PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Patch method")
            },
            UpdateFunc: func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Update method")
            },
            UpdateStatusFunc: func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the UpdateStatus method")
            },
            WatchFunc: func(namespace string, opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGitWebHookReceiverClient in code that requires GitWebHookReceiverClient
        // and then make assertions.

    }

func (*GitWebHookReceiverClientMock) Create

Create calls CreateFunc.

func (*GitWebHookReceiverClientMock) CreateCalls

func (mock *GitWebHookReceiverClientMock) CreateCalls() []struct {
	In1 *v1a.GitWebHookReceiver
}

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

len(mockedGitWebHookReceiverClient.CreateCalls())

func (*GitWebHookReceiverClientMock) Delete

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

Delete calls DeleteFunc.

func (*GitWebHookReceiverClientMock) DeleteCalls

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

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

len(mockedGitWebHookReceiverClient.DeleteCalls())

func (*GitWebHookReceiverClientMock) Get

func (mock *GitWebHookReceiverClientMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookReceiver, error)

Get calls GetFunc.

func (*GitWebHookReceiverClientMock) GetCalls

func (mock *GitWebHookReceiverClientMock) GetCalls() []struct {
	Namespace string
	Name      string
	Options   v1b.GetOptions
}

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

len(mockedGitWebHookReceiverClient.GetCalls())

func (*GitWebHookReceiverClientMock) List

List calls ListFunc.

func (*GitWebHookReceiverClientMock) ListCalls

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

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

len(mockedGitWebHookReceiverClient.ListCalls())

func (*GitWebHookReceiverClientMock) Patch

func (mock *GitWebHookReceiverClientMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookReceiver, error)

Patch calls PatchFunc.

func (*GitWebHookReceiverClientMock) PatchCalls

func (mock *GitWebHookReceiverClientMock) PatchCalls() []struct {
	Namespace    string
	Name         string
	Pt           types.PatchType
	Data         []byte
	Subresources []string
}

PatchCalls gets all the calls that were made to Patch. Check the length with:

len(mockedGitWebHookReceiverClient.PatchCalls())

func (*GitWebHookReceiverClientMock) Update

Update calls UpdateFunc.

func (*GitWebHookReceiverClientMock) UpdateCalls

func (mock *GitWebHookReceiverClientMock) UpdateCalls() []struct {
	In1 *v1a.GitWebHookReceiver
}

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

len(mockedGitWebHookReceiverClient.UpdateCalls())

func (*GitWebHookReceiverClientMock) UpdateStatus

UpdateStatus calls UpdateStatusFunc.

func (*GitWebHookReceiverClientMock) UpdateStatusCalls

func (mock *GitWebHookReceiverClientMock) UpdateStatusCalls() []struct {
	In1 *v1a.GitWebHookReceiver
}

UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:

len(mockedGitWebHookReceiverClient.UpdateStatusCalls())

func (*GitWebHookReceiverClientMock) Watch

func (mock *GitWebHookReceiverClientMock) Watch(namespace string, opts v1b.ListOptions) (watch.Interface, error)

Watch calls WatchFunc.

func (*GitWebHookReceiverClientMock) WatchCalls

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

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

len(mockedGitWebHookReceiverClient.WatchCalls())

type GitWebHookReceiverControllerMock

type GitWebHookReceiverControllerMock struct {
	// AddGenericHandlerFunc mocks the AddGenericHandler method.
	AddGenericHandlerFunc func(ctx context.Context, name string, handler generic.Handler)

	// AddGenericRemoveHandlerFunc mocks the AddGenericRemoveHandler method.
	AddGenericRemoveHandlerFunc func(ctx context.Context, name string, handler generic.Handler)

	// CacheFunc mocks the Cache method.
	CacheFunc func() v1.GitWebHookReceiverCache

	// CreateFunc mocks the Create method.
	CreateFunc func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error)

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

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

	// GetFunc mocks the Get method.
	GetFunc func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookReceiver, error)

	// GroupVersionKindFunc mocks the GroupVersionKind method.
	GroupVersionKindFunc func() schema.GroupVersionKind

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

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

	// OnChangeFunc mocks the OnChange method.
	OnChangeFunc func(ctx context.Context, name string, sync v1.GitWebHookReceiverHandler)

	// OnRemoveFunc mocks the OnRemove method.
	OnRemoveFunc func(ctx context.Context, name string, sync v1.GitWebHookReceiverHandler)

	// PatchFunc mocks the Patch method.
	PatchFunc func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookReceiver, error)

	// UpdateFunc mocks the Update method.
	UpdateFunc func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error)

	// UpdateStatusFunc mocks the UpdateStatus method.
	UpdateStatusFunc func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error)

	// UpdaterFunc mocks the Updater method.
	UpdaterFunc func() generic.Updater

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

GitWebHookReceiverControllerMock is a mock implementation of GitWebHookReceiverController.

    func TestSomethingThatUsesGitWebHookReceiverController(t *testing.T) {

        // make and configure a mocked GitWebHookReceiverController
        mockedGitWebHookReceiverController := &GitWebHookReceiverControllerMock{
            AddGenericHandlerFunc: func(ctx context.Context, name string, handler generic.Handler)  {
	               panic("mock out the AddGenericHandler method")
            },
            AddGenericRemoveHandlerFunc: func(ctx context.Context, name string, handler generic.Handler)  {
	               panic("mock out the AddGenericRemoveHandler method")
            },
            CacheFunc: func() v1.GitWebHookReceiverCache {
	               panic("mock out the Cache method")
            },
            CreateFunc: func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Create method")
            },
            DeleteFunc: func(namespace string, name string, options *v1b.DeleteOptions) error {
	               panic("mock out the Delete method")
            },
            EnqueueFunc: func(namespace string, name string)  {
	               panic("mock out the Enqueue method")
            },
            GetFunc: func(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Get method")
            },
            GroupVersionKindFunc: func() schema.GroupVersionKind {
	               panic("mock out the GroupVersionKind method")
            },
            InformerFunc: func() cache.SharedIndexInformer {
	               panic("mock out the Informer method")
            },
            ListFunc: func(namespace string, opts v1b.ListOptions) (*v1a.GitWebHookReceiverList, error) {
	               panic("mock out the List method")
            },
            OnChangeFunc: func(ctx context.Context, name string, sync v1.GitWebHookReceiverHandler)  {
	               panic("mock out the OnChange method")
            },
            OnRemoveFunc: func(ctx context.Context, name string, sync v1.GitWebHookReceiverHandler)  {
	               panic("mock out the OnRemove method")
            },
            PatchFunc: func(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Patch method")
            },
            UpdateFunc: func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the Update method")
            },
            UpdateStatusFunc: func(in1 *v1a.GitWebHookReceiver) (*v1a.GitWebHookReceiver, error) {
	               panic("mock out the UpdateStatus method")
            },
            UpdaterFunc: func() generic.Updater {
	               panic("mock out the Updater method")
            },
            WatchFunc: func(namespace string, opts v1b.ListOptions) (watch.Interface, error) {
	               panic("mock out the Watch method")
            },
        }

        // use mockedGitWebHookReceiverController in code that requires GitWebHookReceiverController
        // and then make assertions.

    }

func (*GitWebHookReceiverControllerMock) AddGenericHandler

func (mock *GitWebHookReceiverControllerMock) AddGenericHandler(ctx context.Context, name string, handler generic.Handler)

AddGenericHandler calls AddGenericHandlerFunc.

func (*GitWebHookReceiverControllerMock) AddGenericHandlerCalls

func (mock *GitWebHookReceiverControllerMock) AddGenericHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler generic.Handler
}

AddGenericHandlerCalls gets all the calls that were made to AddGenericHandler. Check the length with:

len(mockedGitWebHookReceiverController.AddGenericHandlerCalls())

func (*GitWebHookReceiverControllerMock) AddGenericRemoveHandler

func (mock *GitWebHookReceiverControllerMock) AddGenericRemoveHandler(ctx context.Context, name string, handler generic.Handler)

AddGenericRemoveHandler calls AddGenericRemoveHandlerFunc.

func (*GitWebHookReceiverControllerMock) AddGenericRemoveHandlerCalls

func (mock *GitWebHookReceiverControllerMock) AddGenericRemoveHandlerCalls() []struct {
	Ctx     context.Context
	Name    string
	Handler generic.Handler
}

AddGenericRemoveHandlerCalls gets all the calls that were made to AddGenericRemoveHandler. Check the length with:

len(mockedGitWebHookReceiverController.AddGenericRemoveHandlerCalls())

func (*GitWebHookReceiverControllerMock) Cache

Cache calls CacheFunc.

func (*GitWebHookReceiverControllerMock) CacheCalls

func (mock *GitWebHookReceiverControllerMock) CacheCalls() []struct {
}

CacheCalls gets all the calls that were made to Cache. Check the length with:

len(mockedGitWebHookReceiverController.CacheCalls())

func (*GitWebHookReceiverControllerMock) Create

Create calls CreateFunc.

func (*GitWebHookReceiverControllerMock) CreateCalls

func (mock *GitWebHookReceiverControllerMock) CreateCalls() []struct {
	In1 *v1a.GitWebHookReceiver
}

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

len(mockedGitWebHookReceiverController.CreateCalls())

func (*GitWebHookReceiverControllerMock) Delete

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

Delete calls DeleteFunc.

func (*GitWebHookReceiverControllerMock) DeleteCalls

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

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

len(mockedGitWebHookReceiverController.DeleteCalls())

func (*GitWebHookReceiverControllerMock) Enqueue

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

Enqueue calls EnqueueFunc.

func (*GitWebHookReceiverControllerMock) EnqueueCalls

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

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

len(mockedGitWebHookReceiverController.EnqueueCalls())

func (*GitWebHookReceiverControllerMock) Get

func (mock *GitWebHookReceiverControllerMock) Get(namespace string, name string, options v1b.GetOptions) (*v1a.GitWebHookReceiver, error)

Get calls GetFunc.

func (*GitWebHookReceiverControllerMock) GetCalls

func (mock *GitWebHookReceiverControllerMock) GetCalls() []struct {
	Namespace string
	Name      string
	Options   v1b.GetOptions
}

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

len(mockedGitWebHookReceiverController.GetCalls())

func (*GitWebHookReceiverControllerMock) GroupVersionKind

func (mock *GitWebHookReceiverControllerMock) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind calls GroupVersionKindFunc.

func (*GitWebHookReceiverControllerMock) GroupVersionKindCalls

func (mock *GitWebHookReceiverControllerMock) GroupVersionKindCalls() []struct {
}

GroupVersionKindCalls gets all the calls that were made to GroupVersionKind. Check the length with:

len(mockedGitWebHookReceiverController.GroupVersionKindCalls())

func (*GitWebHookReceiverControllerMock) Informer

Informer calls InformerFunc.

func (*GitWebHookReceiverControllerMock) InformerCalls

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

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

len(mockedGitWebHookReceiverController.InformerCalls())

func (*GitWebHookReceiverControllerMock) List

List calls ListFunc.

func (*GitWebHookReceiverControllerMock) ListCalls

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

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

len(mockedGitWebHookReceiverController.ListCalls())

func (*GitWebHookReceiverControllerMock) OnChange

OnChange calls OnChangeFunc.

func (*GitWebHookReceiverControllerMock) OnChangeCalls

func (mock *GitWebHookReceiverControllerMock) OnChangeCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1.GitWebHookReceiverHandler
}

OnChangeCalls gets all the calls that were made to OnChange. Check the length with:

len(mockedGitWebHookReceiverController.OnChangeCalls())

func (*GitWebHookReceiverControllerMock) OnRemove

OnRemove calls OnRemoveFunc.

func (*GitWebHookReceiverControllerMock) OnRemoveCalls

func (mock *GitWebHookReceiverControllerMock) OnRemoveCalls() []struct {
	Ctx  context.Context
	Name string
	Sync v1.GitWebHookReceiverHandler
}

OnRemoveCalls gets all the calls that were made to OnRemove. Check the length with:

len(mockedGitWebHookReceiverController.OnRemoveCalls())

func (*GitWebHookReceiverControllerMock) Patch

func (mock *GitWebHookReceiverControllerMock) Patch(namespace string, name string, pt types.PatchType, data []byte, subresources ...string) (*v1a.GitWebHookReceiver, error)

Patch calls PatchFunc.

func (*GitWebHookReceiverControllerMock) PatchCalls

func (mock *GitWebHookReceiverControllerMock) PatchCalls() []struct {
	Namespace    string
	Name         string
	Pt           types.PatchType
	Data         []byte
	Subresources []string
}

PatchCalls gets all the calls that were made to Patch. Check the length with:

len(mockedGitWebHookReceiverController.PatchCalls())

func (*GitWebHookReceiverControllerMock) Update

Update calls UpdateFunc.

func (*GitWebHookReceiverControllerMock) UpdateCalls

func (mock *GitWebHookReceiverControllerMock) UpdateCalls() []struct {
	In1 *v1a.GitWebHookReceiver
}

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

len(mockedGitWebHookReceiverController.UpdateCalls())

func (*GitWebHookReceiverControllerMock) UpdateStatus

UpdateStatus calls UpdateStatusFunc.

func (*GitWebHookReceiverControllerMock) UpdateStatusCalls

func (mock *GitWebHookReceiverControllerMock) UpdateStatusCalls() []struct {
	In1 *v1a.GitWebHookReceiver
}

UpdateStatusCalls gets all the calls that were made to UpdateStatus. Check the length with:

len(mockedGitWebHookReceiverController.UpdateStatusCalls())

func (*GitWebHookReceiverControllerMock) Updater

Updater calls UpdaterFunc.

func (*GitWebHookReceiverControllerMock) UpdaterCalls

func (mock *GitWebHookReceiverControllerMock) UpdaterCalls() []struct {
}

UpdaterCalls gets all the calls that were made to Updater. Check the length with:

len(mockedGitWebHookReceiverController.UpdaterCalls())

func (*GitWebHookReceiverControllerMock) Watch

Watch calls WatchFunc.

func (*GitWebHookReceiverControllerMock) WatchCalls

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

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

len(mockedGitWebHookReceiverController.WatchCalls())

Jump to

Keyboard shortcuts

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