middlewaretest

package
v1.69.1 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package middlewaretest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOnewayInbound added in v1.16.0

type MockOnewayInbound struct {
	// contains filtered or unexported fields
}

MockOnewayInbound is a mock of OnewayInbound interface

func NewMockOnewayInbound added in v1.16.0

func NewMockOnewayInbound(ctrl *gomock.Controller) *MockOnewayInbound

NewMockOnewayInbound creates a new mock instance

func (*MockOnewayInbound) EXPECT added in v1.16.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOnewayInbound) HandleOneway added in v1.16.0

func (m *MockOnewayInbound) HandleOneway(arg0 context.Context, arg1 *transport.Request, arg2 transport.OnewayHandler) error

HandleOneway mocks base method

type MockOnewayInboundMockRecorder added in v1.16.0

type MockOnewayInboundMockRecorder struct {
	// contains filtered or unexported fields
}

MockOnewayInboundMockRecorder is the mock recorder for MockOnewayInbound

func (*MockOnewayInboundMockRecorder) HandleOneway added in v1.16.0

func (mr *MockOnewayInboundMockRecorder) HandleOneway(arg0, arg1, arg2 interface{}) *gomock.Call

HandleOneway indicates an expected call of HandleOneway

type MockOnewayOutbound added in v1.16.0

type MockOnewayOutbound struct {
	// contains filtered or unexported fields
}

MockOnewayOutbound is a mock of OnewayOutbound interface

func NewMockOnewayOutbound added in v1.16.0

func NewMockOnewayOutbound(ctrl *gomock.Controller) *MockOnewayOutbound

NewMockOnewayOutbound creates a new mock instance

func (*MockOnewayOutbound) CallOneway added in v1.16.0

CallOneway mocks base method

func (*MockOnewayOutbound) EXPECT added in v1.16.0

EXPECT returns an object that allows the caller to indicate expected use

type MockOnewayOutboundMockRecorder added in v1.16.0

type MockOnewayOutboundMockRecorder struct {
	// contains filtered or unexported fields
}

MockOnewayOutboundMockRecorder is the mock recorder for MockOnewayOutbound

func (*MockOnewayOutboundMockRecorder) CallOneway added in v1.16.0

func (mr *MockOnewayOutboundMockRecorder) CallOneway(arg0, arg1, arg2 interface{}) *gomock.Call

CallOneway indicates an expected call of CallOneway

type MockRouter

type MockRouter struct {
	// contains filtered or unexported fields
}

MockRouter is a mock of Router interface

func NewMockRouter

func NewMockRouter(ctrl *gomock.Controller) *MockRouter

NewMockRouter creates a new mock instance

func (*MockRouter) Choose

Choose mocks base method

func (*MockRouter) EXPECT

func (m *MockRouter) EXPECT() *MockRouterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockRouter) Procedures

func (m *MockRouter) Procedures(arg0 transport.Router) []transport.Procedure

Procedures mocks base method

type MockRouterMockRecorder added in v1.10.0

type MockRouterMockRecorder struct {
	// contains filtered or unexported fields
}

MockRouterMockRecorder is the mock recorder for MockRouter

func (*MockRouterMockRecorder) Choose added in v1.10.0

func (mr *MockRouterMockRecorder) Choose(arg0, arg1, arg2 interface{}) *gomock.Call

Choose indicates an expected call of Choose

func (*MockRouterMockRecorder) Procedures added in v1.10.0

func (mr *MockRouterMockRecorder) Procedures(arg0 interface{}) *gomock.Call

Procedures indicates an expected call of Procedures

type MockStreamInbound added in v1.27.0

type MockStreamInbound struct {
	// contains filtered or unexported fields
}

MockStreamInbound is a mock of StreamInbound interface

func NewMockStreamInbound added in v1.27.0

func NewMockStreamInbound(ctrl *gomock.Controller) *MockStreamInbound

NewMockStreamInbound creates a new mock instance

func (*MockStreamInbound) EXPECT added in v1.27.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockStreamInbound) HandleStream added in v1.27.0

HandleStream mocks base method

type MockStreamInboundMockRecorder added in v1.27.0

type MockStreamInboundMockRecorder struct {
	// contains filtered or unexported fields
}

MockStreamInboundMockRecorder is the mock recorder for MockStreamInbound

func (*MockStreamInboundMockRecorder) HandleStream added in v1.27.0

func (mr *MockStreamInboundMockRecorder) HandleStream(arg0, arg1 interface{}) *gomock.Call

HandleStream indicates an expected call of HandleStream

type MockStreamOutbound added in v1.27.0

type MockStreamOutbound struct {
	// contains filtered or unexported fields
}

MockStreamOutbound is a mock of StreamOutbound interface

func NewMockStreamOutbound added in v1.27.0

func NewMockStreamOutbound(ctrl *gomock.Controller) *MockStreamOutbound

NewMockStreamOutbound creates a new mock instance

func (*MockStreamOutbound) CallStream added in v1.27.0

CallStream mocks base method

func (*MockStreamOutbound) EXPECT added in v1.27.0

EXPECT returns an object that allows the caller to indicate expected use

type MockStreamOutboundMockRecorder added in v1.27.0

type MockStreamOutboundMockRecorder struct {
	// contains filtered or unexported fields
}

MockStreamOutboundMockRecorder is the mock recorder for MockStreamOutbound

func (*MockStreamOutboundMockRecorder) CallStream added in v1.27.0

func (mr *MockStreamOutboundMockRecorder) CallStream(arg0, arg1, arg2 interface{}) *gomock.Call

CallStream indicates an expected call of CallStream

type MockUnaryInbound added in v1.16.0

type MockUnaryInbound struct {
	// contains filtered or unexported fields
}

MockUnaryInbound is a mock of UnaryInbound interface

func NewMockUnaryInbound added in v1.16.0

func NewMockUnaryInbound(ctrl *gomock.Controller) *MockUnaryInbound

NewMockUnaryInbound creates a new mock instance

func (*MockUnaryInbound) EXPECT added in v1.16.0

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUnaryInbound) Handle added in v1.16.0

Handle mocks base method

type MockUnaryInboundMockRecorder added in v1.16.0

type MockUnaryInboundMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnaryInboundMockRecorder is the mock recorder for MockUnaryInbound

func (*MockUnaryInboundMockRecorder) Handle added in v1.16.0

func (mr *MockUnaryInboundMockRecorder) Handle(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Handle indicates an expected call of Handle

type MockUnaryOutbound added in v1.16.0

type MockUnaryOutbound struct {
	// contains filtered or unexported fields
}

MockUnaryOutbound is a mock of UnaryOutbound interface

func NewMockUnaryOutbound added in v1.16.0

func NewMockUnaryOutbound(ctrl *gomock.Controller) *MockUnaryOutbound

NewMockUnaryOutbound creates a new mock instance

func (*MockUnaryOutbound) Call added in v1.16.0

Call mocks base method

func (*MockUnaryOutbound) EXPECT added in v1.16.0

EXPECT returns an object that allows the caller to indicate expected use

type MockUnaryOutboundMockRecorder added in v1.16.0

type MockUnaryOutboundMockRecorder struct {
	// contains filtered or unexported fields
}

MockUnaryOutboundMockRecorder is the mock recorder for MockUnaryOutbound

func (*MockUnaryOutboundMockRecorder) Call added in v1.16.0

func (mr *MockUnaryOutboundMockRecorder) Call(arg0, arg1, arg2 interface{}) *gomock.Call

Call indicates an expected call of Call

Jump to

Keyboard shortcuts

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