mocks

package
v3.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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

func NewClosedConnectionMatcher

func NewClosedConnectionMatcher() *closedConnectionMatcher

func NewRefreshContextMatcher

func NewRefreshContextMatcher(refreshFlag proton.RefreshFlag) *refreshContextMatcher

Types

type MockAutostarter

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

MockAutostarter is a mock of Autostarter interface.

func NewMockAutostarter

func NewMockAutostarter(ctrl *gomock.Controller) *MockAutostarter

NewMockAutostarter creates a new mock instance.

func (*MockAutostarter) Disable

func (m *MockAutostarter) Disable() error

Disable mocks base method.

func (*MockAutostarter) EXPECT

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

func (*MockAutostarter) Enable

func (m *MockAutostarter) Enable() error

Enable mocks base method.

func (*MockAutostarter) IsEnabled added in v3.0.9

func (m *MockAutostarter) IsEnabled() bool

IsEnabled mocks base method.

type MockAutostarterMockRecorder

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

MockAutostarterMockRecorder is the mock recorder for MockAutostarter.

func (*MockAutostarterMockRecorder) Disable

func (mr *MockAutostarterMockRecorder) Disable() *gomock.Call

Disable indicates an expected call of Disable.

func (*MockAutostarterMockRecorder) Enable

func (mr *MockAutostarterMockRecorder) Enable() *gomock.Call

Enable indicates an expected call of Enable.

func (*MockAutostarterMockRecorder) IsEnabled added in v3.0.9

func (mr *MockAutostarterMockRecorder) IsEnabled() *gomock.Call

IsEnabled indicates an expected call of IsEnabled.

type MockHeartbeatManager added in v3.2.0

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

MockHeartbeatManager is a mock of HeartbeatManager interface.

func NewMockHeartbeatManager added in v3.2.0

func NewMockHeartbeatManager(ctrl *gomock.Controller) *MockHeartbeatManager

NewMockHeartbeatManager creates a new mock instance.

func (*MockHeartbeatManager) EXPECT added in v3.2.0

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

func (*MockHeartbeatManager) GetLastHeartbeatSent added in v3.2.0

func (m *MockHeartbeatManager) GetLastHeartbeatSent() time.Time

GetLastHeartbeatSent mocks base method.

func (*MockHeartbeatManager) IsTelemetryAvailable added in v3.2.0

func (m *MockHeartbeatManager) IsTelemetryAvailable(arg0 context.Context) bool

IsTelemetryAvailable mocks base method.

func (*MockHeartbeatManager) SendHeartbeat added in v3.2.0

func (m *MockHeartbeatManager) SendHeartbeat(arg0 context.Context, arg1 *telemetry.HeartbeatData) bool

SendHeartbeat mocks base method.

func (*MockHeartbeatManager) SetLastHeartbeatSent added in v3.2.0

func (m *MockHeartbeatManager) SetLastHeartbeatSent(arg0 time.Time) error

SetLastHeartbeatSent mocks base method.

type MockHeartbeatManagerMockRecorder added in v3.2.0

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

MockHeartbeatManagerMockRecorder is the mock recorder for MockHeartbeatManager.

func (*MockHeartbeatManagerMockRecorder) GetLastHeartbeatSent added in v3.2.0

func (mr *MockHeartbeatManagerMockRecorder) GetLastHeartbeatSent() *gomock.Call

GetLastHeartbeatSent indicates an expected call of GetLastHeartbeatSent.

func (*MockHeartbeatManagerMockRecorder) IsTelemetryAvailable added in v3.2.0

func (mr *MockHeartbeatManagerMockRecorder) IsTelemetryAvailable(arg0 interface{}) *gomock.Call

IsTelemetryAvailable indicates an expected call of IsTelemetryAvailable.

func (*MockHeartbeatManagerMockRecorder) SendHeartbeat added in v3.2.0

func (mr *MockHeartbeatManagerMockRecorder) SendHeartbeat(arg0, arg1 interface{}) *gomock.Call

SendHeartbeat indicates an expected call of SendHeartbeat.

func (*MockHeartbeatManagerMockRecorder) SetLastHeartbeatSent added in v3.2.0

func (mr *MockHeartbeatManagerMockRecorder) SetLastHeartbeatSent(arg0 interface{}) *gomock.Call

SetLastHeartbeatSent indicates an expected call of SetLastHeartbeatSent.

type MockPanicHandler

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

MockPanicHandler is a mock of PanicHandler interface.

func NewMockPanicHandler

func NewMockPanicHandler(ctrl *gomock.Controller) *MockPanicHandler

