Documentation ¶
Overview ¶
Package mock_grpc is a generated GoMock package.
Index ¶
- type MockClientStream
- func (m *MockClientStream) CloseSend() error
- func (m *MockClientStream) Context() context.Context
- func (m *MockClientStream) EXPECT() *MockClientStreamMockRecorder
- func (m *MockClientStream) Header() (metadata.MD, error)
- func (m *MockClientStream) RecvMsg(arg0 interface{}) error
- func (m *MockClientStream) SendMsg(arg0 interface{}) error
- func (m *MockClientStream) Trailer() metadata.MD
- type MockClientStreamMockRecorder
- func (mr *MockClientStreamMockRecorder) CloseSend() *gomock.Call
- func (mr *MockClientStreamMockRecorder) Context() *gomock.Call
- func (mr *MockClientStreamMockRecorder) Header() *gomock.Call
- func (mr *MockClientStreamMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockClientStreamMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockClientStreamMockRecorder) Trailer() *gomock.Call
- type MockServerStream
- func (m *MockServerStream) Context() context.Context
- func (m *MockServerStream) EXPECT() *MockServerStreamMockRecorder
- func (m *MockServerStream) RecvMsg(arg0 interface{}) error
- func (m *MockServerStream) SendHeader(arg0 metadata.MD) error
- func (m *MockServerStream) SendMsg(arg0 interface{}) error
- func (m *MockServerStream) SetHeader(arg0 metadata.MD) error
- func (m *MockServerStream) SetTrailer(arg0 metadata.MD)
- type MockServerStreamMockRecorder
- func (mr *MockServerStreamMockRecorder) Context() *gomock.Call
- func (mr *MockServerStreamMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockServerStreamMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockServerStreamMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockServerStreamMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockServerStreamMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientStream ¶
type MockClientStream struct {
// contains filtered or unexported fields
}
MockClientStream is a mock of ClientStream interface.
func NewMockClientStream ¶
func NewMockClientStream(ctrl *gomock.Controller) *MockClientStream
NewMockClientStream creates a new mock instance.
func (*MockClientStream) CloseSend ¶
func (m *MockClientStream) CloseSend() error
CloseSend mocks base method.
func (*MockClientStream) Context ¶
func (m *MockClientStream) Context() context.Context
Context mocks base method.
func (*MockClientStream) EXPECT ¶
func (m *MockClientStream) EXPECT() *MockClientStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientStream) Header ¶
func (m *MockClientStream) Header() (metadata.MD, error)
Header mocks base method.
func (*MockClientStream) RecvMsg ¶
func (m *MockClientStream) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockClientStream) SendMsg ¶
func (m *MockClientStream) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockClientStream) Trailer ¶
func (m *MockClientStream) Trailer() metadata.MD
Trailer mocks base method.
type MockClientStreamMockRecorder ¶
type MockClientStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockClientStreamMockRecorder is the mock recorder for MockClientStream.
func (*MockClientStreamMockRecorder) CloseSend ¶
func (mr *MockClientStreamMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockClientStreamMockRecorder) Context ¶
func (mr *MockClientStreamMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockClientStreamMockRecorder) Header ¶
func (mr *MockClientStreamMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockClientStreamMockRecorder) RecvMsg ¶
func (mr *MockClientStreamMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockClientStreamMockRecorder) SendMsg ¶
func (mr *MockClientStreamMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockClientStreamMockRecorder) Trailer ¶
func (mr *MockClientStreamMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockServerStream ¶
type MockServerStream struct {
// contains filtered or unexported fields
}
MockServerStream is a mock of ServerStream interface.
func NewMockServerStream ¶
func NewMockServerStream(ctrl *gomock.Controller) *MockServerStream
NewMockServerStream creates a new mock instance.
func (*MockServerStream) Context ¶
func (m *MockServerStream) Context() context.Context
Context mocks base method.
func (*MockServerStream) EXPECT ¶
func (m *MockServerStream) EXPECT() *MockServerStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerStream) RecvMsg ¶
func (m *MockServerStream) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method.
func (*MockServerStream) SendHeader ¶
func (m *MockServerStream) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockServerStream) SendMsg ¶
func (m *MockServerStream) SendMsg(arg0 interface{}) error
SendMsg mocks base method.
func (*MockServerStream) SetHeader ¶
func (m *MockServerStream) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockServerStream) SetTrailer ¶
func (m *MockServerStream) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockServerStreamMockRecorder ¶
type MockServerStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockServerStreamMockRecorder is the mock recorder for MockServerStream.
func (*MockServerStreamMockRecorder) Context ¶
func (mr *MockServerStreamMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockServerStreamMockRecorder) RecvMsg ¶
func (mr *MockServerStreamMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockServerStreamMockRecorder) SendHeader ¶
func (mr *MockServerStreamMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockServerStreamMockRecorder) SendMsg ¶
func (mr *MockServerStreamMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockServerStreamMockRecorder) SetHeader ¶
func (mr *MockServerStreamMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockServerStreamMockRecorder) SetTrailer ¶
func (mr *MockServerStreamMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.