mock_streams

package
v0.12.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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

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.

func (*MockStream) RecvMsg

func (m_2 *MockStream) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockStream) SendMsg

func (m_2 *MockStream) SendMsg(m any) error

SendMsg mocks base method.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL