rpcfakes

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeKeepalivePubSub added in v1.9.5

type FakeKeepalivePubSub struct {
	CloseStub func()

	KillStub func()

	PublishPingStub func(context.Context, livekit.NodeID, *rpc.KeepalivePing) error

	ShutdownStub func()

	SubscribePingStub func(context.Context, livekit.NodeID) (psrpc.Subscription[*rpc.KeepalivePing], error)
	// contains filtered or unexported fields
}

func (*FakeKeepalivePubSub) Close added in v1.23.0

func (fake *FakeKeepalivePubSub) Close()

func (*FakeKeepalivePubSub) CloseCallCount added in v1.23.0

func (fake *FakeKeepalivePubSub) CloseCallCount() int

func (*FakeKeepalivePubSub) CloseCalls added in v1.23.0

func (fake *FakeKeepalivePubSub) CloseCalls(stub func())

func (*FakeKeepalivePubSub) Invocations added in v1.9.5

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

func (*FakeKeepalivePubSub) Kill added in v1.9.5

func (fake *FakeKeepalivePubSub) Kill()

func (*FakeKeepalivePubSub) KillCallCount added in v1.9.5

func (fake *FakeKeepalivePubSub) KillCallCount() int

func (*FakeKeepalivePubSub) KillCalls added in v1.9.5

func (fake *FakeKeepalivePubSub) KillCalls(stub func())

func (*FakeKeepalivePubSub) PublishPing added in v1.9.5

func (fake *FakeKeepalivePubSub) PublishPing(arg1 context.Context, arg2 livekit.NodeID, arg3 *rpc.KeepalivePing) error

func (*FakeKeepalivePubSub) PublishPingArgsForCall added in v1.9.5

func (fake *FakeKeepalivePubSub) PublishPingArgsForCall(i int) (context.Context, livekit.NodeID, *rpc.KeepalivePing)

func (*FakeKeepalivePubSub) PublishPingCallCount added in v1.9.5

func (fake *FakeKeepalivePubSub) PublishPingCallCount() int

func (*FakeKeepalivePubSub) PublishPingCalls added in v1.9.5

func (fake *FakeKeepalivePubSub) PublishPingCalls(stub func(context.Context, livekit.NodeID, *rpc.KeepalivePing) error)

func (*FakeKeepalivePubSub) PublishPingReturns added in v1.9.5

func (fake *FakeKeepalivePubSub) PublishPingReturns(result1 error)

func (*FakeKeepalivePubSub) PublishPingReturnsOnCall added in v1.9.5

func (fake *FakeKeepalivePubSub) PublishPingReturnsOnCall(i int, result1 error)

func (*FakeKeepalivePubSub) Shutdown added in v1.9.5

func (fake *FakeKeepalivePubSub) Shutdown()

func (*FakeKeepalivePubSub) ShutdownCallCount added in v1.9.5

func (fake *FakeKeepalivePubSub) ShutdownCallCount() int

func (*FakeKeepalivePubSub) ShutdownCalls added in v1.9.5

func (fake *FakeKeepalivePubSub) ShutdownCalls(stub func())

func (*FakeKeepalivePubSub) SubscribePing added in v1.9.5

func (*FakeKeepalivePubSub) SubscribePingArgsForCall added in v1.9.5

func (fake *FakeKeepalivePubSub) SubscribePingArgsForCall(i int) (context.Context, livekit.NodeID)

func (*FakeKeepalivePubSub) SubscribePingCallCount added in v1.9.5

func (fake *FakeKeepalivePubSub) SubscribePingCallCount() int

func (*FakeKeepalivePubSub) SubscribePingCalls added in v1.9.5

func (fake *FakeKeepalivePubSub) SubscribePingCalls(stub func(context.Context, livekit.NodeID) (psrpc.Subscription[*rpc.KeepalivePing], error))

func (*FakeKeepalivePubSub) SubscribePingReturns added in v1.9.5

func (fake *FakeKeepalivePubSub) SubscribePingReturns(result1 psrpc.Subscription[*rpc.KeepalivePing], result2 error)

func (*FakeKeepalivePubSub) SubscribePingReturnsOnCall added in v1.9.5

func (fake *FakeKeepalivePubSub) SubscribePingReturnsOnCall(i int, result1 psrpc.Subscription[*rpc.KeepalivePing], result2 error)

type FakeTypedAgentDispatchInternalClient added in v1.24.0

type FakeTypedAgentDispatchInternalClient struct {
	CloseStub func()

	CreateDispatchStub func(context.Context, rpc.RoomTopic, *livekit.AgentDispatch, ...psrpc.RequestOption) (*livekit.AgentDispatch, error)

	DeleteDispatchStub func(context.Context, rpc.RoomTopic, *livekit.DeleteAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.AgentDispatch, error)

	ListDispatchStub func(context.Context, rpc.RoomTopic, *livekit.ListAgentDispatchRequest, ...psrpc.RequestOption) (*livekit.ListAgentDispatchResponse, error)
	// contains filtered or unexported fields
}

