Documentation ¶
Overview ¶
Package mockstablestore is a generated GoMock package.
Index ¶
- func NewInmemStore() stablestore.StableStore
- type MockStableStore
- func (m *MockStableStore) EXPECT() *MockStableStoreMockRecorder
- func (m *MockStableStore) Get(key []byte) ([]byte, error)
- func (m *MockStableStore) GetUint64(key []byte) (uint64, error)
- func (m *MockStableStore) Set(key, val []byte) error
- func (m *MockStableStore) SetUint64(key []byte, val uint64) error
- type MockStableStoreMockRecorder
- func (mr *MockStableStoreMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockStableStoreMockRecorder) GetUint64(key interface{}) *gomock.Call
- func (mr *MockStableStoreMockRecorder) Set(key, val interface{}) *gomock.Call
- func (mr *MockStableStoreMockRecorder) SetUint64(key, val interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInmemStore ¶
func NewInmemStore() stablestore.StableStore
NewInmemStore returns in-memory stable store
Types ¶
type MockStableStore ¶
type MockStableStore struct {
// contains filtered or unexported fields
}
MockStableStore is a mock of StableStore interface
func NewMockStableStore ¶
func NewMockStableStore(ctrl *gomock.Controller) *MockStableStore
NewMockStableStore creates a new mock instance
func (*MockStableStore) EXPECT ¶
func (m *MockStableStore) EXPECT() *MockStableStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStableStore) Get ¶
func (m *MockStableStore) Get(key []byte) ([]byte, error)
Get mocks base method
func (*MockStableStore) GetUint64 ¶
func (m *MockStableStore) GetUint64(key []byte) (uint64, error)
GetUint64 mocks base method
func (*MockStableStore) Set ¶
func (m *MockStableStore) Set(key, val []byte) error
Set mocks base method
type MockStableStoreMockRecorder ¶
type MockStableStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStableStoreMockRecorder is the mock recorder for MockStableStore
func (*MockStableStoreMockRecorder) Get ¶
func (mr *MockStableStoreMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockStableStoreMockRecorder) GetUint64 ¶
func (mr *MockStableStoreMockRecorder) GetUint64(key interface{}) *gomock.Call
GetUint64 indicates an expected call of GetUint64
func (*MockStableStoreMockRecorder) Set ¶
func (mr *MockStableStoreMockRecorder) Set(key, val interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockStableStoreMockRecorder) SetUint64 ¶
func (mr *MockStableStoreMockRecorder) SetUint64(key, val interface{}) *gomock.Call
SetUint64 indicates an expected call of SetUint64
Click to show internal directories.
Click to hide internal directories.