telemetryfakes

package
v1.4.3-dev5 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAnalyticsService

type FakeAnalyticsService struct {
	SendEventStub func(context.Context, *livekit.AnalyticsEvent)

	SendStatsStub func(context.Context, []*livekit.AnalyticsStat)
	// contains filtered or unexported fields
}

func (*FakeAnalyticsService) Invocations

func (fake *FakeAnalyticsService) Invocations() map[string][][]interface{}

func (*FakeAnalyticsService) SendEvent

func (fake *FakeAnalyticsService) SendEvent(arg1 context.Context, arg2 *livekit.AnalyticsEvent)

func (*FakeAnalyticsService) SendEventArgsForCall

func (fake *FakeAnalyticsService) SendEventArgsForCall(i int) (context.Context, *livekit.AnalyticsEvent)

func (*FakeAnalyticsService) SendEventCallCount

func (fake *FakeAnalyticsService) SendEventCallCount() int

func (*FakeAnalyticsService) SendEventCalls

func (fake *FakeAnalyticsService) SendEventCalls(stub func(context.Context, *livekit.AnalyticsEvent))

func (*FakeAnalyticsService) SendStats

func (fake *FakeAnalyticsService) SendStats(arg1 context.Context, arg2 []*livekit.AnalyticsStat)

func (*FakeAnalyticsService) SendStatsArgsForCall

func (fake *FakeAnalyticsService) SendStatsArgsForCall(i int) (context.Context, []*livekit.AnalyticsStat)

func (*FakeAnalyticsService) SendStatsCallCount

func (fake *FakeAnalyticsService) SendStatsCallCount() int

func (*FakeAnalyticsService) SendStatsCalls

func (fake *FakeAnalyticsService) SendStatsCalls(stub func(context.Context, []*livekit.AnalyticsStat))

type FakeTelemetryService

type FakeTelemetryService struct {
	EgressEndedStub func(context.Context, *livekit.EgressInfo)

	EgressStartedStub func(context.Context, *livekit.EgressInfo)

	EgressUpdatedStub func(context.Context, *livekit.EgressInfo)

	FlushStatsStub func()

	NotifyEventStub func(context.Context, *livekit.WebhookEvent)

	ParticipantActiveStub func(context.Context, *livekit.Room, *livekit.ParticipantInfo, *livekit.AnalyticsClientMeta)

	ParticipantJoinedStub func(context.Context, *livekit.Room, *livekit.ParticipantInfo, *livekit.ClientInfo, *livekit.AnalyticsClientMeta, bool)

	ParticipantLeftStub func(context.Context, *livekit.Room, *livekit.ParticipantInfo, bool)

	ParticipantResumedStub func(context.Context, *livekit.Room, *livekit.ParticipantInfo, livekit.NodeID, livekit.ReconnectReason)

	RoomEndedStub func(context.Context, *livekit.Room)

	RoomStartedStub func(context.Context, *livekit.Room)

	SendEventStub func(context.Context, *livekit.AnalyticsEvent)

	SendStatsStub func(context.Context, []*livekit.AnalyticsStat)

	TrackMaxSubscribedVideoQualityStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo, string, livekit.VideoQuality)

	TrackMutedStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo)

	TrackPublishRTPStatsStub func(context.Context, livekit.ParticipantID, livekit.TrackID, string, int, *livekit.RTPStats)

	TrackPublishRequestedStub func(context.Context, livekit.ParticipantID, livekit.ParticipantIdentity, *livekit.TrackInfo)

	TrackPublishedStub func(context.Context, livekit.ParticipantID, livekit.ParticipantIdentity, *livekit.TrackInfo)

	TrackPublishedUpdateStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo)

	TrackStatsStub func(telemetry.StatsKey, *livekit.AnalyticsStat)

	TrackSubscribeFailedStub func(context.Context, livekit.ParticipantID, livekit.TrackID, error, bool)

	TrackSubscribeRTPStatsStub func(context.Context, livekit.ParticipantID, livekit.TrackID, string, *livekit.RTPStats)

	TrackSubscribeRequestedStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo)

	TrackSubscribedStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo, *livekit.ParticipantInfo, bool)

	TrackUnmutedStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo)

	TrackUnpublishedStub func(context.Context, livekit.ParticipantID, livekit.ParticipantIdentity, *livekit.TrackInfo, bool)

	TrackUnsubscribedStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo, bool)
	// contains filtered or unexported fields
}