NewMockPanicHandler creates a new mock instance.

func (*MockPanicHandler) EXPECT

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

func (*MockPanicHandler) HandlePanic

func (m *MockPanicHandler) HandlePanic(arg0 interface{})

HandlePanic mocks base method.

type MockPanicHandlerMockRecorder

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

MockPanicHandlerMockRecorder is the mock recorder for MockPanicHandler.

func (*MockPanicHandlerMockRecorder) HandlePanic

func (mr *MockPanicHandlerMockRecorder) HandlePanic(arg0 interface{}) *gomock.Call

HandlePanic indicates an expected call of HandlePanic.

type MockProxyController

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

MockProxyController is a mock of ProxyController interface.

func NewMockProxyController

func NewMockProxyController(ctrl *gomock.Controller) *MockProxyController

NewMockProxyController creates a new mock instance.

func (*MockProxyController) AllowProxy

func (m *MockProxyController) AllowProxy()

AllowProxy mocks base method.

func (*MockProxyController) DisallowProxy

func (m *MockProxyController) DisallowProxy()

DisallowProxy mocks base method.

func (*MockProxyController) EXPECT

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

type MockProxyControllerMockRecorder

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

MockProxyControllerMockRecorder is the mock recorder for MockProxyController.

func (*MockProxyControllerMockRecorder) AllowProxy

func (mr *MockProxyControllerMockRecorder) AllowProxy() *gomock.Call

AllowProxy indicates an expected call of AllowProxy.

func (*MockProxyControllerMockRecorder) DisallowProxy

func (mr *MockProxyControllerMockRecorder) DisallowProxy() *gomock.Call

DisallowProxy indicates an expected call of DisallowProxy.

type MockReporter

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

MockReporter is a mock of Reporter interface.

func NewMockReporter

func NewMockReporter(ctrl *gomock.Controller) *MockReporter

NewMockReporter creates a new mock instance.

func (*MockReporter) EXPECT

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

func (*MockReporter) ReportException

func (m *MockReporter) ReportException(arg0 interface{}) error

ReportException mocks base method.

func (*MockReporter) ReportExceptionWithContext

func (m *MockReporter) ReportExceptionWithContext(arg0 interface{}, arg1 map[string]interface{}) error

ReportExceptionWithContext mocks base method.

func (*MockReporter) ReportMessage

func (m *MockReporter) ReportMessage(arg0 string) error

ReportMessage mocks base method.

func (*MockReporter) ReportMessageWithContext

func (m *MockReporter) ReportMessageWithContext(arg0 string, arg1 map[string]interface{}) error

ReportMessageWithContext mocks base method.

type MockReporterMockRecorder

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

MockReporterMockRecorder is the mock recorder for MockReporter.

func (*MockReporterMockRecorder) ReportException

func (mr *MockReporterMockRecorder) ReportException(arg0 interface{}) *gomock.Call

ReportException indicates an expected call of ReportException.

func (*MockReporterMockRecorder) ReportExceptionWithContext

func (mr *MockReporterMockRecorder) ReportExceptionWithContext(arg0, arg1 interface{}) *gomock.Call

ReportExceptionWithContext indicates an expected call of ReportExceptionWithContext.

func (*MockReporterMockRecorder) ReportMessage

func (mr *MockReporterMockRecorder) ReportMessage(arg0 interface{}) *gomock.Call

ReportMessage indicates an expected call of ReportMessage.

func (*MockReporterMockRecorder) ReportMessageWithContext

func (mr *MockReporterMockRecorder) ReportMessageWithContext(arg0, arg1 interface{}) *gomock.Call

ReportMessageWithContext indicates an expected call of ReportMessageWithContext.

type MockTLSReporter

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

MockTLSReporter is a mock of TLSReporter interface.

func NewMockTLSReporter

func NewMockTLSReporter(ctrl *gomock.Controller) *MockTLSReporter

NewMockTLSReporter creates a new mock instance.

func (*MockTLSReporter) EXPECT

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

func (*MockTLSReporter) GetTLSIssueCh

func (m *MockTLSReporter) GetTLSIssueCh() <-chan struct{}

GetTLSIssueCh mocks base method.

type MockTLSReporterMockRecorder

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

MockTLSReporterMockRecorder is the mock recorder for MockTLSReporter.

func (*MockTLSReporterMockRecorder) GetTLSIssueCh

func (mr *MockTLSReporterMockRecorder) GetTLSIssueCh() *gomock.Call

GetTLSIssueCh indicates an expected call of GetTLSIssueCh.

Jump to

Keyboard shortcuts

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