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