mock_tunnel_rpc

package
v17.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package mock_tunnel_rpc is a generated GoMock package.

Package mock_tunnel_rpc is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EquateMetadataKV added in v17.5.2

func EquateMetadataKV() cmp.Option

func NewMetadataKV added in v17.5.2

func NewMetadataKV(key string, values ...string) *rpc.MetadataKV

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

Connect mocks base method.

func (*MockReverseTunnelClient) EXPECT

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

type MockReverseTunnelClientConnectCall

type MockReverseTunnelClientConnectCall struct {
	*gomock.Call
}

MockReverseTunnelClientConnectCall wrap *gomock.Call

func (*MockReverseTunnelClientConnectCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnelClientConnectCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnelClientConnectCall) Return

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

Connect indicates an expected call of Connect.

type MockReverseTunnelServer

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

MockReverseTunnelServer is a mock of ReverseTunnelServer interface.

func NewMockReverseTunnelServer

func NewMockReverseTunnelServer(ctrl *gomock.Controller) *MockReverseTunnelServer

NewMockReverseTunnelServer creates a new mock instance.

func (*MockReverseTunnelServer) Connect

Connect mocks base method.

func (*MockReverseTunnelServer) EXPECT

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

type MockReverseTunnelServerConnectCall

type MockReverseTunnelServerConnectCall struct {
	*gomock.Call
}

MockReverseTunnelServerConnectCall wrap *gomock.Call

func (*MockReverseTunnelServerConnectCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnelServerConnectCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnelServerConnectCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnelServerMockRecorder

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

MockReverseTunnelServerMockRecorder is the mock recorder for MockReverseTunnelServer.

func (*MockReverseTunnelServerMockRecorder) Connect

Connect indicates an expected call of Connect.

type MockReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall

type MockReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall struct {
	*gomock.Call
}

MockReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall wrap *gomock.Call

func (*MockReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall) Return

Return rewrite *gomock.Call.Return

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

Context mocks base method.

func (*MockReverseTunnel_ConnectClient) EXPECT

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

func (*MockReverseTunnel_ConnectClient) Header

Header mocks base method.

func (*MockReverseTunnel_ConnectClient) Recv

Recv mocks base method.

func (*MockReverseTunnel_ConnectClient) RecvMsg

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

RecvMsg mocks base method.

func (*MockReverseTunnel_ConnectClient) Send

Send mocks base method.

func (*MockReverseTunnel_ConnectClient) SendMsg

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

SendMsg mocks base method.

func (*MockReverseTunnel_ConnectClient) Trailer

Trailer mocks base method.

type MockReverseTunnel_ConnectClientCloseSendCall

type MockReverseTunnel_ConnectClientCloseSendCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientCloseSendCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientCloseSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientCloseSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientCloseSendCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectClientContextCall

type MockReverseTunnel_ConnectClientContextCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientContextCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientContextCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientContextCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectClientHeaderCall

type MockReverseTunnel_ConnectClientHeaderCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientHeaderCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientHeaderCall) Return

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

CloseSend indicates an expected call of CloseSend.

func (*MockReverseTunnel_ConnectClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockReverseTunnel_ConnectClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockReverseTunnel_ConnectClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockReverseTunnel_ConnectClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockReverseTunnel_ConnectClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockReverseTunnel_ConnectClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockReverseTunnel_ConnectClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockReverseTunnel_ConnectClientRecvCall

type MockReverseTunnel_ConnectClientRecvCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientRecvCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientRecvCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientRecvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientRecvCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectClientRecvMsgCall

type MockReverseTunnel_ConnectClientRecvMsgCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientRecvMsgCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientRecvMsgCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientRecvMsgCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectClientSendCall

type MockReverseTunnel_ConnectClientSendCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientSendCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientSendCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectClientSendMsgCall

type MockReverseTunnel_ConnectClientSendMsgCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientSendMsgCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientSendMsgCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientSendMsgCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientSendMsgCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectClientTrailerCall

type MockReverseTunnel_ConnectClientTrailerCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectClientTrailerCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectClientTrailerCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectClientTrailerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectClientTrailerCall) Return

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

