Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockStoreInterface
- func (m *MockStoreInterface) Clear() error
- func (m *MockStoreInterface) Delete(key interface{}) error
- func (m *MockStoreInterface) EXPECT() *MockStoreInterfaceMockRecorder
- func (m *MockStoreInterface) Get(key interface{}) (interface{}, error)
- func (m *MockStoreInterface) GetType() string
- func (m *MockStoreInterface) GetWithTTL(key interface{}) (interface{}, time.Duration, error)
- func (m *MockStoreInterface) Invalidate(options store.InvalidateOptions) error
- func (m *MockStoreInterface) Set(key, value interface{}, options *store.Options) error
- type MockStoreInterfaceMockRecorder
- func (mr *MockStoreInterfaceMockRecorder) Clear() *gomock.Call
- func (mr *MockStoreInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
- func (mr *MockStoreInterfaceMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockStoreInterfaceMockRecorder) GetType() *gomock.Call
- func (mr *MockStoreInterfaceMockRecorder) GetWithTTL(key interface{}) *gomock.Call
- func (mr *MockStoreInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call
- func (mr *MockStoreInterfaceMockRecorder) Set(key, value, options interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStoreInterface ¶ added in v1.0.0
type MockStoreInterface struct {
// contains filtered or unexported fields
}
MockStoreInterface is a mock of StoreInterface interface.
func NewMockStoreInterface ¶ added in v1.0.0
func NewMockStoreInterface(ctrl *gomock.Controller) *MockStoreInterface
NewMockStoreInterface creates a new mock instance.
func (*MockStoreInterface) Clear ¶ added in v1.0.0
func (m *MockStoreInterface) Clear() error
Clear mocks base method.
func (*MockStoreInterface) Delete ¶ added in v1.0.0
func (m *MockStoreInterface) Delete(key interface{}) error
Delete mocks base method.
func (*MockStoreInterface) EXPECT ¶ added in v1.0.0
func (m *MockStoreInterface) EXPECT() *MockStoreInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStoreInterface) Get ¶ added in v1.0.0
func (m *MockStoreInterface) Get(key interface{}) (interface{}, error)
Get mocks base method.
func (*MockStoreInterface) GetType ¶ added in v1.0.0
func (m *MockStoreInterface) GetType() string
GetType mocks base method.
func (*MockStoreInterface) GetWithTTL ¶ added in v1.1.0
func (m *MockStoreInterface) GetWithTTL(key interface{}) (interface{}, time.Duration, error)
GetWithTTL mocks base method.
func (*MockStoreInterface) Invalidate ¶ added in v1.0.0
func (m *MockStoreInterface) Invalidate(options store.InvalidateOptions) error
Invalidate mocks base method.
type MockStoreInterfaceMockRecorder ¶ added in v1.0.0
type MockStoreInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreInterfaceMockRecorder is the mock recorder for MockStoreInterface.
func (*MockStoreInterfaceMockRecorder) Clear ¶ added in v1.0.0
func (mr *MockStoreInterfaceMockRecorder) Clear() *gomock.Call
Clear indicates an expected call of Clear.
func (*MockStoreInterfaceMockRecorder) Delete ¶ added in v1.0.0
func (mr *MockStoreInterfaceMockRecorder) Delete(key interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockStoreInterfaceMockRecorder) Get ¶ added in v1.0.0
func (mr *MockStoreInterfaceMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockStoreInterfaceMockRecorder) GetType ¶ added in v1.0.0
func (mr *MockStoreInterfaceMockRecorder) GetType() *gomock.Call
GetType indicates an expected call of GetType.
func (*MockStoreInterfaceMockRecorder) GetWithTTL ¶ added in v1.1.0
func (mr *MockStoreInterfaceMockRecorder) GetWithTTL(key interface{}) *gomock.Call
GetWithTTL indicates an expected call of GetWithTTL.
func (*MockStoreInterfaceMockRecorder) Invalidate ¶ added in v1.0.0
func (mr *MockStoreInterfaceMockRecorder) Invalidate(options interface{}) *gomock.Call
Invalidate indicates an expected call of Invalidate.
func (*MockStoreInterfaceMockRecorder) Set ¶ added in v1.0.0
func (mr *MockStoreInterfaceMockRecorder) Set(key, value, options interface{}) *gomock.Call
Set indicates an expected call of Set.