func (*FakeTypedAgentDispatchInternalClient) Close added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) CloseCallCount added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) CloseCallCount() int

func (*FakeTypedAgentDispatchInternalClient) CloseCalls added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) CloseCalls(stub func())

func (*FakeTypedAgentDispatchInternalClient) CreateDispatch added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) CreateDispatchArgsForCall added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) CreateDispatchCallCount added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchCallCount() int

func (*FakeTypedAgentDispatchInternalClient) CreateDispatchCalls added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) CreateDispatchReturns added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchReturns(result1 *livekit.AgentDispatch, result2 error)

func (*FakeTypedAgentDispatchInternalClient) CreateDispatchReturnsOnCall added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) CreateDispatchReturnsOnCall(i int, result1 *livekit.AgentDispatch, result2 error)

func (*FakeTypedAgentDispatchInternalClient) DeleteDispatch added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) DeleteDispatchArgsForCall added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) DeleteDispatchCallCount added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchCallCount() int

func (*FakeTypedAgentDispatchInternalClient) DeleteDispatchCalls added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) DeleteDispatchReturns added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchReturns(result1 *livekit.AgentDispatch, result2 error)

func (*FakeTypedAgentDispatchInternalClient) DeleteDispatchReturnsOnCall added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) DeleteDispatchReturnsOnCall(i int, result1 *livekit.AgentDispatch, result2 error)

func (*FakeTypedAgentDispatchInternalClient) Invocations added in v1.24.0

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

func (*FakeTypedAgentDispatchInternalClient) ListDispatch added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) ListDispatchArgsForCall added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) ListDispatchCallCount added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchCallCount() int

func (*FakeTypedAgentDispatchInternalClient) ListDispatchCalls added in v1.24.0

func (*FakeTypedAgentDispatchInternalClient) ListDispatchReturns added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchReturns(result1 *livekit.ListAgentDispatchResponse, result2 error)

func (*FakeTypedAgentDispatchInternalClient) ListDispatchReturnsOnCall added in v1.24.0

func (fake *FakeTypedAgentDispatchInternalClient) ListDispatchReturnsOnCall(i int, result1 *livekit.ListAgentDispatchResponse, result2 error)

type FakeTypedParticipantClient added in v1.9.0

func (*FakeTypedParticipantClient) Close added in v1.23.0

func (fake *FakeTypedParticipantClient) Close()

func (*FakeTypedParticipantClient) CloseCallCount added in v1.23.0

func (fake *FakeTypedParticipantClient) CloseCallCount() int

func (*FakeTypedParticipantClient) CloseCalls added in v1.23.0

func (fake *FakeTypedParticipantClient) CloseCalls(stub func())

func (*FakeTypedParticipantClient) Invocations added in v1.9.0

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

func (*FakeTypedParticipantClient) MutePublishedTrack added in v1.9.0

func (*FakeTypedParticipantClient) MutePublishedTrackArgsForCall added in v1.9.0

func (*FakeTypedParticipantClient) MutePublishedTrackCallCount added in v1.9.0

func (fake *FakeTypedParticipantClient) MutePublishedTrackCallCount() int

func (*FakeTypedParticipantClient) MutePublishedTrackCalls added in v1.9.0

func (*FakeTypedParticipantClient) MutePublishedTrackReturns added in v1.9.0

func (fake *FakeTypedParticipantClient) MutePublishedTrackReturns(result1 *livekit.MuteRoomTrackResponse, result2 error)

func (*FakeTypedParticipantClient) MutePublishedTrackReturnsOnCall added in v1.9.0

func (fake *FakeTypedParticipantClient) MutePublishedTrackReturnsOnCall(i int, result1 *livekit.MuteRoomTrackResponse, result2 error)

func (*FakeTypedParticipantClient) RemoveParticipant added in v1.9.0

func (*FakeTypedParticipantClient) RemoveParticipantArgsForCall added in v1.9.0

func (*FakeTypedParticipantClient) RemoveParticipantCallCount added in v1.9.0

func (fake *FakeTypedParticipantClient) RemoveParticipantCallCount() int

func (*FakeTypedParticipantClient) RemoveParticipantCalls added in v1.9.0

func (*FakeTypedParticipantClient) RemoveParticipantReturns added in v1.9.0

func (fake *FakeTypedParticipantClient) RemoveParticipantReturns(result1 *livekit.RemoveParticipantResponse, result2 error)

func (*FakeTypedParticipantClient) RemoveParticipantReturnsOnCall added in v1.9.0

func (fake *FakeTypedParticipantClient) RemoveParticipantReturnsOnCall(i int, result1 *livekit.RemoveParticipantResponse, result2 error)

func (*FakeTypedParticipantClient) UpdateParticipant added in v1.9.0

func (*FakeTypedParticipantClient) UpdateParticipantArgsForCall added in v1.9.0

func (*FakeTypedParticipantClient) UpdateParticipantCallCount added in v1.9.0

func (fake *FakeTypedParticipantClient) UpdateParticipantCallCount() int

func (*FakeTypedParticipantClient) UpdateParticipantCalls added in v1.9.0