Context mocks base method.

func (*MockReverseTunnel_ConnectServer) EXPECT

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

func (*MockReverseTunnel_ConnectServer) Recv

Recv mocks base method.

func (*MockReverseTunnel_ConnectServer) RecvMsg

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

RecvMsg mocks base method.

func (*MockReverseTunnel_ConnectServer) Send

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_2 *MockReverseTunnel_ConnectServer) SendMsg(m 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

type MockReverseTunnel_ConnectServerContextCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerContextCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerContextCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerContextCall) Return

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

Context indicates an expected call of Context.

func (*MockReverseTunnel_ConnectServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockReverseTunnel_ConnectServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockReverseTunnel_ConnectServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockReverseTunnel_ConnectServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockReverseTunnel_ConnectServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockReverseTunnel_ConnectServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockReverseTunnel_ConnectServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockReverseTunnel_ConnectServerRecvCall

type MockReverseTunnel_ConnectServerRecvCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerRecvCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerRecvCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerRecvCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerRecvCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectServerRecvMsgCall

type MockReverseTunnel_ConnectServerRecvMsgCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerRecvMsgCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerRecvMsgCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerRecvMsgCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectServerSendCall

type MockReverseTunnel_ConnectServerSendCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerSendCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerSendCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerSendCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerSendCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectServerSendHeaderCall

type MockReverseTunnel_ConnectServerSendHeaderCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerSendHeaderCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerSendHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerSendHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectServerSendMsgCall

type MockReverseTunnel_ConnectServerSendMsgCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerSendMsgCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerSendMsgCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerSendMsgCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerSendMsgCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectServerSetHeaderCall

type MockReverseTunnel_ConnectServerSetHeaderCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerSetHeaderCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerSetHeaderCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerSetHeaderCall) Return

Return rewrite *gomock.Call.Return

type MockReverseTunnel_ConnectServerSetTrailerCall

type MockReverseTunnel_ConnectServerSetTrailerCall struct {
	*gomock.Call
}

MockReverseTunnel_ConnectServerSetTrailerCall wrap *gomock.Call

func (*MockReverseTunnel_ConnectServerSetTrailerCall) Do

Do rewrite *gomock.Call.Do

func (*MockReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockReverseTunnel_ConnectServerSetTrailerCall) Return

Return rewrite *gomock.Call.Return

type MockUnsafeReverseTunnelServer

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

MockUnsafeReverseTunnelServer is a mock of UnsafeReverseTunnelServer interface.

func NewMockUnsafeReverseTunnelServer

func NewMockUnsafeReverseTunnelServer(ctrl *gomock.Controller) *MockUnsafeReverseTunnelServer

NewMockUnsafeReverseTunnelServer creates a new mock instance.

func (*MockUnsafeReverseTunnelServer) EXPECT

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

type MockUnsafeReverseTunnelServerMockRecorder

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

MockUnsafeReverseTunnelServerMockRecorder is the mock recorder for MockUnsafeReverseTunnelServer.

type MockUnsafeReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall

type MockUnsafeReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall struct {
	*gomock.Call
}

MockUnsafeReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall wrap *gomock.Call

func (*MockUnsafeReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall) Do

Do rewrite *gomock.Call.Do

func (*MockUnsafeReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUnsafeReverseTunnelServermustEmbedUnimplementedReverseTunnelServerCall) Return

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClient

type ReverseTunnel_ConnectClient interface {
	grpc.BidiStreamingClient[rpc.ConnectRequest, rpc.ConnectResponse]
}

type ReverseTunnel_ConnectServer

type ReverseTunnel_ConnectServer interface {
	grpc.BidiStreamingServer[rpc.ConnectRequest, rpc.ConnectResponse]
}

Jump to

Keyboard shortcuts

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