func (*FakeTelemetryService) EgressEnded

func (fake *FakeTelemetryService) EgressEnded(arg1 context.Context, arg2 *livekit.EgressInfo)

func (*FakeTelemetryService) EgressEndedArgsForCall

func (fake *FakeTelemetryService) EgressEndedArgsForCall(i int) (context.Context, *livekit.EgressInfo)

func (*FakeTelemetryService) EgressEndedCallCount

func (fake *FakeTelemetryService) EgressEndedCallCount() int

func (*FakeTelemetryService) EgressEndedCalls

func (fake *FakeTelemetryService) EgressEndedCalls(stub func(context.Context, *livekit.EgressInfo))

func (*FakeTelemetryService) EgressStarted

func (fake *FakeTelemetryService) EgressStarted(arg1 context.Context, arg2 *livekit.EgressInfo)

func (*FakeTelemetryService) EgressStartedArgsForCall

func (fake *FakeTelemetryService) EgressStartedArgsForCall(i int) (context.Context, *livekit.EgressInfo)

func (*FakeTelemetryService) EgressStartedCallCount

func (fake *FakeTelemetryService) EgressStartedCallCount() int

func (*FakeTelemetryService) EgressStartedCalls

func (fake *FakeTelemetryService) EgressStartedCalls(stub func(context.Context, *livekit.EgressInfo))

func (*FakeTelemetryService) EgressUpdated

func (fake *FakeTelemetryService) EgressUpdated(arg1 context.Context, arg2 *livekit.EgressInfo)

func (*FakeTelemetryService) EgressUpdatedArgsForCall

func (fake *FakeTelemetryService) EgressUpdatedArgsForCall(i int) (context.Context, *livekit.EgressInfo)

func (*FakeTelemetryService) EgressUpdatedCallCount

func (fake *FakeTelemetryService) EgressUpdatedCallCount() int

func (*FakeTelemetryService) EgressUpdatedCalls

func (fake *FakeTelemetryService) EgressUpdatedCalls(stub func(context.Context, *livekit.EgressInfo))

func (*FakeTelemetryService) FlushStats

func (fake *FakeTelemetryService) FlushStats()

func (*FakeTelemetryService) FlushStatsCallCount

func (fake *FakeTelemetryService) FlushStatsCallCount() int

func (*FakeTelemetryService) FlushStatsCalls

func (fake *FakeTelemetryService) FlushStatsCalls(stub func())

func (*FakeTelemetryService) Invocations

func (fake *FakeTelemetryService) Invocations() map[string][][]interface{}

func (*FakeTelemetryService) NotifyEvent

func (fake *FakeTelemetryService) NotifyEvent(arg1 context.Context, arg2 *livekit.WebhookEvent)

func (*FakeTelemetryService) NotifyEventArgsForCall

func (fake *FakeTelemetryService) NotifyEventArgsForCall(i int) (context.Context, *livekit.WebhookEvent)

func (*FakeTelemetryService) NotifyEventCallCount

func (fake *FakeTelemetryService) NotifyEventCallCount() int

func (*FakeTelemetryService) NotifyEventCalls

func (fake *FakeTelemetryService) NotifyEventCalls(stub func(context.Context, *livekit.WebhookEvent))

func (*FakeTelemetryService) ParticipantActive

func (fake *FakeTelemetryService) ParticipantActive(arg1 context.Context, arg2 *livekit.Room, arg3 *livekit.ParticipantInfo, arg4 *livekit.AnalyticsClientMeta)