func (*FakeTypedParticipantClient) UpdateParticipantReturns added in v1.9.0

func (fake *FakeTypedParticipantClient) UpdateParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)

func (*FakeTypedParticipantClient) UpdateParticipantReturnsOnCall added in v1.9.0

func (fake *FakeTypedParticipantClient) UpdateParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)

func (*FakeTypedParticipantClient) UpdateSubscriptions added in v1.9.0

func (*FakeTypedParticipantClient) UpdateSubscriptionsArgsForCall added in v1.9.0

func (*FakeTypedParticipantClient) UpdateSubscriptionsCallCount added in v1.9.0

func (fake *FakeTypedParticipantClient) UpdateSubscriptionsCallCount() int

func (*FakeTypedParticipantClient) UpdateSubscriptionsCalls added in v1.9.0

func (*FakeTypedParticipantClient) UpdateSubscriptionsReturns added in v1.9.0

func (fake *FakeTypedParticipantClient) UpdateSubscriptionsReturns(result1 *livekit.UpdateSubscriptionsResponse, result2 error)

func (*FakeTypedParticipantClient) UpdateSubscriptionsReturnsOnCall added in v1.9.0

func (fake *FakeTypedParticipantClient) UpdateSubscriptionsReturnsOnCall(i int, result1 *livekit.UpdateSubscriptionsResponse, result2 error)

type FakeTypedRoomClient

type FakeTypedRoomClient struct {
	CloseStub func()

	DeleteRoomStub func(context.Context, rpc.RoomTopic, *livekit.DeleteRoomRequest, ...psrpc.RequestOption) (*livekit.DeleteRoomResponse, error)

	SendDataStub func(context.Context, rpc.RoomTopic, *livekit.SendDataRequest, ...psrpc.RequestOption) (*livekit.SendDataResponse, error)

	UpdateRoomMetadataStub func(context.Context, rpc.RoomTopic, *livekit.UpdateRoomMetadataRequest, ...psrpc.RequestOption) (*livekit.Room, error)
	// contains filtered or unexported fields
}

func (*FakeTypedRoomClient) Close added in v1.23.0

func (fake *FakeTypedRoomClient) Close()

func (*FakeTypedRoomClient) CloseCallCount added in v1.23.0

func (fake *FakeTypedRoomClient) CloseCallCount() int

func (*FakeTypedRoomClient) CloseCalls added in v1.23.0

func (fake *FakeTypedRoomClient) CloseCalls(stub func())

func (*FakeTypedRoomClient) DeleteRoom

func (*FakeTypedRoomClient) DeleteRoomArgsForCall

func (*FakeTypedRoomClient) DeleteRoomCallCount

func (fake *FakeTypedRoomClient) DeleteRoomCallCount() int

func (*FakeTypedRoomClient) DeleteRoomCalls

func (*FakeTypedRoomClient) DeleteRoomReturns

func (fake *FakeTypedRoomClient) DeleteRoomReturns(result1 *livekit.DeleteRoomResponse, result2 error)

func (*FakeTypedRoomClient) DeleteRoomReturnsOnCall

func (fake *FakeTypedRoomClient) DeleteRoomReturnsOnCall(i int, result1 *livekit.DeleteRoomResponse, result2 error)

func (*FakeTypedRoomClient) Invocations

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

func (*FakeTypedRoomClient) SendData

func (*FakeTypedRoomClient) SendDataArgsForCall

func (*FakeTypedRoomClient) SendDataCallCount

func (fake *FakeTypedRoomClient) SendDataCallCount() int

func (*FakeTypedRoomClient) SendDataCalls

func (*FakeTypedRoomClient) SendDataReturns

func (fake *FakeTypedRoomClient) SendDataReturns(result1 *livekit.SendDataResponse, result2 error)

func (*FakeTypedRoomClient) SendDataReturnsOnCall

func (fake *FakeTypedRoomClient) SendDataReturnsOnCall(i int, result1 *livekit.SendDataResponse, result2 error)

func (*FakeTypedRoomClient) UpdateRoomMetadata

func (fake *FakeTypedRoomClient) UpdateRoomMetadata(arg1 context.Context, arg2 rpc.RoomTopic, arg3 *livekit.UpdateRoomMetadataRequest, arg4 ...psrpc.RequestOption) (*livekit.Room, error)

func (*FakeTypedRoomClient) UpdateRoomMetadataArgsForCall

func (*FakeTypedRoomClient) UpdateRoomMetadataCallCount

func (fake *FakeTypedRoomClient) UpdateRoomMetadataCallCount() int

func (*FakeTypedRoomClient) UpdateRoomMetadataCalls

func (*FakeTypedRoomClient) UpdateRoomMetadataReturns

func (fake *FakeTypedRoomClient) UpdateRoomMetadataReturns(result1 *livekit.Room, result2 error)

func (*FakeTypedRoomClient) UpdateRoomMetadataReturnsOnCall

func (fake *FakeTypedRoomClient) UpdateRoomMetadataReturnsOnCall(i int, result1 *livekit.Room, result2 error)

Jump to

Keyboard shortcuts

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