mock_grpc

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: 4 Imported by: 0

Documentation

Overview

Package mock_grpc is a generated GoMock package.

Index

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

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

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

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.

Jump to

Keyboard shortcuts

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