Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockHandle
- func (m *MockHandle) Begin()
- func (m *MockHandle) Commit() error
- func (m *MockHandle) EXPECT() *MockHandleMockRecorder
- func (m *MockHandle) Get(arg0 []byte) []byte
- func (m *MockHandle) GetN(arg0 []byte) (uint64, bool)
- func (m *MockHandle) GetNB(arg0 []byte) (uint64, []byte)
- func (m *MockHandle) Has(arg0 []byte) bool
- func (m *MockHandle) LastElement() (storage.Element, bool)
- func (m *MockHandle) NewFetchCursor() *storage.FetchCursor
- func (m *MockHandle) Put(arg0, arg1, arg2 []byte)
- func (m *MockHandle) PutN(arg0 []byte, arg1 uint64)
- func (m *MockHandle) Ready() bool
- func (m *MockHandle) Remove(arg0 []byte)
- type MockHandleMockRecorder
- func (mr *MockHandleMockRecorder) Begin() *gomock.Call
- func (mr *MockHandleMockRecorder) Commit() *gomock.Call
- func (mr *MockHandleMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) GetN(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) GetNB(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) LastElement() *gomock.Call
- func (mr *MockHandleMockRecorder) NewFetchCursor() *gomock.Call
- func (mr *MockHandleMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) PutN(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandleMockRecorder) Ready() *gomock.Call
- func (mr *MockHandleMockRecorder) Remove(arg0 interface{}) *gomock.Call
- type MockQuery
- type MockQueryMockRecorder
- type MockRetrieve
- func (m *MockRetrieve) EXPECT() *MockRetrieveMockRecorder
- func (m *MockRetrieve) Get(arg0 []byte) []byte
- func (m *MockRetrieve) GetN(arg0 []byte) (uint64, bool)
- func (m *MockRetrieve) GetNB(arg0 []byte) (uint64, []byte)
- func (m *MockRetrieve) LastElement() (storage.Element, bool)
- func (m *MockRetrieve) NewFetchCursor() *storage.FetchCursor
- type MockRetrieveMockRecorder
- func (mr *MockRetrieveMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockRetrieveMockRecorder) GetN(arg0 interface{}) *gomock.Call
- func (mr *MockRetrieveMockRecorder) GetNB(arg0 interface{}) *gomock.Call
- func (mr *MockRetrieveMockRecorder) LastElement() *gomock.Call
- func (mr *MockRetrieveMockRecorder) NewFetchCursor() *gomock.Call
- type MockUpdate
- type MockUpdateMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandle ¶
type MockHandle struct {
// contains filtered or unexported fields
}
MockHandle is a mock of Handle interface
func NewMockHandle ¶
func NewMockHandle(ctrl *gomock.Controller) *MockHandle
NewMockHandle creates a new mock instance
func (*MockHandle) EXPECT ¶
func (m *MockHandle) EXPECT() *MockHandleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHandle) GetN ¶
func (m *MockHandle) GetN(arg0 []byte) (uint64, bool)
GetN mocks base method
func (*MockHandle) GetNB ¶
func (m *MockHandle) GetNB(arg0 []byte) (uint64, []byte)
GetNB mocks base method
func (*MockHandle) LastElement ¶
func (m *MockHandle) LastElement() (storage.Element, bool)
LastElement mocks base method
func (*MockHandle) NewFetchCursor ¶
func (m *MockHandle) NewFetchCursor() *storage.FetchCursor
NewFetchCursor mocks base method
func (*MockHandle) PutN ¶
func (m *MockHandle) PutN(arg0 []byte, arg1 uint64)
PutN mocks base method
type MockHandleMockRecorder ¶
type MockHandleMockRecorder struct {
// contains filtered or unexported fields
}
MockHandleMockRecorder is the mock recorder for MockHandle
func (*MockHandleMockRecorder) Begin ¶
func (mr *MockHandleMockRecorder) Begin() *gomock.Call
Begin indicates an expected call of Begin
func (*MockHandleMockRecorder) Commit ¶
func (mr *MockHandleMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockHandleMockRecorder) Get ¶
func (mr *MockHandleMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockHandleMockRecorder) GetN ¶
func (mr *MockHandleMockRecorder) GetN(arg0 interface{}) *gomock.Call
GetN indicates an expected call of GetN
func (*MockHandleMockRecorder) GetNB ¶
func (mr *MockHandleMockRecorder) GetNB(arg0 interface{}) *gomock.Call
GetNB indicates an expected call of GetNB
func (*MockHandleMockRecorder) Has ¶
func (mr *MockHandleMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockHandleMockRecorder) LastElement ¶
func (mr *MockHandleMockRecorder) LastElement() *gomock.Call
LastElement indicates an expected call of LastElement
func (*MockHandleMockRecorder) NewFetchCursor ¶
func (mr *MockHandleMockRecorder) NewFetchCursor() *gomock.Call
NewFetchCursor indicates an expected call of NewFetchCursor
func (*MockHandleMockRecorder) Put ¶
func (mr *MockHandleMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockHandleMockRecorder) PutN ¶
func (mr *MockHandleMockRecorder) PutN(arg0, arg1 interface{}) *gomock.Call
PutN indicates an expected call of PutN
func (*MockHandleMockRecorder) Ready ¶
func (mr *MockHandleMockRecorder) Ready() *gomock.Call
Ready indicates an expected call of Ready
func (*MockHandleMockRecorder) Remove ¶
func (mr *MockHandleMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
type MockQuery ¶
type MockQuery struct {
// contains filtered or unexported fields
}
MockQuery is a mock of Query interface
func NewMockQuery ¶
func NewMockQuery(ctrl *gomock.Controller) *MockQuery
NewMockQuery creates a new mock instance
func (*MockQuery) EXPECT ¶
func (m *MockQuery) EXPECT() *MockQueryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockQueryMockRecorder ¶
type MockQueryMockRecorder struct {
// contains filtered or unexported fields
}
MockQueryMockRecorder is the mock recorder for MockQuery
func (*MockQueryMockRecorder) Has ¶
func (mr *MockQueryMockRecorder) Has(arg0 interface{}) *gomock.Call
Has indicates an expected call of Has
func (*MockQueryMockRecorder) Ready ¶
func (mr *MockQueryMockRecorder) Ready() *gomock.Call
Ready indicates an expected call of Ready
type MockRetrieve ¶
type MockRetrieve struct {
// contains filtered or unexported fields
}
MockRetrieve is a mock of Retrieve interface
func NewMockRetrieve ¶
func NewMockRetrieve(ctrl *gomock.Controller) *MockRetrieve
NewMockRetrieve creates a new mock instance
func (*MockRetrieve) EXPECT ¶
func (m *MockRetrieve) EXPECT() *MockRetrieveMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRetrieve) GetN ¶
func (m *MockRetrieve) GetN(arg0 []byte) (uint64, bool)
GetN mocks base method
func (*MockRetrieve) GetNB ¶
func (m *MockRetrieve) GetNB(arg0 []byte) (uint64, []byte)
GetNB mocks base method
func (*MockRetrieve) LastElement ¶
func (m *MockRetrieve) LastElement() (storage.Element, bool)
LastElement mocks base method
func (*MockRetrieve) NewFetchCursor ¶
func (m *MockRetrieve) NewFetchCursor() *storage.FetchCursor
NewFetchCursor mocks base method
type MockRetrieveMockRecorder ¶
type MockRetrieveMockRecorder struct {
// contains filtered or unexported fields
}
MockRetrieveMockRecorder is the mock recorder for MockRetrieve
func (*MockRetrieveMockRecorder) Get ¶
func (mr *MockRetrieveMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRetrieveMockRecorder) GetN ¶
func (mr *MockRetrieveMockRecorder) GetN(arg0 interface{}) *gomock.Call
GetN indicates an expected call of GetN
func (*MockRetrieveMockRecorder) GetNB ¶
func (mr *MockRetrieveMockRecorder) GetNB(arg0 interface{}) *gomock.Call
GetNB indicates an expected call of GetNB
func (*MockRetrieveMockRecorder) LastElement ¶
func (mr *MockRetrieveMockRecorder) LastElement() *gomock.Call
LastElement indicates an expected call of LastElement
func (*MockRetrieveMockRecorder) NewFetchCursor ¶
func (mr *MockRetrieveMockRecorder) NewFetchCursor() *gomock.Call
NewFetchCursor indicates an expected call of NewFetchCursor
type MockUpdate ¶
type MockUpdate struct {
// contains filtered or unexported fields
}
MockUpdate is a mock of Update interface
func NewMockUpdate ¶
func NewMockUpdate(ctrl *gomock.Controller) *MockUpdate
NewMockUpdate creates a new mock instance
func (*MockUpdate) EXPECT ¶
func (m *MockUpdate) EXPECT() *MockUpdateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpdate) PutN ¶
func (m *MockUpdate) PutN(arg0 []byte, arg1 uint64)
PutN mocks base method
type MockUpdateMockRecorder ¶
type MockUpdateMockRecorder struct {
// contains filtered or unexported fields
}
MockUpdateMockRecorder is the mock recorder for MockUpdate
func (*MockUpdateMockRecorder) Put ¶
func (mr *MockUpdateMockRecorder) Put(arg0, arg1, arg2 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockUpdateMockRecorder) PutN ¶
func (mr *MockUpdateMockRecorder) PutN(arg0, arg1 interface{}) *gomock.Call
PutN indicates an expected call of PutN
func (*MockUpdateMockRecorder) Remove ¶
func (mr *MockUpdateMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove