Documentation ¶
Overview ¶
Package mockstorage is a generated GoMock package.
Index ¶
- type MockStorage_DownloadServer
- func (m *MockStorage_DownloadServer) Context() context.Context
- func (m *MockStorage_DownloadServer) EXPECT() *MockStorage_DownloadServerMockRecorder
- func (m *MockStorage_DownloadServer) RecvMsg(arg0 interface{}) error
- func (m *MockStorage_DownloadServer) Send(arg0 *pb.FileChunk) error
- func (m *MockStorage_DownloadServer) SendHeader(arg0 metadata.MD) error
- func (m *MockStorage_DownloadServer) SendMsg(arg0 interface{}) error
- func (m *MockStorage_DownloadServer) SetHeader(arg0 metadata.MD) error
- func (m *MockStorage_DownloadServer) SetTrailer(arg0 metadata.MD)
- type MockStorage_DownloadServerMockRecorder
- func (mr *MockStorage_DownloadServerMockRecorder) Context() *gomock.Call
- func (mr *MockStorage_DownloadServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_DownloadServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_DownloadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_DownloadServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_DownloadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_DownloadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockStorage_UploadServer
- func (m *MockStorage_UploadServer) Context() context.Context
- func (m *MockStorage_UploadServer) EXPECT() *MockStorage_UploadServerMockRecorder
- func (m *MockStorage_UploadServer) Recv() (*pb.FileChunk, error)
- func (m *MockStorage_UploadServer) RecvMsg(arg0 interface{}) error
- func (m *MockStorage_UploadServer) SendAndClose(arg0 *grpc.UploadAck) error
- func (m *MockStorage_UploadServer) SendHeader(arg0 metadata.MD) error
- func (m *MockStorage_UploadServer) SendMsg(arg0 interface{}) error
- func (m *MockStorage_UploadServer) SetHeader(arg0 metadata.MD) error
- func (m *MockStorage_UploadServer) SetTrailer(arg0 metadata.MD)
- type MockStorage_UploadServerMockRecorder
- func (mr *MockStorage_UploadServerMockRecorder) Context() *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) Recv() *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockStorage_UploadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage_DownloadServer ¶
type MockStorage_DownloadServer struct {
// contains filtered or unexported fields
}
MockStorage_DownloadServer is a mock of Storage_DownloadServer interface
func NewMockStorage_DownloadServer ¶
func NewMockStorage_DownloadServer(ctrl *gomock.Controller) *MockStorage_DownloadServer
NewMockStorage_DownloadServer creates a new mock instance
func (*MockStorage_DownloadServer) Context ¶
func (m *MockStorage_DownloadServer) Context() context.Context
Context mocks base method
func (*MockStorage_DownloadServer) EXPECT ¶
func (m *MockStorage_DownloadServer) EXPECT() *MockStorage_DownloadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage_DownloadServer) RecvMsg ¶
func (m *MockStorage_DownloadServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockStorage_DownloadServer) Send ¶
func (m *MockStorage_DownloadServer) Send(arg0 *pb.FileChunk) error
Send mocks base method
func (*MockStorage_DownloadServer) SendHeader ¶
func (m *MockStorage_DownloadServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockStorage_DownloadServer) SendMsg ¶
func (m *MockStorage_DownloadServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockStorage_DownloadServer) SetHeader ¶
func (m *MockStorage_DownloadServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockStorage_DownloadServer) SetTrailer ¶
func (m *MockStorage_DownloadServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockStorage_DownloadServerMockRecorder ¶
type MockStorage_DownloadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockStorage_DownloadServerMockRecorder is the mock recorder for MockStorage_DownloadServer
func (*MockStorage_DownloadServerMockRecorder) Context ¶
func (mr *MockStorage_DownloadServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockStorage_DownloadServerMockRecorder) RecvMsg ¶
func (mr *MockStorage_DownloadServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockStorage_DownloadServerMockRecorder) Send ¶
func (mr *MockStorage_DownloadServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockStorage_DownloadServerMockRecorder) SendHeader ¶
func (mr *MockStorage_DownloadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockStorage_DownloadServerMockRecorder) SendMsg ¶
func (mr *MockStorage_DownloadServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockStorage_DownloadServerMockRecorder) SetHeader ¶
func (mr *MockStorage_DownloadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockStorage_DownloadServerMockRecorder) SetTrailer ¶
func (mr *MockStorage_DownloadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer
type MockStorage_UploadServer ¶
type MockStorage_UploadServer struct {
// contains filtered or unexported fields
}
MockStorage_UploadServer is a mock of Storage_UploadServer interface
func NewMockStorage_UploadServer ¶
func NewMockStorage_UploadServer(ctrl *gomock.Controller) *MockStorage_UploadServer
NewMockStorage_UploadServer creates a new mock instance
func (*MockStorage_UploadServer) Context ¶
func (m *MockStorage_UploadServer) Context() context.Context
Context mocks base method
func (*MockStorage_UploadServer) EXPECT ¶
func (m *MockStorage_UploadServer) EXPECT() *MockStorage_UploadServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage_UploadServer) Recv ¶
func (m *MockStorage_UploadServer) Recv() (*pb.FileChunk, error)
Recv mocks base method
func (*MockStorage_UploadServer) RecvMsg ¶
func (m *MockStorage_UploadServer) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockStorage_UploadServer) SendAndClose ¶
func (m *MockStorage_UploadServer) SendAndClose(arg0 *grpc.UploadAck) error
SendAndClose mocks base method
func (*MockStorage_UploadServer) SendHeader ¶
func (m *MockStorage_UploadServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method
func (*MockStorage_UploadServer) SendMsg ¶
func (m *MockStorage_UploadServer) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockStorage_UploadServer) SetHeader ¶
func (m *MockStorage_UploadServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method
func (*MockStorage_UploadServer) SetTrailer ¶
func (m *MockStorage_UploadServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method
type MockStorage_UploadServerMockRecorder ¶
type MockStorage_UploadServerMockRecorder struct {
// contains filtered or unexported fields
}
MockStorage_UploadServerMockRecorder is the mock recorder for MockStorage_UploadServer
func (*MockStorage_UploadServerMockRecorder) Context ¶
func (mr *MockStorage_UploadServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockStorage_UploadServerMockRecorder) Recv ¶
func (mr *MockStorage_UploadServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockStorage_UploadServerMockRecorder) RecvMsg ¶
func (mr *MockStorage_UploadServerMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockStorage_UploadServerMockRecorder) SendAndClose ¶
func (mr *MockStorage_UploadServerMockRecorder) SendAndClose(arg0 interface{}) *gomock.Call
SendAndClose indicates an expected call of SendAndClose
func (*MockStorage_UploadServerMockRecorder) SendHeader ¶
func (mr *MockStorage_UploadServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader
func (*MockStorage_UploadServerMockRecorder) SendMsg ¶
func (mr *MockStorage_UploadServerMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockStorage_UploadServerMockRecorder) SetHeader ¶
func (mr *MockStorage_UploadServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader
func (*MockStorage_UploadServerMockRecorder) SetTrailer ¶
func (mr *MockStorage_UploadServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer