Documentation ¶
Overview ¶
Package mockstore is a generated GoMock package.
Index ¶
- type MockFileReadWriter
- func (m *MockFileReadWriter) Cancel() error
- func (m *MockFileReadWriter) Close() error
- func (m *MockFileReadWriter) Commit() error
- func (m *MockFileReadWriter) EXPECT() *MockFileReadWriterMockRecorder
- func (m *MockFileReadWriter) Read(arg0 []byte) (int, error)
- func (m *MockFileReadWriter) ReadAt(arg0 []byte, arg1 int64) (int, error)
- func (m *MockFileReadWriter) Seek(arg0 int64, arg1 int) (int64, error)
- func (m *MockFileReadWriter) Size() int64
- func (m *MockFileReadWriter) Write(arg0 []byte) (int, error)
- func (m *MockFileReadWriter) WriteAt(arg0 []byte, arg1 int64) (int, error)
- type MockFileReadWriterMockRecorder
- func (mr *MockFileReadWriterMockRecorder) Cancel() *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) Close() *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) Commit() *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) Size() *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
- func (mr *MockFileReadWriterMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileReadWriter ¶
type MockFileReadWriter struct {
// contains filtered or unexported fields
}
MockFileReadWriter is a mock of FileReadWriter interface
func NewMockFileReadWriter ¶
func NewMockFileReadWriter(ctrl *gomock.Controller) *MockFileReadWriter
NewMockFileReadWriter creates a new mock instance
func (*MockFileReadWriter) Cancel ¶
func (m *MockFileReadWriter) Cancel() error
Cancel mocks base method
func (*MockFileReadWriter) Close ¶
func (m *MockFileReadWriter) Close() error
Close mocks base method
func (*MockFileReadWriter) Commit ¶
func (m *MockFileReadWriter) Commit() error
Commit mocks base method
func (*MockFileReadWriter) EXPECT ¶
func (m *MockFileReadWriter) EXPECT() *MockFileReadWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFileReadWriter) Read ¶
func (m *MockFileReadWriter) Read(arg0 []byte) (int, error)
Read mocks base method
func (*MockFileReadWriter) ReadAt ¶
func (m *MockFileReadWriter) ReadAt(arg0 []byte, arg1 int64) (int, error)
ReadAt mocks base method
func (*MockFileReadWriter) Seek ¶
func (m *MockFileReadWriter) Seek(arg0 int64, arg1 int) (int64, error)
Seek mocks base method
type MockFileReadWriterMockRecorder ¶
type MockFileReadWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockFileReadWriterMockRecorder is the mock recorder for MockFileReadWriter
func (*MockFileReadWriterMockRecorder) Cancel ¶
func (mr *MockFileReadWriterMockRecorder) Cancel() *gomock.Call
Cancel indicates an expected call of Cancel
func (*MockFileReadWriterMockRecorder) Close ¶
func (mr *MockFileReadWriterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockFileReadWriterMockRecorder) Commit ¶
func (mr *MockFileReadWriterMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit
func (*MockFileReadWriterMockRecorder) Read ¶
func (mr *MockFileReadWriterMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockFileReadWriterMockRecorder) ReadAt ¶
func (mr *MockFileReadWriterMockRecorder) ReadAt(arg0, arg1 interface{}) *gomock.Call
ReadAt indicates an expected call of ReadAt
func (*MockFileReadWriterMockRecorder) Seek ¶
func (mr *MockFileReadWriterMockRecorder) Seek(arg0, arg1 interface{}) *gomock.Call
Seek indicates an expected call of Seek
func (*MockFileReadWriterMockRecorder) Size ¶
func (mr *MockFileReadWriterMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size
func (*MockFileReadWriterMockRecorder) Write ¶
func (mr *MockFileReadWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write
func (*MockFileReadWriterMockRecorder) WriteAt ¶
func (mr *MockFileReadWriterMockRecorder) WriteAt(arg0, arg1 interface{}) *gomock.Call
WriteAt indicates an expected call of WriteAt