mocks

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMiddleware added in v0.2.8

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

MockMiddleware is a mock of Middleware interface.

func NewMockMiddleware added in v0.2.8

func NewMockMiddleware(ctrl *gomock.Controller) *MockMiddleware

NewMockMiddleware creates a new mock instance.

func (*MockMiddleware) Close added in v0.2.8

func (m *MockMiddleware) Close() error

Close mocks base method.

func (*MockMiddleware) EXPECT added in v0.2.8

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

func (*MockMiddleware) Handler added in v0.2.8

Handler mocks base method.

type MockMiddlewareMockRecorder added in v0.2.8

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

MockMiddlewareMockRecorder is the mock recorder for MockMiddleware.

func (*MockMiddlewareMockRecorder) Close added in v0.2.8

func (mr *MockMiddlewareMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockMiddlewareMockRecorder) Handler added in v0.2.8

func (mr *MockMiddlewareMockRecorder) Handler() *gomock.Call

Handler indicates an expected call of Handler.

type MockMiddlewareRunner added in v0.2.8

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

MockMiddlewareRunner is a mock of MiddlewareRunner interface.

func NewMockMiddlewareRunner added in v0.2.8

func NewMockMiddlewareRunner(ctrl *gomock.Controller) *MockMiddlewareRunner

NewMockMiddlewareRunner creates a new mock instance.

func (*MockMiddlewareRunner) AddMiddleware added in v0.2.8

func (m *MockMiddlewareRunner) AddMiddleware(name string, middleware types.Middleware)

AddMiddleware mocks base method.

func (*MockMiddlewareRunner) EXPECT added in v0.2.8

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

func (*MockMiddlewareRunner) GetConfig added in v0.2.8

func (m *MockMiddlewareRunner) GetConfig() types.RunnerConfig

GetConfig mocks base method.

func (*MockMiddlewareRunner) SetAuthInfoHandler added in v0.2.8

func (m *MockMiddlewareRunner) SetAuthInfoHandler(handler http.Handler)

SetAuthInfoHandler mocks base method.

func (*MockMiddlewareRunner) SetPrometheusHandler added in v0.2.8

func (m *MockMiddlewareRunner) SetPrometheusHandler(handler http.Handler)

SetPrometheusHandler mocks base method.

type MockMiddlewareRunnerMockRecorder added in v0.2.8

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

MockMiddlewareRunnerMockRecorder is the mock recorder for MockMiddlewareRunner.

func (*MockMiddlewareRunnerMockRecorder) AddMiddleware added in v0.2.8

func (mr *MockMiddlewareRunnerMockRecorder) AddMiddleware(name, middleware any) *gomock.Call

AddMiddleware indicates an expected call of AddMiddleware.

func (*MockMiddlewareRunnerMockRecorder) GetConfig added in v0.2.8

func (mr *MockMiddlewareRunnerMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockMiddlewareRunnerMockRecorder) SetAuthInfoHandler added in v0.2.8

func (mr *MockMiddlewareRunnerMockRecorder) SetAuthInfoHandler(handler any) *gomock.Call

SetAuthInfoHandler indicates an expected call of SetAuthInfoHandler.

func (*MockMiddlewareRunnerMockRecorder) SetPrometheusHandler added in v0.2.8

func (mr *MockMiddlewareRunnerMockRecorder) SetPrometheusHandler(handler any) *gomock.Call

SetPrometheusHandler indicates an expected call of SetPrometheusHandler.

type MockProxy added in v0.2.8

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

MockProxy is a mock of Proxy interface.

func NewMockProxy added in v0.2.8

func NewMockProxy(ctrl *gomock.Controller) *MockProxy

NewMockProxy creates a new mock instance.

func (*MockProxy) EXPECT added in v0.2.8

func (m *MockProxy) EXPECT() *MockProxyMockRecorder

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

func (*MockProxy) ForwardResponseToClients added in v0.2.8

func (m *MockProxy) ForwardResponseToClients(ctx context.Context, msg jsonrpc2.Message) error

ForwardResponseToClients mocks base method.

func (*MockProxy) GetMessageChannel added in v0.2.8

func (m *MockProxy) GetMessageChannel() chan jsonrpc2.Message

GetMessageChannel mocks base method.

func (*MockProxy) SendMessageToDestination added in v0.2.8

func (m *MockProxy) SendMessageToDestination(msg jsonrpc2.Message) error

SendMessageToDestination mocks base method.

func (*MockProxy) Start added in v0.2.8

func (m *MockProxy) Start(ctx context.Context) error

Start mocks base method.

func (*MockProxy) Stop added in v0.2.8

func (m *MockProxy) Stop(ctx context.Context) error

Stop mocks base method.

type MockProxyMockRecorder added in v0.2.8

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

MockProxyMockRecorder is the mock recorder for MockProxy.

func (*MockProxyMockRecorder) ForwardResponseToClients added in v0.2.8

func (mr *MockProxyMockRecorder) ForwardResponseToClients(ctx, msg any) *gomock.Call