func (*FakeTelemetryService) ParticipantActiveArgsForCall

func (fake *FakeTelemetryService) ParticipantActiveArgsForCall(i int) (context.Context, *livekit.Room, *livekit.ParticipantInfo, *livekit.AnalyticsClientMeta)

func (*FakeTelemetryService) ParticipantActiveCallCount

func (fake *FakeTelemetryService) ParticipantActiveCallCount() int

func (*FakeTelemetryService) ParticipantActiveCalls

func (fake *FakeTelemetryService) ParticipantActiveCalls(stub func(context.Context, *livekit.Room, *livekit.ParticipantInfo, *livekit.AnalyticsClientMeta))

func (*FakeTelemetryService) ParticipantJoined

func (fake *FakeTelemetryService) ParticipantJoined(arg1 context.Context, arg2 *livekit.Room, arg3 *livekit.ParticipantInfo, arg4 *livekit.ClientInfo, arg5 *livekit.AnalyticsClientMeta, arg6 bool)

func (*FakeTelemetryService) ParticipantJoinedArgsForCall

func (*FakeTelemetryService) ParticipantJoinedCallCount

func (fake *FakeTelemetryService) ParticipantJoinedCallCount() int

func (*FakeTelemetryService) ParticipantJoinedCalls

func (*FakeTelemetryService) ParticipantLeft

func (fake *FakeTelemetryService) ParticipantLeft(arg1 context.Context, arg2 *livekit.Room, arg3 *livekit.ParticipantInfo, arg4 bool)

func (*FakeTelemetryService) ParticipantLeftArgsForCall

func (fake *FakeTelemetryService) ParticipantLeftArgsForCall(i int) (context.Context, *livekit.Room, *livekit.ParticipantInfo, bool)

func (*FakeTelemetryService) ParticipantLeftCallCount

func (fake *FakeTelemetryService) ParticipantLeftCallCount() int

func (*FakeTelemetryService) ParticipantLeftCalls

func (fake *FakeTelemetryService) ParticipantLeftCalls(stub func(context.Context, *livekit.Room, *livekit.ParticipantInfo, bool))

func (*FakeTelemetryService) ParticipantResumed

func (fake *FakeTelemetryService) ParticipantResumed(arg1 context.Context, arg2 *livekit.Room, arg3 *livekit.ParticipantInfo, arg4 livekit.NodeID, arg5 livekit.ReconnectReason)

func (*FakeTelemetryService) ParticipantResumedArgsForCall

func (*FakeTelemetryService) ParticipantResumedCallCount

func (fake *FakeTelemetryService) ParticipantResumedCallCount() int

func (*FakeTelemetryService) ParticipantResumedCalls

func (*FakeTelemetryService) RoomEnded

func (fake *FakeTelemetryService) RoomEnded(arg1 context.Context, arg2 *livekit.Room)

func (*FakeTelemetryService) RoomEndedArgsForCall

func (fake *FakeTelemetryService) RoomEndedArgsForCall(i int) (context.Context, *livekit.Room)

func (*FakeTelemetryService) RoomEndedCallCount

func (fake *FakeTelemetryService) RoomEndedCallCount() int

func (*FakeTelemetryService) RoomEndedCalls

func (fake *FakeTelemetryService) RoomEndedCalls(stub func(context.Context, *livekit.Room))

func (*FakeTelemetryService) RoomStarted

func (fake *FakeTelemetryService) RoomStarted(arg1 context.Context, arg2 *livekit.Room)

func (*FakeTelemetryService) RoomStartedArgsForCall

func (fake *FakeTelemetryService) RoomStartedArgsForCall(i int) (context.Context, *livekit.Room)

func (*FakeTelemetryService) RoomStartedCallCount

func (fake *FakeTelemetryService) RoomStartedCallCount() int

func (*FakeTelemetryService) RoomStartedCalls

