Documentation ¶
Overview ¶
Package mock_reverse_tunnel is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTunnel ¶
type MockTunnel struct {
// contains filtered or unexported fields
}
MockTunnel is a mock of Tunnel interface.
func NewMockTunnel ¶
func NewMockTunnel(ctrl *gomock.Controller) *MockTunnel
NewMockTunnel creates a new mock instance.
func (*MockTunnel) EXPECT ¶
func (m *MockTunnel) EXPECT() *MockTunnelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTunnel) ForwardStream ¶
func (m *MockTunnel) ForwardStream(arg0 *zap.Logger, arg1 reverse_tunnel.RpcApi, arg2 grpc.ServerStream, arg3 reverse_tunnel.TunnelDataCallback) error
ForwardStream mocks base method.
type MockTunnelFinder ¶
type MockTunnelFinder struct {
// contains filtered or unexported fields
}
MockTunnelFinder is a mock of TunnelFinder interface.
func NewMockTunnelFinder ¶
func NewMockTunnelFinder(ctrl *gomock.Controller) *MockTunnelFinder
NewMockTunnelFinder creates a new mock instance.
func (*MockTunnelFinder) EXPECT ¶
func (m *MockTunnelFinder) EXPECT() *MockTunnelFinderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTunnelFinder) FindTunnel ¶
func (m *MockTunnelFinder) FindTunnel(arg0 context.Context, arg1 int64, arg2, arg3 string) (reverse_tunnel.Tunnel, error)
FindTunnel mocks base method.
type MockTunnelFinderMockRecorder ¶
type MockTunnelFinderMockRecorder struct {
// contains filtered or unexported fields
}
MockTunnelFinderMockRecorder is the mock recorder for MockTunnelFinder.
func (*MockTunnelFinderMockRecorder) FindTunnel ¶
func (mr *MockTunnelFinderMockRecorder) FindTunnel(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindTunnel indicates an expected call of FindTunnel.
type MockTunnelHandler ¶
type MockTunnelHandler struct {
// contains filtered or unexported fields
}
MockTunnelHandler is a mock of TunnelHandler interface.
func NewMockTunnelHandler ¶
func NewMockTunnelHandler(ctrl *gomock.Controller) *MockTunnelHandler
NewMockTunnelHandler creates a new mock instance.
func (*MockTunnelHandler) EXPECT ¶
func (m *MockTunnelHandler) EXPECT() *MockTunnelHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTunnelHandler) HandleTunnel ¶
func (m *MockTunnelHandler) HandleTunnel(arg0 context.Context, arg1 *api.AgentInfo, arg2 rpc.ReverseTunnel_ConnectServer) error
HandleTunnel mocks base method.
type MockTunnelHandlerMockRecorder ¶
type MockTunnelHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockTunnelHandlerMockRecorder is the mock recorder for MockTunnelHandler.
func (*MockTunnelHandlerMockRecorder) HandleTunnel ¶
func (mr *MockTunnelHandlerMockRecorder) HandleTunnel(arg0, arg1, arg2 interface{}) *gomock.Call
HandleTunnel indicates an expected call of HandleTunnel.
type MockTunnelMockRecorder ¶
type MockTunnelMockRecorder struct {
// contains filtered or unexported fields
}
MockTunnelMockRecorder is the mock recorder for MockTunnel.
func (*MockTunnelMockRecorder) Done ¶
func (mr *MockTunnelMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done.
func (*MockTunnelMockRecorder) ForwardStream ¶
func (mr *MockTunnelMockRecorder) ForwardStream(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ForwardStream indicates an expected call of ForwardStream.