interfaces

package
v0.26.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: AGPL-3.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMetrics

type MockMetrics struct {
	mock.Mock
}

MockMetrics is an autogenerated mock type for the Metrics type

func NewMockMetrics

func NewMockMetrics(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockMetrics

NewMockMetrics creates a new instance of MockMetrics. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockMetrics) DecWebSocketConn

func (_m *MockMetrics) DecWebSocketConn()

DecWebSocketConn provides a mock function with given fields:

func (*MockMetrics) EXPECT

func (_m *MockMetrics) EXPECT() *MockMetrics_Expecter

func (*MockMetrics) Handler

func (_m *MockMetrics) Handler() http.Handler

Handler provides a mock function with given fields:

func (*MockMetrics) IncClusterEvent

func (_m *MockMetrics) IncClusterEvent(evType string)

IncClusterEvent provides a mock function with given fields: evType

func (*MockMetrics) IncClusterMutexLockRetries

func (_m *MockMetrics) IncClusterMutexLockRetries(group string)

IncClusterMutexLockRetries provides a mock function with given fields: group

func (*MockMetrics) IncLiveCaptionsPktPayloadChBufFull added in v0.26.0

func (_m *MockMetrics) IncLiveCaptionsPktPayloadChBufFull()

IncLiveCaptionsPktPayloadChBufFull provides a mock function with given fields:

func (*MockMetrics) IncLiveCaptionsTranscriberBufFull added in v0.26.0

func (_m *MockMetrics) IncLiveCaptionsTranscriberBufFull()

IncLiveCaptionsTranscriberBufFull provides a mock function with given fields:

func (*MockMetrics) IncLiveCaptionsWindowDropped added in v0.26.0

func (_m *MockMetrics) IncLiveCaptionsWindowDropped()

IncLiveCaptionsWindowDropped provides a mock function with given fields:

func (*MockMetrics) IncStoreOp

func (_m *MockMetrics) IncStoreOp(op string)

IncStoreOp provides a mock function with given fields: op

func (*MockMetrics) IncWebSocketConn

func (_m *MockMetrics) IncWebSocketConn()

IncWebSocketConn provides a mock function with given fields:

func (*MockMetrics) IncWebSocketEvent

func (_m *MockMetrics) IncWebSocketEvent(direction string, evType string)

IncWebSocketEvent provides a mock function with given fields: direction, evType

func (*MockMetrics) ObserveClusterMutexGrabTime

func (_m *MockMetrics) ObserveClusterMutexGrabTime(group string, elapsed float64)

ObserveClusterMutexGrabTime provides a mock function with given fields: group, elapsed

func (*MockMetrics) ObserveClusterMutexLockedTime

func (_m *MockMetrics) ObserveClusterMutexLockedTime(group string, elapsed float64)

ObserveClusterMutexLockedTime provides a mock function with given fields: group, elapsed

func (*MockMetrics) ObserveLiveCaptionsAudioLen added in v0.26.0

func (_m *MockMetrics) ObserveLiveCaptionsAudioLen(elapsed float64)

ObserveLiveCaptionsAudioLen provides a mock function with given fields: elapsed

func (*MockMetrics) RTCMetrics

func (_m *MockMetrics) RTCMetrics() rtc.Metrics

RTCMetrics provides a mock function with given fields:

type MockMetrics_DecWebSocketConn_Call

type MockMetrics_DecWebSocketConn_Call struct {
	*mock.Call
}

MockMetrics_DecWebSocketConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DecWebSocketConn'

func (*MockMetrics_DecWebSocketConn_Call) Return

func (*MockMetrics_DecWebSocketConn_Call) Run

func (*MockMetrics_DecWebSocketConn_Call) RunAndReturn

type MockMetrics_Expecter

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

func (*MockMetrics_Expecter) DecWebSocketConn

DecWebSocketConn is a helper method to define mock.On call

func (*MockMetrics_Expecter) Handler

Handler is a helper method to define mock.On call

func (*MockMetrics_Expecter) IncClusterEvent

func (_e *MockMetrics_Expecter) IncClusterEvent(evType interface{}) *MockMetrics_IncClusterEvent_Call

IncClusterEvent is a helper method to define mock.On call

  • evType string

func (*MockMetrics_Expecter) IncClusterMutexLockRetries

func (_e *MockMetrics_Expecter) IncClusterMutexLockRetries(group interface{}) *MockMetrics_IncClusterMutexLockRetries_Call

IncClusterMutexLockRetries is a helper method to define mock.On call

  • group string

func (*MockMetrics_Expecter) IncLiveCaptionsPktPayloadChBufFull added in v0.26.0