func (fake *FakeTelemetryService) RoomStartedCalls(stub func(context.Context, *livekit.Room))

func (*FakeTelemetryService) SendEvent

func (fake *FakeTelemetryService) SendEvent(arg1 context.Context, arg2 *livekit.AnalyticsEvent)

func (*FakeTelemetryService) SendEventArgsForCall

func (fake *FakeTelemetryService) SendEventArgsForCall(i int) (context.Context, *livekit.AnalyticsEvent)

func (*FakeTelemetryService) SendEventCallCount

func (fake *FakeTelemetryService) SendEventCallCount() int

func (*FakeTelemetryService) SendEventCalls

func (fake *FakeTelemetryService) SendEventCalls(stub func(context.Context, *livekit.AnalyticsEvent))

func (*FakeTelemetryService) SendStats

func (fake *FakeTelemetryService) SendStats(arg1 context.Context, arg2 []*livekit.AnalyticsStat)

func (*FakeTelemetryService) SendStatsArgsForCall

func (fake *FakeTelemetryService) SendStatsArgsForCall(i int) (context.Context, []*livekit.AnalyticsStat)

func (*FakeTelemetryService) SendStatsCallCount

func (fake *FakeTelemetryService) SendStatsCallCount() int

func (*FakeTelemetryService) SendStatsCalls

func (fake *FakeTelemetryService) SendStatsCalls(stub func(context.Context, []*livekit.AnalyticsStat))

func (*FakeTelemetryService) TrackMaxSubscribedVideoQuality

func (fake *FakeTelemetryService) TrackMaxSubscribedVideoQuality(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo, arg4 string, arg5 livekit.VideoQuality)

func (*FakeTelemetryService) TrackMaxSubscribedVideoQualityArgsForCall

func (fake *FakeTelemetryService) TrackMaxSubscribedVideoQualityArgsForCall(i int) (context.Context, livekit.ParticipantID, *livekit.TrackInfo, string, livekit.VideoQuality)

func (*FakeTelemetryService) TrackMaxSubscribedVideoQualityCallCount

func (fake *FakeTelemetryService) TrackMaxSubscribedVideoQualityCallCount() int

func (*FakeTelemetryService) TrackMaxSubscribedVideoQualityCalls

func (fake *FakeTelemetryService) TrackMaxSubscribedVideoQualityCalls(stub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo, string, livekit.VideoQuality))

func (*FakeTelemetryService) TrackMuted

func (fake *FakeTelemetryService) TrackMuted(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo)

func (*FakeTelemetryService) TrackMutedArgsForCall

func (fake *FakeTelemetryService) TrackMutedArgsForCall(i int) (context.Context, livekit.ParticipantID, *livekit.TrackInfo)

func (*FakeTelemetryService) TrackMutedCallCount

func (fake *FakeTelemetryService) TrackMutedCallCount() int

func (*FakeTelemetryService) TrackMutedCalls

func (fake *FakeTelemetryService) TrackMutedCalls(stub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo))

func (*FakeTelemetryService) TrackPublishRTPStats

func (fake *FakeTelemetryService) TrackPublishRTPStats(arg1 context.Context, arg2 livekit.ParticipantID, arg3 livekit.TrackID, arg4 string, arg5 int, arg6 *livekit.RTPStats)

func (*FakeTelemetryService) TrackPublishRTPStatsArgsForCall

func (fake *FakeTelemetryService) TrackPublishRTPStatsArgsForCall(i int) (context.Context, livekit.ParticipantID, livekit.TrackID, string, int, *livekit.RTPStats)

func (*FakeTelemetryService) TrackPublishRTPStatsCallCount

func (fake *FakeTelemetryService) TrackPublishRTPStatsCallCount() int

func (*FakeTelemetryService) TrackPublishRTPStatsCalls

func (fake *FakeTelemetryService) TrackPublishRTPStatsCalls(stub func(context.Context, livekit.ParticipantID, livekit.TrackID, string, int, *livekit.RTPStats))

