mocks

package
v0.8.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mock_dynamic is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBundleDeploymentCache

type MockBundleDeploymentCache struct {
	// contains filtered or unexported fields
}

MockBundleDeploymentCache is a mock of BundleDeploymentCache interface.

func NewMockBundleDeploymentCache

func NewMockBundleDeploymentCache(ctrl *gomock.Controller) *MockBundleDeploymentCache

NewMockBundleDeploymentCache creates a new mock instance.

func (*MockBundleDeploymentCache) AddIndexer

AddIndexer mocks base method.

func (*MockBundleDeploymentCache) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBundleDeploymentCache) Get

Get mocks base method.

func (*MockBundleDeploymentCache) GetByIndex

func (m *MockBundleDeploymentCache) GetByIndex(arg0, arg1 string) ([]*v1alpha1.BundleDeployment, error)

GetByIndex mocks base method.

func (*MockBundleDeploymentCache) List

List mocks base method.

type MockBundleDeploymentCacheMockRecorder

type MockBundleDeploymentCacheMockRecorder struct {
	// contains filtered or unexported fields
}

MockBundleDeploymentCacheMockRecorder is the mock recorder for MockBundleDeploymentCache.

func (*MockBundleDeploymentCacheMockRecorder) AddIndexer

func (mr *MockBundleDeploymentCacheMockRecorder) AddIndexer(arg0, arg1 interface{}) *gomock.Call

AddIndexer indicates an expected call of AddIndexer.

func (*MockBundleDeploymentCacheMockRecorder) Get

func (mr *MockBundleDeploymentCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockBundleDeploymentCacheMockRecorder) GetByIndex

func (mr *MockBundleDeploymentCacheMockRecorder) GetByIndex(arg0, arg1 interface{}) *gomock.Call

GetByIndex indicates an expected call of GetByIndex.

func (*MockBundleDeploymentCacheMockRecorder) List

func (mr *MockBundleDeploymentCacheMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) Resource

Resource mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Resource

func (mr *MockInterfaceMockRecorder) Resource(resource interface{}) *gomock.Call

Resource indicates an expected call of Resource.

type MockNamespaceController

type MockNamespaceController struct {
	// contains filtered or unexported fields
}

MockNamespaceController is a mock of NamespaceController interface.

func NewMockNamespaceController

func NewMockNamespaceController(ctrl *gomock.Controller) *MockNamespaceController

NewMockNamespaceController creates a new mock instance.

func (*MockNamespaceController) AddGenericHandler

func (m *MockNamespaceController) AddGenericHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericHandler mocks base method.

func (*MockNamespaceController) AddGenericRemoveHandler

func (m *MockNamespaceController) AddGenericRemoveHandler(arg0 context.Context, arg1 string, arg2 generic.Handler)

AddGenericRemoveHandler mocks base method.

func (*MockNamespaceController) Cache

Cache mocks base method.

func (*MockNamespaceController) Create

func (m *MockNamespaceController) Create(arg0 *v10.Namespace) (*v10.Namespace, error)

Create mocks base method.

func (*MockNamespaceController) Delete

func (m *MockNamespaceController) Delete(arg0 string, arg1 *v11.DeleteOptions) error

Delete mocks base method.

func (*MockNamespaceController) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNamespaceController) Enqueue

func (m *MockNamespaceController) Enqueue(arg0 string)

Enqueue mocks base method.

func (*MockNamespaceController) EnqueueAfter

func (m *MockNamespaceController) EnqueueAfter(arg0 string, arg1 time.Duration)

EnqueueAfter mocks base method.

func (*MockNamespaceController) Get

Get mocks base method.

func (*MockNamespaceController) GroupVersionKind

func (m *MockNamespaceController) GroupVersionKind() schema.GroupVersionKind

GroupVersionKind mocks base method.

func (*MockNamespaceController) Informer

Informer mocks base method.

func (*MockNamespaceController) List

List mocks base method.

func (*MockNamespaceController) OnChange

func (m *MockNamespaceController) OnChange(arg0 context.Context, arg1 string, arg2 v1.NamespaceHandler)

OnChange mocks base method.

func (*MockNamespaceController) OnRemove

func (m *MockNamespaceController) OnRemove(arg0 context.Context, arg1 string, arg2 v1.NamespaceHandler)

OnRemove mocks base method.

func (*MockNamespaceController) Patch

func (m *MockNamespaceController) Patch(arg0 string, arg1 types.PatchType, arg2 []byte, arg3 ...string) (*v10.Namespace, error)

Patch mocks base method.

