Documentation ¶
Overview ¶
Package mock_reverse_tunnel_rpc is a generated GoMock package.
Index ¶
- type MockReverseTunnelClient
- type MockReverseTunnelClientConnectCall
- func (c *MockReverseTunnelClientConnectCall) Do(...) *MockReverseTunnelClientConnectCall
- func (c *MockReverseTunnelClientConnectCall) DoAndReturn(...) *MockReverseTunnelClientConnectCall
- func (c *MockReverseTunnelClientConnectCall) Return(arg0 rpc.ReverseTunnel_ConnectClient, arg1 error) *MockReverseTunnelClientConnectCall
- type MockReverseTunnelClientMockRecorder
- type MockReverseTunnel_ConnectClient
- func (m *MockReverseTunnel_ConnectClient) CloseSend() error
- func (m *MockReverseTunnel_ConnectClient) Context() context.Context
- func (m *MockReverseTunnel_ConnectClient) EXPECT() *MockReverseTunnel_ConnectClientMockRecorder
- func (m *MockReverseTunnel_ConnectClient) Header() (metadata.MD, error)
- func (m *MockReverseTunnel_ConnectClient) Recv() (*rpc.ConnectResponse, error)
- func (m *MockReverseTunnel_ConnectClient) RecvMsg(arg0 any) error
- func (m *MockReverseTunnel_ConnectClient) Send(arg0 *rpc.ConnectRequest) error
- func (m *MockReverseTunnel_ConnectClient) SendMsg(arg0 any) error
- func (m *MockReverseTunnel_ConnectClient) Trailer() metadata.MD
- type MockReverseTunnel_ConnectClientCloseSendCall
- func (c *MockReverseTunnel_ConnectClientCloseSendCall) Do(f func() error) *MockReverseTunnel_ConnectClientCloseSendCall
- func (c *MockReverseTunnel_ConnectClientCloseSendCall) DoAndReturn(f func() error) *MockReverseTunnel_ConnectClientCloseSendCall
- func (c *MockReverseTunnel_ConnectClientCloseSendCall) Return(arg0 error) *MockReverseTunnel_ConnectClientCloseSendCall
- type MockReverseTunnel_ConnectClientContextCall
- func (c *MockReverseTunnel_ConnectClientContextCall) Do(f func() context.Context) *MockReverseTunnel_ConnectClientContextCall
- func (c *MockReverseTunnel_ConnectClientContextCall) DoAndReturn(f func() context.Context) *MockReverseTunnel_ConnectClientContextCall
- func (c *MockReverseTunnel_ConnectClientContextCall) Return(arg0 context.Context) *MockReverseTunnel_ConnectClientContextCall
- type MockReverseTunnel_ConnectClientHeaderCall
- func (c *MockReverseTunnel_ConnectClientHeaderCall) Do(f func() (metadata.MD, error)) *MockReverseTunnel_ConnectClientHeaderCall
- func (c *MockReverseTunnel_ConnectClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockReverseTunnel_ConnectClientHeaderCall
- func (c *MockReverseTunnel_ConnectClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockReverseTunnel_ConnectClientHeaderCall
- type MockReverseTunnel_ConnectClientMockRecorder
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) CloseSend() *MockReverseTunnel_ConnectClientCloseSendCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Context() *MockReverseTunnel_ConnectClientContextCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Header() *MockReverseTunnel_ConnectClientHeaderCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Recv() *MockReverseTunnel_ConnectClientRecvCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) RecvMsg(arg0 any) *MockReverseTunnel_ConnectClientRecvMsgCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Send(arg0 any) *MockReverseTunnel_ConnectClientSendCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) SendMsg(arg0 any) *MockReverseTunnel_ConnectClientSendMsgCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Trailer() *MockReverseTunnel_ConnectClientTrailerCall
- type MockReverseTunnel_ConnectClientRecvCall
- func (c *MockReverseTunnel_ConnectClientRecvCall) Do(f func() (*rpc.ConnectResponse, error)) *MockReverseTunnel_ConnectClientRecvCall
- func (c *MockReverseTunnel_ConnectClientRecvCall) DoAndReturn(f func() (*rpc.ConnectResponse, error)) *MockReverseTunnel_ConnectClientRecvCall
- func (c *MockReverseTunnel_ConnectClientRecvCall) Return(arg0 *rpc.ConnectResponse, arg1 error) *MockReverseTunnel_ConnectClientRecvCall
- type MockReverseTunnel_ConnectClientRecvMsgCall
- func (c *MockReverseTunnel_ConnectClientRecvMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectClientRecvMsgCall
- func (c *MockReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectClientRecvMsgCall
- func (c *MockReverseTunnel_ConnectClientRecvMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectClientRecvMsgCall
- type MockReverseTunnel_ConnectClientSendCall
- func (c *MockReverseTunnel_ConnectClientSendCall) Do(f func(*rpc.ConnectRequest) error) *MockReverseTunnel_ConnectClientSendCall
- func (c *MockReverseTunnel_ConnectClientSendCall) DoAndReturn(f func(*rpc.ConnectRequest) error) *MockReverseTunnel_ConnectClientSendCall
- func (c *MockReverseTunnel_ConnectClientSendCall) Return(arg0 error) *MockReverseTunnel_ConnectClientSendCall
- type MockReverseTunnel_ConnectClientSendMsgCall
- func (c *MockReverseTunnel_ConnectClientSendMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectClientSendMsgCall
- func (c *MockReverseTunnel_ConnectClientSendMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectClientSendMsgCall
- func (c *MockReverseTunnel_ConnectClientSendMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectClientSendMsgCall
- type MockReverseTunnel_ConnectClientTrailerCall
- func (c *MockReverseTunnel_ConnectClientTrailerCall) Do(f func() metadata.MD) *MockReverseTunnel_ConnectClientTrailerCall
- func (c *MockReverseTunnel_ConnectClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockReverseTunnel_ConnectClientTrailerCall
- func (c *MockReverseTunnel_ConnectClientTrailerCall) Return(arg0 metadata.MD) *MockReverseTunnel_ConnectClientTrailerCall
- type MockReverseTunnel_ConnectServer
- func (m *MockReverseTunnel_ConnectServer) Context() context.Context
- func (m *MockReverseTunnel_ConnectServer) EXPECT() *MockReverseTunnel_ConnectServerMockRecorder
- func (m *MockReverseTunnel_ConnectServer) Recv() (*rpc.ConnectRequest, error)
- func (m *MockReverseTunnel_ConnectServer) RecvMsg(arg0 any) error
- func (m *MockReverseTunnel_ConnectServer) Send(arg0 *rpc.ConnectResponse) error
- func (m *MockReverseTunnel_ConnectServer) SendHeader(arg0 metadata.MD) error
- func (m *MockReverseTunnel_ConnectServer) SendMsg(arg0 any) error
- func (m *MockReverseTunnel_ConnectServer) SetHeader(arg0 metadata.MD) error
- func (m *MockReverseTunnel_ConnectServer) SetTrailer(arg0 metadata.MD)
- type MockReverseTunnel_ConnectServerContextCall
- func (c *MockReverseTunnel_ConnectServerContextCall) Do(f func() context.Context) *MockReverseTunnel_ConnectServerContextCall
- func (c *MockReverseTunnel_ConnectServerContextCall) DoAndReturn(f func() context.Context) *MockReverseTunnel_ConnectServerContextCall
- func (c *MockReverseTunnel_ConnectServerContextCall) Return(arg0 context.Context) *MockReverseTunnel_ConnectServerContextCall
- type MockReverseTunnel_ConnectServerMockRecorder
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) Context() *MockReverseTunnel_ConnectServerContextCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) Recv() *MockReverseTunnel_ConnectServerRecvCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) RecvMsg(arg0 any) *MockReverseTunnel_ConnectServerRecvMsgCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) Send(arg0 any) *MockReverseTunnel_ConnectServerSendCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendHeader(arg0 any) *MockReverseTunnel_ConnectServerSendHeaderCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendMsg(arg0 any) *MockReverseTunnel_ConnectServerSendMsgCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetHeader(arg0 any) *MockReverseTunnel_ConnectServerSetHeaderCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetTrailer(arg0 any) *MockReverseTunnel_ConnectServerSetTrailerCall
- type MockReverseTunnel_ConnectServerRecvCall
- func (c *MockReverseTunnel_ConnectServerRecvCall) Do(f func() (*rpc.ConnectRequest, error)) *MockReverseTunnel_ConnectServerRecvCall
- func (c *MockReverseTunnel_ConnectServerRecvCall) DoAndReturn(f func() (*rpc.ConnectRequest, error)) *MockReverseTunnel_ConnectServerRecvCall
- func (c *MockReverseTunnel_ConnectServerRecvCall) Return(arg0 *rpc.ConnectRequest, arg1 error) *MockReverseTunnel_ConnectServerRecvCall
- type MockReverseTunnel_ConnectServerRecvMsgCall
- func (c *MockReverseTunnel_ConnectServerRecvMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectServerRecvMsgCall
- func (c *MockReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectServerRecvMsgCall
- func (c *MockReverseTunnel_ConnectServerRecvMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectServerRecvMsgCall
- type MockReverseTunnel_ConnectServerSendCall
- func (c *MockReverseTunnel_ConnectServerSendCall) Do(f func(*rpc.ConnectResponse) error) *MockReverseTunnel_ConnectServerSendCall
- func (c *MockReverseTunnel_ConnectServerSendCall) DoAndReturn(f func(*rpc.ConnectResponse) error) *MockReverseTunnel_ConnectServerSendCall
- func (c *MockReverseTunnel_ConnectServerSendCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSendCall
- type MockReverseTunnel_ConnectServerSendHeaderCall
- func (c *MockReverseTunnel_ConnectServerSendHeaderCall) Do(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSendHeaderCall
- func (c *MockReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSendHeaderCall
- func (c *MockReverseTunnel_ConnectServerSendHeaderCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSendHeaderCall
- type MockReverseTunnel_ConnectServerSendMsgCall
- func (c *MockReverseTunnel_ConnectServerSendMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectServerSendMsgCall
- func (c *MockReverseTunnel_ConnectServerSendMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectServerSendMsgCall
- func (c *MockReverseTunnel_ConnectServerSendMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSendMsgCall
- type MockReverseTunnel_ConnectServerSetHeaderCall
- func (c *MockReverseTunnel_ConnectServerSetHeaderCall) Do(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSetHeaderCall
- func (c *MockReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSetHeaderCall
- func (c *MockReverseTunnel_ConnectServerSetHeaderCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSetHeaderCall
- type MockReverseTunnel_ConnectServerSetTrailerCall
- func (c *MockReverseTunnel_ConnectServerSetTrailerCall) Do(f func(metadata.MD)) *MockReverseTunnel_ConnectServerSetTrailerCall
- func (c *MockReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockReverseTunnel_ConnectServerSetTrailerCall
- func (c *MockReverseTunnel_ConnectServerSetTrailerCall) Return() *MockReverseTunnel_ConnectServerSetTrailerCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReverseTunnelClient ¶
type MockReverseTunnelClient struct {
// contains filtered or unexported fields
}
MockReverseTunnelClient is a mock of ReverseTunnelClient interface.
func NewMockReverseTunnelClient ¶
func NewMockReverseTunnelClient(ctrl *gomock.Controller) *MockReverseTunnelClient
NewMockReverseTunnelClient creates a new mock instance.
func (*MockReverseTunnelClient) Connect ¶
func (m *MockReverseTunnelClient) Connect(arg0 context.Context, arg1 ...grpc.CallOption) (rpc.ReverseTunnel_ConnectClient, error)
Connect mocks base method.
func (*MockReverseTunnelClient) EXPECT ¶
func (m *MockReverseTunnelClient) EXPECT() *MockReverseTunnelClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReverseTunnelClientConnectCall ¶
MockReverseTunnelClientConnectCall wrap *gomock.Call
func (*MockReverseTunnelClientConnectCall) Do ¶
func (c *MockReverseTunnelClientConnectCall) Do(f func(context.Context, ...grpc.CallOption) (rpc.ReverseTunnel_ConnectClient, error)) *MockReverseTunnelClientConnectCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnelClientConnectCall) DoAndReturn ¶
func (c *MockReverseTunnelClientConnectCall) DoAndReturn(f func(context.Context, ...grpc.CallOption) (rpc.ReverseTunnel_ConnectClient, error)) *MockReverseTunnelClientConnectCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnelClientConnectCall) Return ¶
func (c *MockReverseTunnelClientConnectCall) Return(arg0 rpc.ReverseTunnel_ConnectClient, arg1 error) *MockReverseTunnelClientConnectCall
Return rewrite *gomock.Call.Return
type MockReverseTunnelClientMockRecorder ¶
type MockReverseTunnelClientMockRecorder struct {
// contains filtered or unexported fields
}
MockReverseTunnelClientMockRecorder is the mock recorder for MockReverseTunnelClient.
func (*MockReverseTunnelClientMockRecorder) Connect ¶
func (mr *MockReverseTunnelClientMockRecorder) Connect(arg0 any, arg1 ...any) *MockReverseTunnelClientConnectCall
Connect indicates an expected call of Connect.
type MockReverseTunnel_ConnectClient ¶
type MockReverseTunnel_ConnectClient struct {
// contains filtered or unexported fields
}
MockReverseTunnel_ConnectClient is a mock of ReverseTunnel_ConnectClient interface.
func NewMockReverseTunnel_ConnectClient ¶
func NewMockReverseTunnel_ConnectClient(ctrl *gomock.Controller) *MockReverseTunnel_ConnectClient
NewMockReverseTunnel_ConnectClient creates a new mock instance.
func (*MockReverseTunnel_ConnectClient) CloseSend ¶
func (m *MockReverseTunnel_ConnectClient) CloseSend() error
CloseSend mocks base method.
func (*MockReverseTunnel_ConnectClient) Context ¶
func (m *MockReverseTunnel_ConnectClient) Context() context.Context
Context mocks base method.
func (*MockReverseTunnel_ConnectClient) EXPECT ¶
func (m *MockReverseTunnel_ConnectClient) EXPECT() *MockReverseTunnel_ConnectClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReverseTunnel_ConnectClient) Header ¶
func (m *MockReverseTunnel_ConnectClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockReverseTunnel_ConnectClient) Recv ¶
func (m *MockReverseTunnel_ConnectClient) Recv() (*rpc.ConnectResponse, error)
Recv mocks base method.
func (*MockReverseTunnel_ConnectClient) RecvMsg ¶
func (m *MockReverseTunnel_ConnectClient) RecvMsg(arg0 any) error
RecvMsg mocks base method.
func (*MockReverseTunnel_ConnectClient) Send ¶
func (m *MockReverseTunnel_ConnectClient) Send(arg0 *rpc.ConnectRequest) error
Send mocks base method.
func (*MockReverseTunnel_ConnectClient) SendMsg ¶
func (m *MockReverseTunnel_ConnectClient) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockReverseTunnel_ConnectClient) Trailer ¶
func (m *MockReverseTunnel_ConnectClient) Trailer() metadata.MD
Trailer mocks base method.
type MockReverseTunnel_ConnectClientCloseSendCall ¶
MockReverseTunnel_ConnectClientCloseSendCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientCloseSendCall) Do ¶
func (c *MockReverseTunnel_ConnectClientCloseSendCall) Do(f func() error) *MockReverseTunnel_ConnectClientCloseSendCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientCloseSendCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientCloseSendCall) DoAndReturn(f func() error) *MockReverseTunnel_ConnectClientCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientCloseSendCall) Return ¶
func (c *MockReverseTunnel_ConnectClientCloseSendCall) Return(arg0 error) *MockReverseTunnel_ConnectClientCloseSendCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientContextCall ¶
MockReverseTunnel_ConnectClientContextCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientContextCall) Do ¶
func (c *MockReverseTunnel_ConnectClientContextCall) Do(f func() context.Context) *MockReverseTunnel_ConnectClientContextCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientContextCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientContextCall) DoAndReturn(f func() context.Context) *MockReverseTunnel_ConnectClientContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientContextCall) Return ¶
func (c *MockReverseTunnel_ConnectClientContextCall) Return(arg0 context.Context) *MockReverseTunnel_ConnectClientContextCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientHeaderCall ¶
MockReverseTunnel_ConnectClientHeaderCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientHeaderCall) Do ¶
func (c *MockReverseTunnel_ConnectClientHeaderCall) Do(f func() (metadata.MD, error)) *MockReverseTunnel_ConnectClientHeaderCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientHeaderCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *MockReverseTunnel_ConnectClientHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientHeaderCall) Return ¶
func (c *MockReverseTunnel_ConnectClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *MockReverseTunnel_ConnectClientHeaderCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientMockRecorder ¶
type MockReverseTunnel_ConnectClientMockRecorder struct {
// contains filtered or unexported fields
}
MockReverseTunnel_ConnectClientMockRecorder is the mock recorder for MockReverseTunnel_ConnectClient.
func (*MockReverseTunnel_ConnectClientMockRecorder) CloseSend ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) CloseSend() *MockReverseTunnel_ConnectClientCloseSendCall
CloseSend indicates an expected call of CloseSend.
func (*MockReverseTunnel_ConnectClientMockRecorder) Context ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Context() *MockReverseTunnel_ConnectClientContextCall
Context indicates an expected call of Context.
func (*MockReverseTunnel_ConnectClientMockRecorder) Header ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Header() *MockReverseTunnel_ConnectClientHeaderCall
Header indicates an expected call of Header.
func (*MockReverseTunnel_ConnectClientMockRecorder) Recv ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Recv() *MockReverseTunnel_ConnectClientRecvCall
Recv indicates an expected call of Recv.
func (*MockReverseTunnel_ConnectClientMockRecorder) RecvMsg ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) RecvMsg(arg0 any) *MockReverseTunnel_ConnectClientRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockReverseTunnel_ConnectClientMockRecorder) Send ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Send(arg0 any) *MockReverseTunnel_ConnectClientSendCall
Send indicates an expected call of Send.
func (*MockReverseTunnel_ConnectClientMockRecorder) SendMsg ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) SendMsg(arg0 any) *MockReverseTunnel_ConnectClientSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockReverseTunnel_ConnectClientMockRecorder) Trailer ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Trailer() *MockReverseTunnel_ConnectClientTrailerCall
Trailer indicates an expected call of Trailer.
type MockReverseTunnel_ConnectClientRecvCall ¶
MockReverseTunnel_ConnectClientRecvCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientRecvCall) Do ¶
func (c *MockReverseTunnel_ConnectClientRecvCall) Do(f func() (*rpc.ConnectResponse, error)) *MockReverseTunnel_ConnectClientRecvCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientRecvCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientRecvCall) DoAndReturn(f func() (*rpc.ConnectResponse, error)) *MockReverseTunnel_ConnectClientRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientRecvCall) Return ¶
func (c *MockReverseTunnel_ConnectClientRecvCall) Return(arg0 *rpc.ConnectResponse, arg1 error) *MockReverseTunnel_ConnectClientRecvCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientRecvMsgCall ¶
MockReverseTunnel_ConnectClientRecvMsgCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientRecvMsgCall) Do ¶
func (c *MockReverseTunnel_ConnectClientRecvMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectClientRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectClientRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientRecvMsgCall) Return ¶
func (c *MockReverseTunnel_ConnectClientRecvMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectClientRecvMsgCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientSendCall ¶
MockReverseTunnel_ConnectClientSendCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientSendCall) Do ¶
func (c *MockReverseTunnel_ConnectClientSendCall) Do(f func(*rpc.ConnectRequest) error) *MockReverseTunnel_ConnectClientSendCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientSendCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientSendCall) DoAndReturn(f func(*rpc.ConnectRequest) error) *MockReverseTunnel_ConnectClientSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientSendCall) Return ¶
func (c *MockReverseTunnel_ConnectClientSendCall) Return(arg0 error) *MockReverseTunnel_ConnectClientSendCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientSendMsgCall ¶
MockReverseTunnel_ConnectClientSendMsgCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientSendMsgCall) Do ¶
func (c *MockReverseTunnel_ConnectClientSendMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectClientSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientSendMsgCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientSendMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectClientSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientSendMsgCall) Return ¶
func (c *MockReverseTunnel_ConnectClientSendMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectClientSendMsgCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectClientTrailerCall ¶
MockReverseTunnel_ConnectClientTrailerCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectClientTrailerCall) Do ¶
func (c *MockReverseTunnel_ConnectClientTrailerCall) Do(f func() metadata.MD) *MockReverseTunnel_ConnectClientTrailerCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectClientTrailerCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectClientTrailerCall) DoAndReturn(f func() metadata.MD) *MockReverseTunnel_ConnectClientTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectClientTrailerCall) Return ¶
func (c *MockReverseTunnel_ConnectClientTrailerCall) Return(arg0 metadata.MD) *MockReverseTunnel_ConnectClientTrailerCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServer ¶
type MockReverseTunnel_ConnectServer struct {
// contains filtered or unexported fields
}
MockReverseTunnel_ConnectServer is a mock of ReverseTunnel_ConnectServer interface.
func NewMockReverseTunnel_ConnectServer ¶
func NewMockReverseTunnel_ConnectServer(ctrl *gomock.Controller) *MockReverseTunnel_ConnectServer
NewMockReverseTunnel_ConnectServer creates a new mock instance.
func (*MockReverseTunnel_ConnectServer) Context ¶
func (m *MockReverseTunnel_ConnectServer) Context() context.Context
Context mocks base method.
func (*MockReverseTunnel_ConnectServer) EXPECT ¶
func (m *MockReverseTunnel_ConnectServer) EXPECT() *MockReverseTunnel_ConnectServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReverseTunnel_ConnectServer) Recv ¶
func (m *MockReverseTunnel_ConnectServer) Recv() (*rpc.ConnectRequest, error)
Recv mocks base method.
func (*MockReverseTunnel_ConnectServer) RecvMsg ¶
func (m *MockReverseTunnel_ConnectServer) RecvMsg(arg0 any) error
RecvMsg mocks base method.
func (*MockReverseTunnel_ConnectServer) Send ¶
func (m *MockReverseTunnel_ConnectServer) Send(arg0 *rpc.ConnectResponse) error
Send mocks base method.
func (*MockReverseTunnel_ConnectServer) SendHeader ¶
func (m *MockReverseTunnel_ConnectServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockReverseTunnel_ConnectServer) SendMsg ¶
func (m *MockReverseTunnel_ConnectServer) SendMsg(arg0 any) error
SendMsg mocks base method.
func (*MockReverseTunnel_ConnectServer) SetHeader ¶
func (m *MockReverseTunnel_ConnectServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockReverseTunnel_ConnectServer) SetTrailer ¶
func (m *MockReverseTunnel_ConnectServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockReverseTunnel_ConnectServerContextCall ¶
MockReverseTunnel_ConnectServerContextCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerContextCall) Do ¶
func (c *MockReverseTunnel_ConnectServerContextCall) Do(f func() context.Context) *MockReverseTunnel_ConnectServerContextCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerContextCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerContextCall) DoAndReturn(f func() context.Context) *MockReverseTunnel_ConnectServerContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerContextCall) Return ¶
func (c *MockReverseTunnel_ConnectServerContextCall) Return(arg0 context.Context) *MockReverseTunnel_ConnectServerContextCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerMockRecorder ¶
type MockReverseTunnel_ConnectServerMockRecorder struct {
// contains filtered or unexported fields
}
MockReverseTunnel_ConnectServerMockRecorder is the mock recorder for MockReverseTunnel_ConnectServer.
func (*MockReverseTunnel_ConnectServerMockRecorder) Context ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) Context() *MockReverseTunnel_ConnectServerContextCall
Context indicates an expected call of Context.
func (*MockReverseTunnel_ConnectServerMockRecorder) Recv ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) Recv() *MockReverseTunnel_ConnectServerRecvCall
Recv indicates an expected call of Recv.
func (*MockReverseTunnel_ConnectServerMockRecorder) RecvMsg ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) RecvMsg(arg0 any) *MockReverseTunnel_ConnectServerRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockReverseTunnel_ConnectServerMockRecorder) Send ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) Send(arg0 any) *MockReverseTunnel_ConnectServerSendCall
Send indicates an expected call of Send.
func (*MockReverseTunnel_ConnectServerMockRecorder) SendHeader ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendHeader(arg0 any) *MockReverseTunnel_ConnectServerSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockReverseTunnel_ConnectServerMockRecorder) SendMsg ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendMsg(arg0 any) *MockReverseTunnel_ConnectServerSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockReverseTunnel_ConnectServerMockRecorder) SetHeader ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetHeader(arg0 any) *MockReverseTunnel_ConnectServerSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockReverseTunnel_ConnectServerMockRecorder) SetTrailer ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetTrailer(arg0 any) *MockReverseTunnel_ConnectServerSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type MockReverseTunnel_ConnectServerRecvCall ¶
MockReverseTunnel_ConnectServerRecvCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerRecvCall) Do ¶
func (c *MockReverseTunnel_ConnectServerRecvCall) Do(f func() (*rpc.ConnectRequest, error)) *MockReverseTunnel_ConnectServerRecvCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerRecvCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerRecvCall) DoAndReturn(f func() (*rpc.ConnectRequest, error)) *MockReverseTunnel_ConnectServerRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerRecvCall) Return ¶
func (c *MockReverseTunnel_ConnectServerRecvCall) Return(arg0 *rpc.ConnectRequest, arg1 error) *MockReverseTunnel_ConnectServerRecvCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerRecvMsgCall ¶
MockReverseTunnel_ConnectServerRecvMsgCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerRecvMsgCall) Do ¶
func (c *MockReverseTunnel_ConnectServerRecvMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectServerRecvMsgCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectServerRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerRecvMsgCall) Return ¶
func (c *MockReverseTunnel_ConnectServerRecvMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectServerRecvMsgCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerSendCall ¶
MockReverseTunnel_ConnectServerSendCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerSendCall) Do ¶
func (c *MockReverseTunnel_ConnectServerSendCall) Do(f func(*rpc.ConnectResponse) error) *MockReverseTunnel_ConnectServerSendCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerSendCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerSendCall) DoAndReturn(f func(*rpc.ConnectResponse) error) *MockReverseTunnel_ConnectServerSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerSendCall) Return ¶
func (c *MockReverseTunnel_ConnectServerSendCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSendCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerSendHeaderCall ¶
MockReverseTunnel_ConnectServerSendHeaderCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerSendHeaderCall) Do ¶
func (c *MockReverseTunnel_ConnectServerSendHeaderCall) Do(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSendHeaderCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerSendHeaderCall) Return ¶
func (c *MockReverseTunnel_ConnectServerSendHeaderCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSendHeaderCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerSendMsgCall ¶
MockReverseTunnel_ConnectServerSendMsgCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerSendMsgCall) Do ¶
func (c *MockReverseTunnel_ConnectServerSendMsgCall) Do(f func(any) error) *MockReverseTunnel_ConnectServerSendMsgCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerSendMsgCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerSendMsgCall) DoAndReturn(f func(any) error) *MockReverseTunnel_ConnectServerSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerSendMsgCall) Return ¶
func (c *MockReverseTunnel_ConnectServerSendMsgCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSendMsgCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerSetHeaderCall ¶
MockReverseTunnel_ConnectServerSetHeaderCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerSetHeaderCall) Do ¶
func (c *MockReverseTunnel_ConnectServerSetHeaderCall) Do(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSetHeaderCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *MockReverseTunnel_ConnectServerSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerSetHeaderCall) Return ¶
func (c *MockReverseTunnel_ConnectServerSetHeaderCall) Return(arg0 error) *MockReverseTunnel_ConnectServerSetHeaderCall
Return rewrite *gomock.Call.Return
type MockReverseTunnel_ConnectServerSetTrailerCall ¶
MockReverseTunnel_ConnectServerSetTrailerCall wrap *gomock.Call
func (*MockReverseTunnel_ConnectServerSetTrailerCall) Do ¶
func (c *MockReverseTunnel_ConnectServerSetTrailerCall) Do(f func(metadata.MD)) *MockReverseTunnel_ConnectServerSetTrailerCall
Do rewrite *gomock.Call.Do
func (*MockReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn ¶
func (c *MockReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *MockReverseTunnel_ConnectServerSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReverseTunnel_ConnectServerSetTrailerCall) Return ¶
func (c *MockReverseTunnel_ConnectServerSetTrailerCall) Return() *MockReverseTunnel_ConnectServerSetTrailerCall
Return rewrite *gomock.Call.Return