mock_cache

package
v0.0.0-...-eec02a6 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_cache is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIndexer

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

MockIndexer is a mock of Indexer interface.

func NewMockIndexer

func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer

NewMockIndexer creates a new mock instance.

func (*MockIndexer) Add

func (m *MockIndexer) Add(obj any) error

Add mocks base method.

func (*MockIndexer) AddIndexers

func (m *MockIndexer) AddIndexers(newIndexers cache.Indexers) error

AddIndexers mocks base method.

func (*MockIndexer) Bookmark

func (m *MockIndexer) Bookmark(rv string)

Bookmark mocks base method.

func (*MockIndexer) ByIndex

func (m *MockIndexer) ByIndex(indexName, indexedValue string) ([]any, error)

ByIndex mocks base method.

func (*MockIndexer) Delete

func (m *MockIndexer) Delete(obj any) error

Delete mocks base method.

func (*MockIndexer) EXPECT

func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder

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

func (*MockIndexer) Get

func (m *MockIndexer) Get(obj any) (any, bool, error)

Get mocks base method.

func (*MockIndexer) GetByKey

func (m *MockIndexer) GetByKey(key string) (any, bool, error)

GetByKey mocks base method.

func (*MockIndexer) GetIndexers

func (m *MockIndexer) GetIndexers() cache.Indexers

GetIndexers mocks base method.

func (*MockIndexer) Index

func (m *MockIndexer) Index(indexName string, obj any) ([]any, error)

Index mocks base method.

func (*MockIndexer) IndexKeys

func (m *MockIndexer) IndexKeys(indexName, indexedValue string) ([]string, error)

IndexKeys mocks base method.

func (*MockIndexer) LastStoreSyncResourceVersion

func (m *MockIndexer) LastStoreSyncResourceVersion() string

LastStoreSyncResourceVersion mocks base method.

func (*MockIndexer) List

func (m *MockIndexer) List() []any

List mocks base method.

func (*MockIndexer) ListIndexFuncValues

func (m *MockIndexer) ListIndexFuncValues(indexName string) []string

ListIndexFuncValues mocks base method.

func (*MockIndexer) ListKeys

func (m *MockIndexer) ListKeys() []string

ListKeys mocks base method.

func (*MockIndexer) Replace

func (m *MockIndexer) Replace(arg0 []any, arg1 string) error

Replace mocks base method.

func (*MockIndexer) Resync

func (m *MockIndexer) Resync() error

Resync mocks base method.

func (*MockIndexer) Update

func (m *MockIndexer) Update(obj any) error

Update mocks base method.

type MockIndexerMockRecorder

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

MockIndexerMockRecorder is the mock recorder for MockIndexer.

func (*MockIndexerMockRecorder) Add

func (mr *MockIndexerMockRecorder) Add(obj any) *gomock.Call

Add indicates an expected call of Add.

func (*MockIndexerMockRecorder) AddIndexers

func (mr *MockIndexerMockRecorder) AddIndexers(newIndexers any) *gomock.Call

AddIndexers indicates an expected call of AddIndexers.

func (*MockIndexerMockRecorder) Bookmark

func (mr *MockIndexerMockRecorder) Bookmark(rv any) *gomock.Call

Bookmark indicates an expected call of Bookmark.

func (*MockIndexerMockRecorder) ByIndex

func (mr *MockIndexerMockRecorder) ByIndex(indexName, indexedValue any) *gomock.Call

ByIndex indicates an expected call of ByIndex.

func (*MockIndexerMockRecorder) Delete

func (mr *MockIndexerMockRecorder) Delete(obj any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIndexerMockRecorder) Get

func (mr *MockIndexerMockRecorder) Get(obj any) *gomock.Call

Get indicates an expected call of Get.

func (*MockIndexerMockRecorder) GetByKey

func (mr *MockIndexerMockRecorder) GetByKey(key any) *gomock.Call

GetByKey indicates an expected call of GetByKey.

func (*MockIndexerMockRecorder) GetIndexers

func (mr *MockIndexerMockRecorder) GetIndexers() *gomock.Call

GetIndexers indicates an expected call of GetIndexers.

func (*MockIndexerMockRecorder) Index

func (mr *MockIndexerMockRecorder) Index(indexName, obj any) *gomock.Call

Index indicates an expected call of Index.

func (*MockIndexerMockRecorder) IndexKeys

func (mr *MockIndexerMockRecorder) IndexKeys(indexName, indexedValue any) *gomock.Call

IndexKeys indicates an expected call of IndexKeys.

func (*MockIndexerMockRecorder) LastStoreSyncResourceVersion

func (mr *MockIndexerMockRecorder) LastStoreSyncResourceVersion() *gomock.Call

LastStoreSyncResourceVersion indicates an expected call of LastStoreSyncResourceVersion.

func (*MockIndexerMockRecorder) List

func (mr *MockIndexerMockRecorder) List() *gomock.Call

List indicates an expected call of List.

func (*MockIndexerMockRecorder) ListIndexFuncValues

func (mr *MockIndexerMockRecorder) ListIndexFuncValues(indexName any) *gomock.Call

ListIndexFuncValues indicates an expected call of ListIndexFuncValues.

func (*MockIndexerMockRecorder) ListKeys

func (mr *MockIndexerMockRecorder) ListKeys() *gomock.Call

ListKeys indicates an expected call of ListKeys.

func (*MockIndexerMockRecorder) Replace

func (mr *MockIndexerMockRecorder) Replace(arg0, arg1 any) *gomock.Call

Replace indicates an expected call of Replace.

func (*MockIndexerMockRecorder) Resync

func (mr *MockIndexerMockRecorder) Resync() *gomock.Call

Resync indicates an expected call of Resync.

func (*MockIndexerMockRecorder) Update

func (mr *MockIndexerMockRecorder) Update(obj any) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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