mock_reverse_tunnel_rpc

package
v16.7.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 6 Imported by: 0

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

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

Connect mocks base method.

func (*MockReverseTunnelClient) EXPECT

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

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

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 *MockReverseTunnel_ConnectClient) RecvMsg(arg0 any) error

RecvMsg mocks base method.

func (*MockReverseTunnel_ConnectClient) Send

Send mocks base method.

func (*MockReverseTunnel_ConnectClient) SendMsg

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

SendMsg mocks base method.

func (*MockReverseTunnel_ConnectClient) Trailer

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

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_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 *MockReverseTunnel_ConnectServer) RecvMsg(arg0 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 *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

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 ReverseTunnelClientConnectCall added in v16.5.0

type ReverseTunnelClientConnectCall struct {
	*gomock.Call
}

ReverseTunnelClientConnectCall wrap *gomock.Call

func (*ReverseTunnelClientConnectCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnelClientConnectCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnelClientConnectCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientCloseSendCall added in v16.5.0

type ReverseTunnel_ConnectClientCloseSendCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientCloseSendCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientCloseSendCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientCloseSendCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientCloseSendCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientContextCall added in v16.5.0

type ReverseTunnel_ConnectClientContextCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientContextCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientContextCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientContextCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientContextCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientHeaderCall added in v16.5.0

type ReverseTunnel_ConnectClientHeaderCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientHeaderCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientHeaderCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientHeaderCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientHeaderCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientRecvCall added in v16.5.0

type ReverseTunnel_ConnectClientRecvCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientRecvCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientRecvCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientRecvCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientRecvCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientRecvMsgCall added in v16.5.0

type ReverseTunnel_ConnectClientRecvMsgCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientRecvMsgCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientRecvMsgCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientRecvMsgCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientRecvMsgCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientSendCall added in v16.5.0

type ReverseTunnel_ConnectClientSendCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientSendCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientSendCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientSendCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientSendCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientSendMsgCall added in v16.5.0

type ReverseTunnel_ConnectClientSendMsgCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientSendMsgCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientSendMsgCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientSendMsgCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientSendMsgCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectClientTrailerCall added in v16.5.0

type ReverseTunnel_ConnectClientTrailerCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectClientTrailerCall wrap *gomock.Call

func (*ReverseTunnel_ConnectClientTrailerCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectClientTrailerCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectClientTrailerCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerContextCall added in v16.5.0

type ReverseTunnel_ConnectServerContextCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerContextCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerContextCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerContextCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerContextCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerRecvCall added in v16.5.0

type ReverseTunnel_ConnectServerRecvCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerRecvCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerRecvCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerRecvCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerRecvCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerRecvMsgCall added in v16.5.0

type ReverseTunnel_ConnectServerRecvMsgCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerRecvMsgCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerRecvMsgCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerRecvMsgCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerRecvMsgCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerSendCall added in v16.5.0

type ReverseTunnel_ConnectServerSendCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerSendCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerSendCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerSendCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerSendCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerSendHeaderCall added in v16.5.0

type ReverseTunnel_ConnectServerSendHeaderCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerSendHeaderCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerSendHeaderCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerSendHeaderCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerSendHeaderCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerSendMsgCall added in v16.5.0

type ReverseTunnel_ConnectServerSendMsgCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerSendMsgCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerSendMsgCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerSendMsgCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerSendMsgCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerSetHeaderCall added in v16.5.0

type ReverseTunnel_ConnectServerSetHeaderCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerSetHeaderCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerSetHeaderCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerSetHeaderCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerSetHeaderCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

type ReverseTunnel_ConnectServerSetTrailerCall added in v16.5.0

type ReverseTunnel_ConnectServerSetTrailerCall struct {
	*gomock.Call
}

ReverseTunnel_ConnectServerSetTrailerCall wrap *gomock.Call

func (*ReverseTunnel_ConnectServerSetTrailerCall) Do added in v16.5.0

Do rewrite *gomock.Call.Do

func (*ReverseTunnel_ConnectServerSetTrailerCall) DoAndReturn added in v16.5.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ReverseTunnel_ConnectServerSetTrailerCall) Return added in v16.5.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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