telemetryfakes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 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)

	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)

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

	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)

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

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

	TrackStatsStub func(livekit.StreamType, livekit.ParticipantID, livekit.TrackID, *livekit.AnalyticsStat)

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

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

	TrackUnsubscribedStub func(context.Context, livekit.ParticipantID, *livekit.TrackInfo)
	// 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) 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)

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)

func (*FakeTelemetryService) ParticipantLeftArgsForCall

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

func (*FakeTelemetryService) ParticipantLeftCallCount

func (fake *FakeTelemetryService) ParticipantLeftCallCount() int

func (*FakeTelemetryService) ParticipantLeftCalls

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

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) 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 (*FakeTelemetryService) TrackStatsArgsForCall

func (*FakeTelemetryService) TrackStatsCallCount

func (fake *FakeTelemetryService) TrackStatsCallCount() int

func (*FakeTelemetryService) TrackStatsCalls

func (*FakeTelemetryService) TrackSubscribed

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

func (*FakeTelemetryService) TrackSubscribedArgsForCall

func (*FakeTelemetryService) TrackSubscribedCallCount

func (fake *FakeTelemetryService) TrackSubscribedCallCount() int

func (*FakeTelemetryService) TrackSubscribedCalls

func (*FakeTelemetryService) TrackUnpublished

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

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)

func (*FakeTelemetryService) TrackUnsubscribedArgsForCall

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

func (*FakeTelemetryService) TrackUnsubscribedCallCount

func (fake *FakeTelemetryService) TrackUnsubscribedCallCount() int

func (*FakeTelemetryService) TrackUnsubscribedCalls

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

Jump to

Keyboard shortcuts

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