ForwardResponseToClients indicates an expected call of ForwardResponseToClients.

func (*MockProxyMockRecorder) GetMessageChannel added in v0.2.8

func (mr *MockProxyMockRecorder) GetMessageChannel() *gomock.Call

GetMessageChannel indicates an expected call of GetMessageChannel.

func (*MockProxyMockRecorder) SendMessageToDestination added in v0.2.8

func (mr *MockProxyMockRecorder) SendMessageToDestination(msg any) *gomock.Call

SendMessageToDestination indicates an expected call of SendMessageToDestination.

func (*MockProxyMockRecorder) Start added in v0.2.8

func (mr *MockProxyMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockProxyMockRecorder) Stop added in v0.2.8

func (mr *MockProxyMockRecorder) Stop(ctx any) *gomock.Call

Stop indicates an expected call of Stop.

type MockRunnerConfig added in v0.2.8

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

MockRunnerConfig is a mock of RunnerConfig interface.

func NewMockRunnerConfig added in v0.2.8

func NewMockRunnerConfig(ctrl *gomock.Controller) *MockRunnerConfig

NewMockRunnerConfig creates a new mock instance.

func (*MockRunnerConfig) EXPECT added in v0.2.8

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

func (*MockRunnerConfig) GetPort added in v0.2.8

func (m *MockRunnerConfig) GetPort() int

GetPort mocks base method.

type MockRunnerConfigMockRecorder added in v0.2.8

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

MockRunnerConfigMockRecorder is the mock recorder for MockRunnerConfig.

func (*MockRunnerConfigMockRecorder) GetPort added in v0.2.8

func (mr *MockRunnerConfigMockRecorder) GetPort() *gomock.Call

GetPort indicates an expected call of GetPort.

type MockTransport added in v0.2.8

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

MockTransport is a mock of Transport interface.

func NewMockTransport added in v0.2.8

func NewMockTransport(ctrl *gomock.Controller) *MockTransport

NewMockTransport creates a new mock instance.

func (*MockTransport) EXPECT added in v0.2.8

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

func (*MockTransport) IsRunning added in v0.2.8

func (m *MockTransport) IsRunning(ctx context.Context) (bool, error)

IsRunning mocks base method.

func (*MockTransport) Mode added in v0.2.8

func (m *MockTransport) Mode() types.TransportType

Mode mocks base method.

func (*MockTransport) ProxyPort added in v0.2.8

func (m *MockTransport) ProxyPort() int

ProxyPort mocks base method.

func (*MockTransport) Start added in v0.2.8

func (m *MockTransport) Start(ctx context.Context) error

Start mocks base method.

func (*MockTransport) Stop added in v0.2.8

func (m *MockTransport) Stop(ctx context.Context) error

Stop mocks base method.

type MockTransportMockRecorder added in v0.2.8

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

MockTransportMockRecorder is the mock recorder for MockTransport.

func (*MockTransportMockRecorder) IsRunning added in v0.2.8

func (mr *MockTransportMockRecorder) IsRunning(ctx any) *gomock.Call

IsRunning indicates an expected call of IsRunning.

func (*MockTransportMockRecorder) Mode added in v0.2.8

Mode indicates an expected call of Mode.

func (*MockTransportMockRecorder) ProxyPort added in v0.2.8

func (mr *MockTransportMockRecorder) ProxyPort() *gomock.Call

ProxyPort indicates an expected call of ProxyPort.

func (*MockTransportMockRecorder) Start added in v0.2.8

func (mr *MockTransportMockRecorder) Start(ctx any) *gomock.Call

Start indicates an expected call of Start.

func (*MockTransportMockRecorder) Stop added in v0.2.8

func (mr *MockTransportMockRecorder) Stop(ctx any) *gomock.Call

Stop indicates an expected call of Stop.

type MockTunnelProvider

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

MockTunnelProvider is a mock of TunnelProvider interface.

func NewMockTunnelProvider

func NewMockTunnelProvider(ctrl *gomock.Controller) *MockTunnelProvider

NewMockTunnelProvider creates a new mock instance.

func (*MockTunnelProvider) EXPECT

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

func (*MockTunnelProvider) ParseConfig

func (m *MockTunnelProvider) ParseConfig(config map[string]any) error

ParseConfig mocks base method.

func (*MockTunnelProvider) StartTunnel

func (m *MockTunnelProvider) StartTunnel(ctx context.Context, name, targetURI string) error

StartTunnel mocks base method.

type MockTunnelProviderMockRecorder

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

MockTunnelProviderMockRecorder is the mock recorder for MockTunnelProvider.

func (*MockTunnelProviderMockRecorder) ParseConfig

func (mr *MockTunnelProviderMockRecorder) ParseConfig(config any) *gomock.Call

ParseConfig indicates an expected call of ParseConfig.

func (*MockTunnelProviderMockRecorder) StartTunnel

func (mr *MockTunnelProviderMockRecorder) StartTunnel(ctx, name, targetURI any) *gomock.Call

StartTunnel indicates an expected call of StartTunnel.

Jump to

Keyboard shortcuts

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