Documentation
¶
Overview ¶
Package mockhandler is a generated GoMock package.
Index ¶
- type MockHandler
- func (m *MockHandler) AbortWrite(arg0 context.Context, arg1 go_uuid.UUID) error
- func (m *MockHandler) BeginWrite(arg0 context.Context, arg1 string) (go_uuid.UUID, error)
- func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
- func (m *MockHandler) EndWrite(arg0 context.Context, arg1 go_uuid.UUID) ([]byte, error)
- func (m *MockHandler) Exists(arg0 context.Context, arg1 []byte) (bool, error)
- func (m *MockHandler) Read(arg0 context.Context, arg1 []byte) ([]byte, error)
- func (m *MockHandler) ReadChunks(arg0 context.Context, arg1 []byte, arg2 int, arg3 file.Reader) error
- func (m *MockHandler) WriteChunk(arg0 context.Context, arg1 go_uuid.UUID, arg2 []byte) error
- type MockHandlerMockRecorder
- func (mr *MockHandlerMockRecorder) AbortWrite(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) BeginWrite(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) EndWrite(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) ReadChunks(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockHandlerMockRecorder) WriteChunk(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockReader
- type MockReaderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandler ¶
type MockHandler struct {
// contains filtered or unexported fields
}
MockHandler is a mock of Handler interface
func NewMockHandler ¶
func NewMockHandler(ctrl *gomock.Controller) *MockHandler
NewMockHandler creates a new mock instance
func (*MockHandler) AbortWrite ¶
AbortWrite mocks base method
func (*MockHandler) BeginWrite ¶
BeginWrite mocks base method
func (*MockHandler) EXPECT ¶
func (m *MockHandler) EXPECT() *MockHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHandler) ReadChunks ¶
func (m *MockHandler) ReadChunks(arg0 context.Context, arg1 []byte, arg2 int, arg3 file.Reader) error
ReadChunks mocks base method
func (*MockHandler) WriteChunk ¶
WriteChunk mocks base method
type MockHandlerMockRecorder ¶
type MockHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockHandlerMockRecorder is the mock recorder for MockHandler
func (*MockHandlerMockRecorder) AbortWrite ¶
func (mr *MockHandlerMockRecorder) AbortWrite(arg0, arg1 interface{}) *gomock.Call
AbortWrite indicates an expected call of AbortWrite
func (*MockHandlerMockRecorder) BeginWrite ¶
func (mr *MockHandlerMockRecorder) BeginWrite(arg0, arg1 interface{}) *gomock.Call
BeginWrite indicates an expected call of BeginWrite
func (*MockHandlerMockRecorder) EndWrite ¶
func (mr *MockHandlerMockRecorder) EndWrite(arg0, arg1 interface{}) *gomock.Call
EndWrite indicates an expected call of EndWrite
func (*MockHandlerMockRecorder) Exists ¶
func (mr *MockHandlerMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockHandlerMockRecorder) Read ¶
func (mr *MockHandlerMockRecorder) Read(arg0, arg1 interface{}) *gomock.Call
Read indicates an expected call of Read
func (*MockHandlerMockRecorder) ReadChunks ¶
func (mr *MockHandlerMockRecorder) ReadChunks(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ReadChunks indicates an expected call of ReadChunks
func (*MockHandlerMockRecorder) WriteChunk ¶
func (mr *MockHandlerMockRecorder) WriteChunk(arg0, arg1, arg2 interface{}) *gomock.Call
WriteChunk indicates an expected call of WriteChunk
type MockReader ¶
type MockReader struct {
// contains filtered or unexported fields
}
MockReader is a mock of Reader interface
func NewMockReader ¶
func NewMockReader(ctrl *gomock.Controller) *MockReader
NewMockReader creates a new mock instance
func (*MockReader) EXPECT ¶
func (m *MockReader) EXPECT() *MockReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockReaderMockRecorder ¶
type MockReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockReaderMockRecorder is the mock recorder for MockReader
func (*MockReaderMockRecorder) OnChunk ¶
func (mr *MockReaderMockRecorder) OnChunk(arg0, arg1 interface{}) *gomock.Call
OnChunk indicates an expected call of OnChunk