func (*FakeTelemetryService) TrackPublishRequested

func (fake *FakeTelemetryService) TrackPublishRequested(arg1 context.Context, arg2 livekit.ParticipantID, arg3 livekit.ParticipantIdentity, arg4 *livekit.TrackInfo)

func (*FakeTelemetryService) TrackPublishRequestedArgsForCall

func (fake *FakeTelemetryService) TrackPublishRequestedArgsForCall(i int) (context.Context, livekit.ParticipantID, livekit.ParticipantIdentity, *livekit.TrackInfo)

func (*FakeTelemetryService) TrackPublishRequestedCallCount

func (fake *FakeTelemetryService) TrackPublishRequestedCallCount() int

func (*FakeTelemetryService) TrackPublishRequestedCalls

func (fake *FakeTelemetryService) TrackPublishRequestedCalls(stub func(context.Context, livekit.ParticipantID, livekit.ParticipantIdentity, *livekit.TrackInfo))

func (*FakeTelemetryService) TrackPublished

func (*FakeTelemetryService) TrackPublishedArgsForCall

func (*FakeTelemetryService) TrackPublishedCallCount

func (fake *FakeTelemetryService) TrackPublishedCallCount() int

func (*FakeTelemetryService) TrackPublishedCalls

func (*FakeTelemetryService) TrackPublishedUpdate

func (fake *FakeTelemetryService) TrackPublishedUpdate(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo)

func (*FakeTelemetryService) TrackPublishedUpdateArgsForCall

func (fake *FakeTelemetryService) TrackPublishedUpdateArgsForCall(i int) (context.Context, livekit.ParticipantID, *livekit.TrackInfo)

func (*FakeTelemetryService) TrackPublishedUpdateCallCount

func (fake *FakeTelemetryService) TrackPublishedUpdateCallCount() int

func (*FakeTelemetryService) TrackPublishedUpdateCalls

func (fake *FakeTelemetryService) TrackPublishedUpdateCalls(stub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo))

func (*FakeTelemetryService) TrackStats

func (fake *FakeTelemetryService) TrackStats(arg1 telemetry.StatsKey, arg2 *livekit.AnalyticsStat)

func (*FakeTelemetryService) TrackStatsArgsForCall

func (fake *FakeTelemetryService) TrackStatsArgsForCall(i int) (telemetry.StatsKey, *livekit.AnalyticsStat)

func (*FakeTelemetryService) TrackStatsCallCount

func (fake *FakeTelemetryService) TrackStatsCallCount() int

func (*FakeTelemetryService) TrackStatsCalls

func (fake *FakeTelemetryService) TrackStatsCalls(stub func(telemetry.StatsKey, *livekit.AnalyticsStat))

func (*FakeTelemetryService) TrackSubscribeFailed

func (fake *FakeTelemetryService) TrackSubscribeFailed(arg1 context.Context, arg2 livekit.ParticipantID, arg3 livekit.TrackID, arg4 error, arg5 bool)

func (*FakeTelemetryService) TrackSubscribeFailedArgsForCall

func (fake *FakeTelemetryService) TrackSubscribeFailedArgsForCall(i int) (context.Context, livekit.ParticipantID, livekit.TrackID, error, bool)

func (*FakeTelemetryService) TrackSubscribeFailedCallCount

func (fake *FakeTelemetryService) TrackSubscribeFailedCallCount() int

func (*FakeTelemetryService) TrackSubscribeFailedCalls

func (fake *FakeTelemetryService) TrackSubscribeFailedCalls(stub func(context.Context, livekit.ParticipantID, livekit.TrackID, error, bool))

func (*FakeTelemetryService) TrackSubscribeRTPStats

func (fake *FakeTelemetryService) TrackSubscribeRTPStats(arg1 context.Context, arg2 livekit.ParticipantID, arg3 livekit.TrackID, arg4 string, arg5 *livekit.RTPStats)

