Documentation ¶
Overview ¶
Package mock_streams is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContextSetter ¶
type MockContextSetter struct {
// contains filtered or unexported fields
}
MockContextSetter is a mock of ContextSetter interface.
func NewMockContextSetter ¶
func NewMockContextSetter(ctrl *gomock.Controller) *MockContextSetter
NewMockContextSetter creates a new mock instance.
func (*MockContextSetter) EXPECT ¶
func (m *MockContextSetter) EXPECT() *MockContextSetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContextSetter) SetContext ¶
func (m *MockContextSetter) SetContext(ctx context.Context)
SetContext mocks base method.
type MockContextSetterMockRecorder ¶
type MockContextSetterMockRecorder struct {
// contains filtered or unexported fields
}
MockContextSetterMockRecorder is the mock recorder for MockContextSetter.
func (*MockContextSetterMockRecorder) SetContext ¶
func (mr *MockContextSetterMockRecorder) SetContext(ctx interface{}) *gomock.Call
SetContext indicates an expected call of SetContext.
type MockStream ¶
type MockStream struct {
// contains filtered or unexported fields
}
MockStream is a mock of Stream interface.
func NewMockStream ¶
func NewMockStream(ctrl *gomock.Controller) *MockStream
NewMockStream creates a new mock instance.
func (*MockStream) Context ¶
func (m *MockStream) Context() context.Context
Context mocks base method.
func (*MockStream) EXPECT ¶
func (m *MockStream) EXPECT() *MockStreamMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockStreamMockRecorder ¶
type MockStreamMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamMockRecorder is the mock recorder for MockStream.
func (*MockStreamMockRecorder) Context ¶
func (mr *MockStreamMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockStreamMockRecorder) RecvMsg ¶
func (mr *MockStreamMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockStreamMockRecorder) SendMsg ¶
func (mr *MockStreamMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
type MockStreamWrapper ¶
type MockStreamWrapper struct {
// contains filtered or unexported fields
}
MockStreamWrapper is a mock of StreamWrapper interface.
func NewMockStreamWrapper ¶
func NewMockStreamWrapper(ctrl *gomock.Controller) *MockStreamWrapper
NewMockStreamWrapper creates a new mock instance.
func (*MockStreamWrapper) Context ¶
func (m *MockStreamWrapper) Context() context.Context
Context mocks base method.
func (*MockStreamWrapper) EXPECT ¶
func (m *MockStreamWrapper) EXPECT() *MockStreamWrapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStreamWrapper) RecvMsg ¶
func (m_2 *MockStreamWrapper) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockStreamWrapper) SendMsg ¶
func (m_2 *MockStreamWrapper) SendMsg(m any) error
SendMsg mocks base method.
func (*MockStreamWrapper) SetContext ¶
func (m *MockStreamWrapper) SetContext(ctx context.Context)
SetContext mocks base method.
type MockStreamWrapperMockRecorder ¶
type MockStreamWrapperMockRecorder struct {
// contains filtered or unexported fields
}
MockStreamWrapperMockRecorder is the mock recorder for MockStreamWrapper.
func (*MockStreamWrapperMockRecorder) Context ¶
func (mr *MockStreamWrapperMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockStreamWrapperMockRecorder) RecvMsg ¶
func (mr *MockStreamWrapperMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockStreamWrapperMockRecorder) SendMsg ¶
func (mr *MockStreamWrapperMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockStreamWrapperMockRecorder) SetContext ¶
func (mr *MockStreamWrapperMockRecorder) SetContext(ctx interface{}) *gomock.Call
SetContext indicates an expected call of SetContext.