Documentation ¶
Overview ¶
Package mock_storage is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) DictionaryGet(ctx context.Context, k []byte) ([]byte, error)
- func (m *MockStorage) DictionaryPut(ctx context.Context, k, v []byte) error
- func (m *MockStorage) DictionaryRemove(ctx context.Context, k []byte) error
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) MutexTryLock(arg0 context.Context) (bool, error)
- func (m *MockStorage) MutexUnlock(arg0 context.Context) error
- type MockStorageMockRecorder
- func (mr *MockStorageMockRecorder) DictionaryGet(ctx, k interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) DictionaryPut(ctx, k, v interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) DictionaryRemove(ctx, k interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) MutexTryLock(arg0 interface{}) *gomock.Call
- func (mr *MockStorageMockRecorder) MutexUnlock(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface.
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance.
func (*MockStorage) DictionaryGet ¶
DictionaryGet mocks base method.
func (*MockStorage) DictionaryPut ¶
func (m *MockStorage) DictionaryPut(ctx context.Context, k, v []byte) error
DictionaryPut mocks base method.
func (*MockStorage) DictionaryRemove ¶
func (m *MockStorage) DictionaryRemove(ctx context.Context, k []byte) error
DictionaryRemove mocks base method.
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStorage) MutexTryLock ¶
func (m *MockStorage) MutexTryLock(arg0 context.Context) (bool, error)
MutexTryLock mocks base method.
func (*MockStorage) MutexUnlock ¶
func (m *MockStorage) MutexUnlock(arg0 context.Context) error
MutexUnlock mocks base method.
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage.
func (*MockStorageMockRecorder) DictionaryGet ¶
func (mr *MockStorageMockRecorder) DictionaryGet(ctx, k interface{}) *gomock.Call
DictionaryGet indicates an expected call of DictionaryGet.
func (*MockStorageMockRecorder) DictionaryPut ¶
func (mr *MockStorageMockRecorder) DictionaryPut(ctx, k, v interface{}) *gomock.Call
DictionaryPut indicates an expected call of DictionaryPut.
func (*MockStorageMockRecorder) DictionaryRemove ¶
func (mr *MockStorageMockRecorder) DictionaryRemove(ctx, k interface{}) *gomock.Call
DictionaryRemove indicates an expected call of DictionaryRemove.
func (*MockStorageMockRecorder) MutexTryLock ¶
func (mr *MockStorageMockRecorder) MutexTryLock(arg0 interface{}) *gomock.Call
MutexTryLock indicates an expected call of MutexTryLock.
func (*MockStorageMockRecorder) MutexUnlock ¶
func (mr *MockStorageMockRecorder) MutexUnlock(arg0 interface{}) *gomock.Call
MutexUnlock indicates an expected call of MutexUnlock.