Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/reverse_tunnel/rpc (interfaces: ReverseTunnel_ConnectServer,ReverseTunnel_ConnectClient,ReverseTunnelClient)
Generated by this command:
mockgen -typed -destination rpc.go -package mock_reverse_tunnel_rpc gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/reverse_tunnel/rpc ReverseTunnel_ConnectServer,ReverseTunnel_ConnectClient,ReverseTunnelClient
Package mock_reverse_tunnel_rpc is a generated GoMock package.
Index ¶
- type MockReverseTunnelClient
- 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_ConnectClientMockRecorder
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) CloseSend() *ReverseTunnel_ConnectClientCloseSendCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Context() *ReverseTunnel_ConnectClientContextCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Header() *ReverseTunnel_ConnectClientHeaderCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Recv() *ReverseTunnel_ConnectClientRecvCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) RecvMsg(arg0 any) *ReverseTunnel_ConnectClientRecvMsgCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Send(arg0 any) *ReverseTunnel_ConnectClientSendCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) SendMsg(arg0 any) *ReverseTunnel_ConnectClientSendMsgCall
- func (mr *MockReverseTunnel_ConnectClientMockRecorder) Trailer() *ReverseTunnel_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_ConnectServerMockRecorder
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) Context() *ReverseTunnel_ConnectServerContextCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) Recv() *ReverseTunnel_ConnectServerRecvCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) RecvMsg(arg0 any) *ReverseTunnel_ConnectServerRecvMsgCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) Send(arg0 any) *ReverseTunnel_ConnectServerSendCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendHeader(arg0 any) *ReverseTunnel_ConnectServerSendHeaderCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendMsg(arg0 any) *ReverseTunnel_ConnectServerSendMsgCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetHeader(arg0 any) *ReverseTunnel_ConnectServerSetHeaderCall
- func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetTrailer(arg0 any) *ReverseTunnel_ConnectServerSetTrailerCall
- type ReverseTunnelClientConnectCall
- func (c *ReverseTunnelClientConnectCall) Do(...) *ReverseTunnelClientConnectCall
- func (c *ReverseTunnelClientConnectCall) DoAndReturn(...) *ReverseTunnelClientConnectCall
- func (c *ReverseTunnelClientConnectCall) Return(arg0 rpc.ReverseTunnel_ConnectClient, arg1 error) *ReverseTunnelClientConnectCall
- type ReverseTunnel_ConnectClientCloseSendCall
- func (c *ReverseTunnel_ConnectClientCloseSendCall) Do(f func() error) *ReverseTunnel_ConnectClientCloseSendCall
- func (c *ReverseTunnel_ConnectClientCloseSendCall) DoAndReturn(f func() error) *ReverseTunnel_ConnectClientCloseSendCall
- func (c *ReverseTunnel_ConnectClientCloseSendCall) Return(arg0 error) *ReverseTunnel_ConnectClientCloseSendCall
- type ReverseTunnel_ConnectClientContextCall
- func (c *ReverseTunnel_ConnectClientContextCall) Do(f func() context.Context) *ReverseTunnel_ConnectClientContextCall
- func (c *ReverseTunnel_ConnectClientContextCall) DoAndReturn(f func() context.Context) *ReverseTunnel_ConnectClientContextCall
- func (c *ReverseTunnel_ConnectClientContextCall) Return(arg0 context.Context) *ReverseTunnel_ConnectClientContextCall
- type ReverseTunnel_ConnectClientHeaderCall
- func (c *ReverseTunnel_ConnectClientHeaderCall) Do(f func() (metadata.MD, error)) *ReverseTunnel_ConnectClientHeaderCall
- func (c *ReverseTunnel_ConnectClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *ReverseTunnel_ConnectClientHeaderCall
- func (c *ReverseTunnel_ConnectClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *ReverseTunnel_ConnectClientHeaderCall
- type ReverseTunnel_ConnectClientRecvCall
- func (c *ReverseTunnel_ConnectClientRecvCall) Do(f func() (*rpc.ConnectResponse, error)) *ReverseTunnel_ConnectClientRecvCall
- func (c *ReverseTunnel_ConnectClientRecvCall) DoAndReturn(f func() (*rpc.ConnectResponse, error)) *ReverseTunnel_ConnectClientRecvCall
- func (c *ReverseTunnel_ConnectClientRecvCall) Return(arg0 *rpc.ConnectResponse, arg1 error) *ReverseTunnel_ConnectClientRecvCall
- type ReverseTunnel_ConnectClientRecvMsgCall
- func (c *ReverseTunnel_ConnectClientRecvMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectClientRecvMsgCall
- func (c *ReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectClientRecvMsgCall
- func (c *ReverseTunnel_ConnectClientRecvMsgCall) Return(arg0 error) *ReverseTunnel_ConnectClientRecvMsgCall
- type ReverseTunnel_ConnectClientSendCall
- func (c *ReverseTunnel_ConnectClientSendCall) Do(f func(*rpc.ConnectRequest) error) *ReverseTunnel_ConnectClientSendCall
- func (c *ReverseTunnel_ConnectClientSendCall) DoAndReturn(f func(*rpc.ConnectRequest) error) *ReverseTunnel_ConnectClientSendCall
- func (c *ReverseTunnel_ConnectClientSendCall) Return(arg0 error) *ReverseTunnel_ConnectClientSendCall
- type ReverseTunnel_ConnectClientSendMsgCall
- func (c *ReverseTunnel_ConnectClientSendMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectClientSendMsgCall
- func (c *ReverseTunnel_ConnectClientSendMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectClientSendMsgCall
- func (c *ReverseTunnel_ConnectClientSendMsgCall) Return(arg0 error) *ReverseTunnel_ConnectClientSendMsgCall
- type ReverseTunnel_ConnectClientTrailerCall
- func (c *ReverseTunnel_ConnectClientTrailerCall) Do(f func() metadata.MD) *ReverseTunnel_ConnectClientTrailerCall
- func (c *ReverseTunnel_ConnectClientTrailerCall) DoAndReturn(f func() metadata.MD) *ReverseTunnel_ConnectClientTrailerCall
- func (c *ReverseTunnel_ConnectClientTrailerCall) Return(arg0 metadata.MD) *ReverseTunnel_ConnectClientTrailerCall
- type ReverseTunnel_ConnectServerContextCall
- func (c *ReverseTunnel_ConnectServerContextCall) Do(f func() context.Context) *ReverseTunnel_ConnectServerContextCall
- func (c *ReverseTunnel_ConnectServerContextCall) DoAndReturn(f func() context.Context) *ReverseTunnel_ConnectServerContextCall
- func (c *ReverseTunnel_ConnectServerContextCall) Return(arg0 context.Context) *ReverseTunnel_ConnectServerContextCall
- type ReverseTunnel_ConnectServerRecvCall
- func (c *ReverseTunnel_ConnectServerRecvCall) Do(f func() (*rpc.ConnectRequest, error)) *ReverseTunnel_ConnectServerRecvCall
- func (c *ReverseTunnel_ConnectServerRecvCall) DoAndReturn(f func() (*rpc.ConnectRequest, error)) *ReverseTunnel_ConnectServerRecvCall
- func (c *ReverseTunnel_ConnectServerRecvCall) Return(arg0 *rpc.ConnectRequest, arg1 error) *ReverseTunnel_ConnectServerRecvCall
- type ReverseTunnel_ConnectServerRecvMsgCall
- func (c *ReverseTunnel_ConnectServerRecvMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectServerRecvMsgCall
- func (c *ReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectServerRecvMsgCall
- func (c *ReverseTunnel_ConnectServerRecvMsgCall) Return(arg0 error) *ReverseTunnel_ConnectServerRecvMsgCall
- type ReverseTunnel_ConnectServerSendCall
- func (c *ReverseTunnel_ConnectServerSendCall) Do(f func(*rpc.ConnectResponse) error) *ReverseTunnel_ConnectServerSendCall
- func (c *ReverseTunnel_ConnectServerSendCall) DoAndReturn(f func(*rpc.ConnectResponse) error) *ReverseTunnel_ConnectServerSendCall
- func (c *ReverseTunnel_ConnectServerSendCall) Return(arg0 error) *ReverseTunnel_ConnectServerSendCall
- type ReverseTunnel_ConnectServerSendHeaderCall
- func (c *ReverseTunnel_ConnectServerSendHeaderCall) Do(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSendHeaderCall
- func (c *ReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSendHeaderCall
- func (c *ReverseTunnel_ConnectServerSendHeaderCall) Return(arg0 error) *ReverseTunnel_ConnectServerSendHeaderCall
- type ReverseTunnel_ConnectServerSendMsgCall
- func (c *ReverseTunnel_ConnectServerSendMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectServerSendMsgCall
- func (c *ReverseTunnel_ConnectServerSendMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectServerSendMsgCall
- func (c *ReverseTunnel_ConnectServerSendMsgCall) Return(arg0 error) *ReverseTunnel_ConnectServerSendMsgCall
- type ReverseTunnel_ConnectServerSetHeaderCall
- func (c *ReverseTunnel_ConnectServerSetHeaderCall) Do(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSetHeaderCall
- func (c *ReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSetHeaderCall
- func (c *ReverseTunnel_ConnectServerSetHeaderCall) Return(arg0 error) *ReverseTunnel_ConnectServerSetHeaderCall
- type ReverseTunnel_ConnectServerSetTrailerCall
- func (c *ReverseTunnel_ConnectServerSetTrailerCall) Do(f func(metadata.MD)) *ReverseTunnel_ConnectServerSetTrailerCall
- func (c *ReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *ReverseTunnel_ConnectServerSetTrailerCall
- func (c *ReverseTunnel_ConnectServerSetTrailerCall) Return() *ReverseTunnel_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 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) *ReverseTunnelClientConnectCall
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_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() *ReverseTunnel_ConnectClientCloseSendCall
CloseSend indicates an expected call of CloseSend.
func (*MockReverseTunnel_ConnectClientMockRecorder) Context ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Context() *ReverseTunnel_ConnectClientContextCall
Context indicates an expected call of Context.
func (*MockReverseTunnel_ConnectClientMockRecorder) Header ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Header() *ReverseTunnel_ConnectClientHeaderCall
Header indicates an expected call of Header.
func (*MockReverseTunnel_ConnectClientMockRecorder) Recv ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Recv() *ReverseTunnel_ConnectClientRecvCall
Recv indicates an expected call of Recv.
func (*MockReverseTunnel_ConnectClientMockRecorder) RecvMsg ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) RecvMsg(arg0 any) *ReverseTunnel_ConnectClientRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockReverseTunnel_ConnectClientMockRecorder) Send ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Send(arg0 any) *ReverseTunnel_ConnectClientSendCall
Send indicates an expected call of Send.
func (*MockReverseTunnel_ConnectClientMockRecorder) SendMsg ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) SendMsg(arg0 any) *ReverseTunnel_ConnectClientSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockReverseTunnel_ConnectClientMockRecorder) Trailer ¶
func (mr *MockReverseTunnel_ConnectClientMockRecorder) Trailer() *ReverseTunnel_ConnectClientTrailerCall
Trailer indicates an expected call of Trailer.
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_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() *ReverseTunnel_ConnectServerContextCall
Context indicates an expected call of Context.
func (*MockReverseTunnel_ConnectServerMockRecorder) Recv ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) Recv() *ReverseTunnel_ConnectServerRecvCall
Recv indicates an expected call of Recv.
func (*MockReverseTunnel_ConnectServerMockRecorder) RecvMsg ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) RecvMsg(arg0 any) *ReverseTunnel_ConnectServerRecvMsgCall
RecvMsg indicates an expected call of RecvMsg.
func (*MockReverseTunnel_ConnectServerMockRecorder) Send ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) Send(arg0 any) *ReverseTunnel_ConnectServerSendCall
Send indicates an expected call of Send.
func (*MockReverseTunnel_ConnectServerMockRecorder) SendHeader ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendHeader(arg0 any) *ReverseTunnel_ConnectServerSendHeaderCall
SendHeader indicates an expected call of SendHeader.
func (*MockReverseTunnel_ConnectServerMockRecorder) SendMsg ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SendMsg(arg0 any) *ReverseTunnel_ConnectServerSendMsgCall
SendMsg indicates an expected call of SendMsg.
func (*MockReverseTunnel_ConnectServerMockRecorder) SetHeader ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetHeader(arg0 any) *ReverseTunnel_ConnectServerSetHeaderCall
SetHeader indicates an expected call of SetHeader.
func (*MockReverseTunnel_ConnectServerMockRecorder) SetTrailer ¶
func (mr *MockReverseTunnel_ConnectServerMockRecorder) SetTrailer(arg0 any) *ReverseTunnel_ConnectServerSetTrailerCall
SetTrailer indicates an expected call of SetTrailer.
type ReverseTunnelClientConnectCall ¶ added in v16.5.0
ReverseTunnelClientConnectCall wrap *gomock.Call
func (*ReverseTunnelClientConnectCall) Do ¶ added in v16.5.0
func (c *ReverseTunnelClientConnectCall) Do(f func(context.Context, ...grpc.CallOption) (rpc.ReverseTunnel_ConnectClient, error)) *ReverseTunnelClientConnectCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnelClientConnectCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnelClientConnectCall) DoAndReturn(f func(context.Context, ...grpc.CallOption) (rpc.ReverseTunnel_ConnectClient, error)) *ReverseTunnelClientConnectCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnelClientConnectCall) Return ¶ added in v16.5.0
func (c *ReverseTunnelClientConnectCall) Return(arg0 rpc.ReverseTunnel_ConnectClient, arg1 error) *ReverseTunnelClientConnectCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientCloseSendCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientCloseSendCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientCloseSendCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientCloseSendCall) Do(f func() error) *ReverseTunnel_ConnectClientCloseSendCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientCloseSendCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientCloseSendCall) DoAndReturn(f func() error) *ReverseTunnel_ConnectClientCloseSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientCloseSendCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientCloseSendCall) Return(arg0 error) *ReverseTunnel_ConnectClientCloseSendCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientContextCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientContextCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientContextCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientContextCall) Do(f func() context.Context) *ReverseTunnel_ConnectClientContextCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientContextCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientContextCall) DoAndReturn(f func() context.Context) *ReverseTunnel_ConnectClientContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientContextCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientContextCall) Return(arg0 context.Context) *ReverseTunnel_ConnectClientContextCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientHeaderCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientHeaderCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientHeaderCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientHeaderCall) Do(f func() (metadata.MD, error)) *ReverseTunnel_ConnectClientHeaderCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientHeaderCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientHeaderCall) DoAndReturn(f func() (metadata.MD, error)) *ReverseTunnel_ConnectClientHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientHeaderCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientHeaderCall) Return(arg0 metadata.MD, arg1 error) *ReverseTunnel_ConnectClientHeaderCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientRecvCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientRecvCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientRecvCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientRecvCall) Do(f func() (*rpc.ConnectResponse, error)) *ReverseTunnel_ConnectClientRecvCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientRecvCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientRecvCall) DoAndReturn(f func() (*rpc.ConnectResponse, error)) *ReverseTunnel_ConnectClientRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientRecvCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientRecvCall) Return(arg0 *rpc.ConnectResponse, arg1 error) *ReverseTunnel_ConnectClientRecvCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientRecvMsgCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientRecvMsgCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientRecvMsgCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientRecvMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectClientRecvMsgCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectClientRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientRecvMsgCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientRecvMsgCall) Return(arg0 error) *ReverseTunnel_ConnectClientRecvMsgCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientSendCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientSendCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientSendCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientSendCall) Do(f func(*rpc.ConnectRequest) error) *ReverseTunnel_ConnectClientSendCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientSendCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientSendCall) DoAndReturn(f func(*rpc.ConnectRequest) error) *ReverseTunnel_ConnectClientSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientSendCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientSendCall) Return(arg0 error) *ReverseTunnel_ConnectClientSendCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientSendMsgCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientSendMsgCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientSendMsgCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientSendMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectClientSendMsgCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientSendMsgCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientSendMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectClientSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientSendMsgCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientSendMsgCall) Return(arg0 error) *ReverseTunnel_ConnectClientSendMsgCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectClientTrailerCall ¶ added in v16.5.0
ReverseTunnel_ConnectClientTrailerCall wrap *gomock.Call
func (*ReverseTunnel_ConnectClientTrailerCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientTrailerCall) Do(f func() metadata.MD) *ReverseTunnel_ConnectClientTrailerCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectClientTrailerCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientTrailerCall) DoAndReturn(f func() metadata.MD) *ReverseTunnel_ConnectClientTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectClientTrailerCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectClientTrailerCall) Return(arg0 metadata.MD) *ReverseTunnel_ConnectClientTrailerCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerContextCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerContextCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerContextCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerContextCall) Do(f func() context.Context) *ReverseTunnel_ConnectServerContextCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerContextCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerContextCall) DoAndReturn(f func() context.Context) *ReverseTunnel_ConnectServerContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerContextCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerContextCall) Return(arg0 context.Context) *ReverseTunnel_ConnectServerContextCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerRecvCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerRecvCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerRecvCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerRecvCall) Do(f func() (*rpc.ConnectRequest, error)) *ReverseTunnel_ConnectServerRecvCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerRecvCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerRecvCall) DoAndReturn(f func() (*rpc.ConnectRequest, error)) *ReverseTunnel_ConnectServerRecvCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerRecvCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerRecvCall) Return(arg0 *rpc.ConnectRequest, arg1 error) *ReverseTunnel_ConnectServerRecvCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerRecvMsgCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerRecvMsgCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerRecvMsgCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerRecvMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectServerRecvMsgCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectServerRecvMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerRecvMsgCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerRecvMsgCall) Return(arg0 error) *ReverseTunnel_ConnectServerRecvMsgCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerSendCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerSendCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerSendCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendCall) Do(f func(*rpc.ConnectResponse) error) *ReverseTunnel_ConnectServerSendCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerSendCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendCall) DoAndReturn(f func(*rpc.ConnectResponse) error) *ReverseTunnel_ConnectServerSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerSendCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendCall) Return(arg0 error) *ReverseTunnel_ConnectServerSendCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerSendHeaderCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerSendHeaderCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerSendHeaderCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendHeaderCall) Do(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSendHeaderCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSendHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerSendHeaderCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendHeaderCall) Return(arg0 error) *ReverseTunnel_ConnectServerSendHeaderCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerSendMsgCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerSendMsgCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerSendMsgCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendMsgCall) Do(f func(any) error) *ReverseTunnel_ConnectServerSendMsgCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerSendMsgCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendMsgCall) DoAndReturn(f func(any) error) *ReverseTunnel_ConnectServerSendMsgCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerSendMsgCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSendMsgCall) Return(arg0 error) *ReverseTunnel_ConnectServerSendMsgCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerSetHeaderCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerSetHeaderCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerSetHeaderCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSetHeaderCall) Do(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSetHeaderCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn(f func(metadata.MD) error) *ReverseTunnel_ConnectServerSetHeaderCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerSetHeaderCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSetHeaderCall) Return(arg0 error) *ReverseTunnel_ConnectServerSetHeaderCall
Return rewrite *gomock.Call.Return
type ReverseTunnel_ConnectServerSetTrailerCall ¶ added in v16.5.0
ReverseTunnel_ConnectServerSetTrailerCall wrap *gomock.Call
func (*ReverseTunnel_ConnectServerSetTrailerCall) Do ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSetTrailerCall) Do(f func(metadata.MD)) *ReverseTunnel_ConnectServerSetTrailerCall
Do rewrite *gomock.Call.Do
func (*ReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn(f func(metadata.MD)) *ReverseTunnel_ConnectServerSetTrailerCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReverseTunnel_ConnectServerSetTrailerCall) Return ¶ added in v16.5.0
func (c *ReverseTunnel_ConnectServerSetTrailerCall) Return() *ReverseTunnel_ConnectServerSetTrailerCall
Return rewrite *gomock.Call.Return