mock_storage

package
v0.0.0-...-86e4b03 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_storage is a generated GoMock package.

Index

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

func (m *MockStorage) DictionaryGet(ctx context.Context, k []byte) ([]byte, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL