Documentation
¶
Overview ¶
Package mock_cache is a generated GoMock package.
Index ¶
- type MockIndexer
- func (m *MockIndexer) Add(obj any) error
- func (m *MockIndexer) AddIndexers(newIndexers cache.Indexers) error
- func (m *MockIndexer) Bookmark(rv string)
- func (m *MockIndexer) ByIndex(indexName, indexedValue string) ([]any, error)
- func (m *MockIndexer) Delete(obj any) error
- func (m *MockIndexer) EXPECT() *MockIndexerMockRecorder
- func (m *MockIndexer) Get(obj any) (any, bool, error)
- func (m *MockIndexer) GetByKey(key string) (any, bool, error)
- func (m *MockIndexer) GetIndexers() cache.Indexers
- func (m *MockIndexer) Index(indexName string, obj any) ([]any, error)
- func (m *MockIndexer) IndexKeys(indexName, indexedValue string) ([]string, error)
- func (m *MockIndexer) LastStoreSyncResourceVersion() string
- func (m *MockIndexer) List() []any
- func (m *MockIndexer) ListIndexFuncValues(indexName string) []string
- func (m *MockIndexer) ListKeys() []string
- func (m *MockIndexer) Replace(arg0 []any, arg1 string) error
- func (m *MockIndexer) Resync() error
- func (m *MockIndexer) Update(obj any) error
- type MockIndexerMockRecorder
- func (mr *MockIndexerMockRecorder) Add(obj any) *gomock.Call
- func (mr *MockIndexerMockRecorder) AddIndexers(newIndexers any) *gomock.Call
- func (mr *MockIndexerMockRecorder) Bookmark(rv any) *gomock.Call
- func (mr *MockIndexerMockRecorder) ByIndex(indexName, indexedValue any) *gomock.Call
- func (mr *MockIndexerMockRecorder) Delete(obj any) *gomock.Call
- func (mr *MockIndexerMockRecorder) Get(obj any) *gomock.Call
- func (mr *MockIndexerMockRecorder) GetByKey(key any) *gomock.Call
- func (mr *MockIndexerMockRecorder) GetIndexers() *gomock.Call
- func (mr *MockIndexerMockRecorder) Index(indexName, obj any) *gomock.Call
- func (mr *MockIndexerMockRecorder) IndexKeys(indexName, indexedValue any) *gomock.Call
- func (mr *MockIndexerMockRecorder) LastStoreSyncResourceVersion() *gomock.Call
- func (mr *MockIndexerMockRecorder) List() *gomock.Call
- func (mr *MockIndexerMockRecorder) ListIndexFuncValues(indexName any) *gomock.Call
- func (mr *MockIndexerMockRecorder) ListKeys() *gomock.Call
- func (mr *MockIndexerMockRecorder) Replace(arg0, arg1 any) *gomock.Call
- func (mr *MockIndexerMockRecorder) Resync() *gomock.Call
- func (mr *MockIndexerMockRecorder) Update(obj any) *gomock.Call
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) 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) 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) ListIndexFuncValues ¶
func (m *MockIndexer) ListIndexFuncValues(indexName string) []string
ListIndexFuncValues mocks base method.
func (*MockIndexer) ListKeys ¶
func (m *MockIndexer) ListKeys() []string
ListKeys 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.