func (*FakeTelemetryService) TrackSubscribeRTPStatsArgsForCall

func (fake *FakeTelemetryService) TrackSubscribeRTPStatsArgsForCall(i int) (context.Context, livekit.ParticipantID, livekit.TrackID, string, *livekit.RTPStats)

func (*FakeTelemetryService) TrackSubscribeRTPStatsCallCount

func (fake *FakeTelemetryService) TrackSubscribeRTPStatsCallCount() int

func (*FakeTelemetryService) TrackSubscribeRTPStatsCalls

func (fake *FakeTelemetryService) TrackSubscribeRTPStatsCalls(stub func(context.Context, livekit.ParticipantID, livekit.TrackID, string, *livekit.RTPStats))

func (*FakeTelemetryService) TrackSubscribeRequested

func (fake *FakeTelemetryService) TrackSubscribeRequested(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo)

func (*FakeTelemetryService) TrackSubscribeRequestedArgsForCall

func (fake *FakeTelemetryService) TrackSubscribeRequestedArgsForCall(i int) (context.Context, livekit.ParticipantID, *livekit.TrackInfo)

func (*FakeTelemetryService) TrackSubscribeRequestedCallCount

func (fake *FakeTelemetryService) TrackSubscribeRequestedCallCount() int

func (*FakeTelemetryService) TrackSubscribeRequestedCalls

func (fake *FakeTelemetryService) TrackSubscribeRequestedCalls(stub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo))

func (*FakeTelemetryService) TrackSubscribed

func (fake *FakeTelemetryService) TrackSubscribed(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo, arg4 *livekit.ParticipantInfo, arg5 bool)

func (*FakeTelemetryService) TrackSubscribedArgsForCall

func (*FakeTelemetryService) TrackSubscribedCallCount

func (fake *FakeTelemetryService) TrackSubscribedCallCount() int

func (*FakeTelemetryService) TrackSubscribedCalls

func (*FakeTelemetryService) TrackUnmuted

func (fake *FakeTelemetryService) TrackUnmuted(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo)

func (*FakeTelemetryService) TrackUnmutedArgsForCall

func (fake *FakeTelemetryService) TrackUnmutedArgsForCall(i int) (context.Context, livekit.ParticipantID, *livekit.TrackInfo)

func (*FakeTelemetryService) TrackUnmutedCallCount

func (fake *FakeTelemetryService) TrackUnmutedCallCount() int

func (*FakeTelemetryService) TrackUnmutedCalls

func (fake *FakeTelemetryService) TrackUnmutedCalls(stub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo))

func (*FakeTelemetryService) TrackUnpublished

func (fake *FakeTelemetryService) TrackUnpublished(arg1 context.Context, arg2 livekit.ParticipantID, arg3 livekit.ParticipantIdentity, arg4 *livekit.TrackInfo, arg5 bool)

func (*FakeTelemetryService) TrackUnpublishedArgsForCall

func (*FakeTelemetryService) TrackUnpublishedCallCount

func (fake *FakeTelemetryService) TrackUnpublishedCallCount() int

func (*FakeTelemetryService) TrackUnpublishedCalls

func (*FakeTelemetryService) TrackUnsubscribed

func (fake *FakeTelemetryService) TrackUnsubscribed(arg1 context.Context, arg2 livekit.ParticipantID, arg3 *livekit.TrackInfo, arg4 bool)

func (*FakeTelemetryService) TrackUnsubscribedArgsForCall

func (fake *FakeTelemetryService) TrackUnsubscribedArgsForCall(i int) (context.Context, livekit.ParticipantID, *livekit.TrackInfo, bool)

func (*FakeTelemetryService) TrackUnsubscribedCallCount

func (fake *FakeTelemetryService) TrackUnsubscribedCallCount() int

func (*FakeTelemetryService) TrackUnsubscribedCalls

func (fake *FakeTelemetryService) TrackUnsubscribedCalls(stub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo, bool))

Jump to

Keyboard shortcuts

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