func (_e *MockMetrics_Expecter) IncLiveCaptionsPktPayloadChBufFull() *MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call

IncLiveCaptionsPktPayloadChBufFull is a helper method to define mock.On call

func (*MockMetrics_Expecter) IncLiveCaptionsTranscriberBufFull added in v0.26.0

func (_e *MockMetrics_Expecter) IncLiveCaptionsTranscriberBufFull() *MockMetrics_IncLiveCaptionsTranscriberBufFull_Call

IncLiveCaptionsTranscriberBufFull is a helper method to define mock.On call

func (*MockMetrics_Expecter) IncLiveCaptionsWindowDropped added in v0.26.0

func (_e *MockMetrics_Expecter) IncLiveCaptionsWindowDropped() *MockMetrics_IncLiveCaptionsWindowDropped_Call

IncLiveCaptionsWindowDropped is a helper method to define mock.On call

func (*MockMetrics_Expecter) IncStoreOp

func (_e *MockMetrics_Expecter) IncStoreOp(op interface{}) *MockMetrics_IncStoreOp_Call

IncStoreOp is a helper method to define mock.On call

  • op string

func (*MockMetrics_Expecter) IncWebSocketConn

IncWebSocketConn is a helper method to define mock.On call

func (*MockMetrics_Expecter) IncWebSocketEvent

func (_e *MockMetrics_Expecter) IncWebSocketEvent(direction interface{}, evType interface{}) *MockMetrics_IncWebSocketEvent_Call

IncWebSocketEvent is a helper method to define mock.On call

  • direction string
  • evType string

func (*MockMetrics_Expecter) ObserveClusterMutexGrabTime

func (_e *MockMetrics_Expecter) ObserveClusterMutexGrabTime(group interface{}, elapsed interface{}) *MockMetrics_ObserveClusterMutexGrabTime_Call

ObserveClusterMutexGrabTime is a helper method to define mock.On call

  • group string
  • elapsed float64

func (*MockMetrics_Expecter) ObserveClusterMutexLockedTime

func (_e *MockMetrics_Expecter) ObserveClusterMutexLockedTime(group interface{}, elapsed interface{}) *MockMetrics_ObserveClusterMutexLockedTime_Call

ObserveClusterMutexLockedTime is a helper method to define mock.On call

  • group string
  • elapsed float64

func (*MockMetrics_Expecter) ObserveLiveCaptionsAudioLen added in v0.26.0

func (_e *MockMetrics_Expecter) ObserveLiveCaptionsAudioLen(elapsed interface{}) *MockMetrics_ObserveLiveCaptionsAudioLen_Call

ObserveLiveCaptionsAudioLen is a helper method to define mock.On call

  • elapsed float64

func (*MockMetrics_Expecter) RTCMetrics

RTCMetrics is a helper method to define mock.On call

type MockMetrics_Handler_Call

type MockMetrics_Handler_Call struct {
	*mock.Call
}

MockMetrics_Handler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Handler'

func (*MockMetrics_Handler_Call) Return

func (*MockMetrics_Handler_Call) Run

func (*MockMetrics_Handler_Call) RunAndReturn

func (_c *MockMetrics_Handler_Call) RunAndReturn(run func() http.Handler) *MockMetrics_Handler_Call

type MockMetrics_IncClusterEvent_Call

type MockMetrics_IncClusterEvent_Call struct {
	*mock.Call
}

MockMetrics_IncClusterEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncClusterEvent'

func (*MockMetrics_IncClusterEvent_Call) Return

func (*MockMetrics_IncClusterEvent_Call) Run

func (*MockMetrics_IncClusterEvent_Call) RunAndReturn

type MockMetrics_IncClusterMutexLockRetries_Call

type MockMetrics_IncClusterMutexLockRetries_Call struct {
	*mock.Call
}

MockMetrics_IncClusterMutexLockRetries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncClusterMutexLockRetries'

func (*MockMetrics_IncClusterMutexLockRetries_Call) Return

func (*MockMetrics_IncClusterMutexLockRetries_Call) Run

func (*MockMetrics_IncClusterMutexLockRetries_Call) RunAndReturn

type MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call added in v0.26.0

type MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call struct {
	*mock.Call
}

MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncLiveCaptionsPktPayloadChBufFull'

func (*MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call) Return added in v0.26.0

func (*MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call) Run added in v0.26.0

func (*MockMetrics_IncLiveCaptionsPktPayloadChBufFull_Call) RunAndReturn added in v0.26.0

type MockMetrics_IncLiveCaptionsTranscriberBufFull_Call added in v0.26.0

