Documentation ¶
Overview ¶
Package mock_cache is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) Add(arg0 interface{}) error
- func (m *MockStore) Delete(arg0 interface{}) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) Get(arg0 interface{}) (interface{}, bool, error)
- func (m *MockStore) GetByKey(arg0 string) (interface{}, bool, error)
- func (m *MockStore) List() []interface{}
- func (m *MockStore) ListKeys() []string
- func (m *MockStore) Replace(arg0 []interface{}, arg1 string) error
- func (m *MockStore) Resync() error
- func (m *MockStore) Update(arg0 interface{}) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetByKey(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) List() *gomock.Call
- func (mr *MockStoreMockRecorder) ListKeys() *gomock.Call
- func (mr *MockStoreMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) Resync() *gomock.Call
- func (mr *MockStoreMockRecorder) Update(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) Add ¶
func (mr *MockStoreMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockStoreMockRecorder) Delete ¶
func (mr *MockStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockStoreMockRecorder) Get ¶
func (mr *MockStoreMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockStoreMockRecorder) GetByKey ¶
func (mr *MockStoreMockRecorder) GetByKey(arg0 interface{}) *gomock.Call
GetByKey indicates an expected call of GetByKey
func (*MockStoreMockRecorder) List ¶
func (mr *MockStoreMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockStoreMockRecorder) ListKeys ¶
func (mr *MockStoreMockRecorder) ListKeys() *gomock.Call
ListKeys indicates an expected call of ListKeys
func (*MockStoreMockRecorder) Replace ¶
func (mr *MockStoreMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call
Replace indicates an expected call of Replace
func (*MockStoreMockRecorder) Resync ¶
func (mr *MockStoreMockRecorder) Resync() *gomock.Call
Resync indicates an expected call of Resync
func (*MockStoreMockRecorder) Update ¶
func (mr *MockStoreMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update