func (*MockNamespaceController) Update

func (m *MockNamespaceController) Update(arg0 *v10.Namespace) (*v10.Namespace, error)

Update mocks base method.

func (*MockNamespaceController) UpdateStatus

func (m *MockNamespaceController) UpdateStatus(arg0 *v10.Namespace) (*v10.Namespace, error)

UpdateStatus mocks base method.

func (*MockNamespaceController) Updater

Updater mocks base method.

func (*MockNamespaceController) Watch

Watch mocks base method.

type MockNamespaceControllerMockRecorder

type MockNamespaceControllerMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceControllerMockRecorder is the mock recorder for MockNamespaceController.

func (*MockNamespaceControllerMockRecorder) AddGenericHandler

func (mr *MockNamespaceControllerMockRecorder) AddGenericHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericHandler indicates an expected call of AddGenericHandler.

func (*MockNamespaceControllerMockRecorder) AddGenericRemoveHandler

func (mr *MockNamespaceControllerMockRecorder) AddGenericRemoveHandler(arg0, arg1, arg2 interface{}) *gomock.Call

AddGenericRemoveHandler indicates an expected call of AddGenericRemoveHandler.

func (*MockNamespaceControllerMockRecorder) Cache

Cache indicates an expected call of Cache.

func (*MockNamespaceControllerMockRecorder) Create

func (mr *MockNamespaceControllerMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNamespaceControllerMockRecorder) Delete

func (mr *MockNamespaceControllerMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNamespaceControllerMockRecorder) Enqueue

func (mr *MockNamespaceControllerMockRecorder) Enqueue(arg0 interface{}) *gomock.Call

Enqueue indicates an expected call of Enqueue.

func (*MockNamespaceControllerMockRecorder) EnqueueAfter

func (mr *MockNamespaceControllerMockRecorder) EnqueueAfter(arg0, arg1 interface{}) *gomock.Call

EnqueueAfter indicates an expected call of EnqueueAfter.

func (*MockNamespaceControllerMockRecorder) Get

func (mr *MockNamespaceControllerMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockNamespaceControllerMockRecorder) GroupVersionKind

func (mr *MockNamespaceControllerMockRecorder) GroupVersionKind() *gomock.Call

GroupVersionKind indicates an expected call of GroupVersionKind.

func (*MockNamespaceControllerMockRecorder) Informer

Informer indicates an expected call of Informer.

func (*MockNamespaceControllerMockRecorder) List

func (mr *MockNamespaceControllerMockRecorder) List(arg0 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNamespaceControllerMockRecorder) OnChange

func (mr *MockNamespaceControllerMockRecorder) OnChange(arg0, arg1, arg2 interface{}) *gomock.Call

OnChange indicates an expected call of OnChange.

func (*MockNamespaceControllerMockRecorder) OnRemove

func (mr *MockNamespaceControllerMockRecorder) OnRemove(arg0, arg1, arg2 interface{}) *gomock.Call

OnRemove indicates an expected call of OnRemove.

func (*MockNamespaceControllerMockRecorder) Patch

func (mr *MockNamespaceControllerMockRecorder) Patch(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockNamespaceControllerMockRecorder) Update

func (mr *MockNamespaceControllerMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNamespaceControllerMockRecorder) UpdateStatus

func (mr *MockNamespaceControllerMockRecorder) UpdateStatus(arg0 interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockNamespaceControllerMockRecorder) Updater

Updater indicates an expected call of Updater.

func (*MockNamespaceControllerMockRecorder) Watch

