Documentation ¶
Index ¶
- type MockIndexer
- func (_m *MockIndexer) Add(_param0 interface{}) error
- func (_m *MockIndexer) AddIndexers(_param0 cache.Indexers) error
- func (_m *MockIndexer) ByIndex(_param0 string, _param1 string) ([]interface{}, error)
- func (_m *MockIndexer) Delete(_param0 interface{}) error
- func (_m *MockIndexer) EXPECT() *_MockIndexerRecorder
- func (_m *MockIndexer) Get(_param0 interface{}) (interface{}, bool, error)
- func (_m *MockIndexer) GetByKey(_param0 string) (interface{}, bool, error)
- func (_m *MockIndexer) GetIndexers() cache.Indexers
- func (_m *MockIndexer) Index(_param0 string, _param1 interface{}) ([]interface{}, error)
- func (_m *MockIndexer) IndexKeys(_param0 string, _param1 string) ([]string, error)
- func (_m *MockIndexer) List() []interface{}
- func (_m *MockIndexer) ListIndexFuncValues(_param0 string) []string
- func (_m *MockIndexer) ListKeys() []string
- func (_m *MockIndexer) Replace(_param0 []interface{}, _param1 string) error
- func (_m *MockIndexer) Resync() error
- func (_m *MockIndexer) Update(_param0 interface{}) error
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
}
Mock of Indexer interface
func NewMockIndexer ¶
func NewMockIndexer(ctrl *gomock.Controller) *MockIndexer
func (*MockIndexer) Add ¶
func (_m *MockIndexer) Add(_param0 interface{}) error
func (*MockIndexer) AddIndexers ¶
func (_m *MockIndexer) AddIndexers(_param0 cache.Indexers) error
func (*MockIndexer) ByIndex ¶
func (_m *MockIndexer) ByIndex(_param0 string, _param1 string) ([]interface{}, error)
func (*MockIndexer) Delete ¶
func (_m *MockIndexer) Delete(_param0 interface{}) error
func (*MockIndexer) EXPECT ¶
func (_m *MockIndexer) EXPECT() *_MockIndexerRecorder
func (*MockIndexer) Get ¶
func (_m *MockIndexer) Get(_param0 interface{}) (interface{}, bool, error)
func (*MockIndexer) GetByKey ¶
func (_m *MockIndexer) GetByKey(_param0 string) (interface{}, bool, error)
func (*MockIndexer) GetIndexers ¶
func (_m *MockIndexer) GetIndexers() cache.Indexers
func (*MockIndexer) Index ¶
func (_m *MockIndexer) Index(_param0 string, _param1 interface{}) ([]interface{}, error)
func (*MockIndexer) IndexKeys ¶
func (_m *MockIndexer) IndexKeys(_param0 string, _param1 string) ([]string, error)
func (*MockIndexer) List ¶
func (_m *MockIndexer) List() []interface{}
func (*MockIndexer) ListIndexFuncValues ¶
func (_m *MockIndexer) ListIndexFuncValues(_param0 string) []string
func (*MockIndexer) ListKeys ¶
func (_m *MockIndexer) ListKeys() []string
func (*MockIndexer) Replace ¶
func (_m *MockIndexer) Replace(_param0 []interface{}, _param1 string) error
func (*MockIndexer) Resync ¶
func (_m *MockIndexer) Resync() error
func (*MockIndexer) Update ¶
func (_m *MockIndexer) Update(_param0 interface{}) error
Click to show internal directories.
Click to hide internal directories.