type MockMetrics_IncLiveCaptionsTranscriberBufFull_Call struct {
	*mock.Call
}

MockMetrics_IncLiveCaptionsTranscriberBufFull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncLiveCaptionsTranscriberBufFull'

func (*MockMetrics_IncLiveCaptionsTranscriberBufFull_Call) Return added in v0.26.0

func (*MockMetrics_IncLiveCaptionsTranscriberBufFull_Call) Run added in v0.26.0

func (*MockMetrics_IncLiveCaptionsTranscriberBufFull_Call) RunAndReturn added in v0.26.0

type MockMetrics_IncLiveCaptionsWindowDropped_Call added in v0.26.0

type MockMetrics_IncLiveCaptionsWindowDropped_Call struct {
	*mock.Call
}

MockMetrics_IncLiveCaptionsWindowDropped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncLiveCaptionsWindowDropped'

func (*MockMetrics_IncLiveCaptionsWindowDropped_Call) Return added in v0.26.0

func (*MockMetrics_IncLiveCaptionsWindowDropped_Call) Run added in v0.26.0

func (*MockMetrics_IncLiveCaptionsWindowDropped_Call) RunAndReturn added in v0.26.0

type MockMetrics_IncStoreOp_Call

type MockMetrics_IncStoreOp_Call struct {
	*mock.Call
}

MockMetrics_IncStoreOp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncStoreOp'

func (*MockMetrics_IncStoreOp_Call) Return

func (*MockMetrics_IncStoreOp_Call) Run

func (*MockMetrics_IncStoreOp_Call) RunAndReturn

func (_c *MockMetrics_IncStoreOp_Call) RunAndReturn(run func(string)) *MockMetrics_IncStoreOp_Call

type MockMetrics_IncWebSocketConn_Call

type MockMetrics_IncWebSocketConn_Call struct {
	*mock.Call
}

MockMetrics_IncWebSocketConn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncWebSocketConn'

func (*MockMetrics_IncWebSocketConn_Call) Return

func (*MockMetrics_IncWebSocketConn_Call) Run

func (*MockMetrics_IncWebSocketConn_Call) RunAndReturn

type MockMetrics_IncWebSocketEvent_Call

type MockMetrics_IncWebSocketEvent_Call struct {
	*mock.Call
}

MockMetrics_IncWebSocketEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IncWebSocketEvent'

func (*MockMetrics_IncWebSocketEvent_Call) Return

func (*MockMetrics_IncWebSocketEvent_Call) Run

func (*MockMetrics_IncWebSocketEvent_Call) RunAndReturn

type MockMetrics_ObserveClusterMutexGrabTime_Call

type MockMetrics_ObserveClusterMutexGrabTime_Call struct {
	*mock.Call
}

MockMetrics_ObserveClusterMutexGrabTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveClusterMutexGrabTime'

func (*MockMetrics_ObserveClusterMutexGrabTime_Call) Return

func (*MockMetrics_ObserveClusterMutexGrabTime_Call) Run

func (*MockMetrics_ObserveClusterMutexGrabTime_Call) RunAndReturn

type MockMetrics_ObserveClusterMutexLockedTime_Call

type MockMetrics_ObserveClusterMutexLockedTime_Call struct {
	*mock.Call
}

MockMetrics_ObserveClusterMutexLockedTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveClusterMutexLockedTime'

func (*MockMetrics_ObserveClusterMutexLockedTime_Call) Return

func (*MockMetrics_ObserveClusterMutexLockedTime_Call) Run

func (*MockMetrics_ObserveClusterMutexLockedTime_Call) RunAndReturn

type MockMetrics_ObserveLiveCaptionsAudioLen_Call added in v0.26.0

type MockMetrics_ObserveLiveCaptionsAudioLen_Call struct {
	*mock.Call
}

MockMetrics_ObserveLiveCaptionsAudioLen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveLiveCaptionsAudioLen'

func (*MockMetrics_ObserveLiveCaptionsAudioLen_Call) Return added in v0.26.0

func (*MockMetrics_ObserveLiveCaptionsAudioLen_Call) Run added in v0.26.0

func (*MockMetrics_ObserveLiveCaptionsAudioLen_Call) RunAndReturn added in v0.26.0

type MockMetrics_RTCMetrics_Call

type MockMetrics_RTCMetrics_Call struct {
	*mock.Call
}

MockMetrics_RTCMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RTCMetrics'

func (*MockMetrics_RTCMetrics_Call) Return

func (*MockMetrics_RTCMetrics_Call) Run

func (*MockMetrics_RTCMetrics_Call) RunAndReturn

Jump to

Keyboard shortcuts

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