func (mr *MockNamespaceControllerMockRecorder) Watch(arg0 interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockNamespaceableResourceInterface

type MockNamespaceableResourceInterface struct {
	// contains filtered or unexported fields
}

MockNamespaceableResourceInterface is a mock of NamespaceableResourceInterface interface.

func NewMockNamespaceableResourceInterface

func NewMockNamespaceableResourceInterface(ctrl *gomock.Controller) *MockNamespaceableResourceInterface

NewMockNamespaceableResourceInterface creates a new mock instance.

func (*MockNamespaceableResourceInterface) Create

Create mocks base method.

func (*MockNamespaceableResourceInterface) Delete

func (m *MockNamespaceableResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete mocks base method.

func (*MockNamespaceableResourceInterface) DeleteCollection

func (m *MockNamespaceableResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockNamespaceableResourceInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNamespaceableResourceInterface) Get

Get mocks base method.

func (*MockNamespaceableResourceInterface) List

List mocks base method.

func (*MockNamespaceableResourceInterface) Namespace

Namespace mocks base method.

func (*MockNamespaceableResourceInterface) Patch

func (m *MockNamespaceableResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch mocks base method.

func (*MockNamespaceableResourceInterface) Update

Update mocks base method.

func (*MockNamespaceableResourceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockNamespaceableResourceInterface) Watch

Watch mocks base method.

type MockNamespaceableResourceInterfaceMockRecorder

type MockNamespaceableResourceInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockNamespaceableResourceInterfaceMockRecorder is the mock recorder for MockNamespaceableResourceInterface.

func (*MockNamespaceableResourceInterfaceMockRecorder) Create

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNamespaceableResourceInterfaceMockRecorder) Delete

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection

func (mr *MockNamespaceableResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockNamespaceableResourceInterfaceMockRecorder) Get

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockNamespaceableResourceInterfaceMockRecorder) List

func (mr *MockNamespaceableResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNamespaceableResourceInterfaceMockRecorder) Namespace

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Namespace(arg0 interface{}) *gomock.Call

Namespace indicates an expected call of Namespace.

func (*MockNamespaceableResourceInterfaceMockRecorder) Patch

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockNamespaceableResourceInterfaceMockRecorder) Update

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus

func (mr *MockNamespaceableResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockNamespaceableResourceInterfaceMockRecorder) Watch

func (mr *MockNamespaceableResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

type MockResourceInterface

type MockResourceInterface struct {
	// contains filtered or unexported fields
}

MockResourceInterface is a mock of ResourceInterface interface.

func NewMockResourceInterface

func NewMockResourceInterface(ctrl *gomock.Controller) *MockResourceInterface

NewMockResourceInterface creates a new mock instance.

func (*MockResourceInterface) Create

Create mocks base method.

func (*MockResourceInterface) Delete

func (m *MockResourceInterface) Delete(ctx context.Context, name string, options v1.DeleteOptions, subresources ...string) error

Delete mocks base method.

func (*MockResourceInterface) DeleteCollection

func (m *MockResourceInterface) DeleteCollection(ctx context.Context, options v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection mocks base method.

func (*MockResourceInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResourceInterface) Get

func (m *MockResourceInterface) Get(ctx context.Context, name string, options v1.GetOptions, subresources ...string) (*unstructured.Unstructured, error)

Get mocks base method.

func (*MockResourceInterface) List

List mocks base method.

func (*MockResourceInterface) Patch

func (m *MockResourceInterface) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, options v1.PatchOptions, subresources ...string) (*unstructured.Unstructured, error)

Patch mocks base method.

func (*MockResourceInterface) Update

Update mocks base method.

func (*MockResourceInterface) UpdateStatus

UpdateStatus mocks base method.

func (*MockResourceInterface) Watch

Watch mocks base method.

type MockResourceInterfaceMockRecorder

type MockResourceInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockResourceInterfaceMockRecorder is the mock recorder for MockResourceInterface.

func (*MockResourceInterfaceMockRecorder) Create

func (mr *MockResourceInterfaceMockRecorder) Create(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockResourceInterfaceMockRecorder) Delete

func (mr *MockResourceInterfaceMockRecorder) Delete(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockResourceInterfaceMockRecorder) DeleteCollection

func (mr *MockResourceInterfaceMockRecorder) DeleteCollection(ctx, options, listOptions interface{}) *gomock.Call

DeleteCollection indicates an expected call of DeleteCollection.

func (*MockResourceInterfaceMockRecorder) Get

func (mr *MockResourceInterfaceMockRecorder) Get(ctx, name, options interface{}, subresources ...interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockResourceInterfaceMockRecorder) List

func (mr *MockResourceInterfaceMockRecorder) List(ctx, opts interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockResourceInterfaceMockRecorder) Patch

func (mr *MockResourceInterfaceMockRecorder) Patch(ctx, name, pt, data, options interface{}, subresources ...interface{}) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockResourceInterfaceMockRecorder) Update

func (mr *MockResourceInterfaceMockRecorder) Update(ctx, obj, options interface{}, subresources ...interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockResourceInterfaceMockRecorder) UpdateStatus

func (mr *MockResourceInterfaceMockRecorder) UpdateStatus(ctx, obj, options interface{}) *gomock.Call

UpdateStatus indicates an expected call of UpdateStatus.

func (*MockResourceInterfaceMockRecorder) Watch

func (mr *MockResourceInterfaceMockRecorder) Watch(ctx, opts interface{}) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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