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.
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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeAgentStore
- func (fake *FakeAgentStore) DeleteAgentDispatch(arg1 context.Context, arg2 *livekit.AgentDispatch) error
- func (fake *FakeAgentStore) DeleteAgentDispatchArgsForCall(i int) (context.Context, *livekit.AgentDispatch)
- func (fake *FakeAgentStore) DeleteAgentDispatchCallCount() int
- func (fake *FakeAgentStore) DeleteAgentDispatchCalls(stub func(context.Context, *livekit.AgentDispatch) error)
- func (fake *FakeAgentStore) DeleteAgentDispatchReturns(result1 error)
- func (fake *FakeAgentStore) DeleteAgentDispatchReturnsOnCall(i int, result1 error)
- func (fake *FakeAgentStore) DeleteAgentJob(arg1 context.Context, arg2 *livekit.Job) error
- func (fake *FakeAgentStore) DeleteAgentJobArgsForCall(i int) (context.Context, *livekit.Job)
- func (fake *FakeAgentStore) DeleteAgentJobCallCount() int
- func (fake *FakeAgentStore) DeleteAgentJobCalls(stub func(context.Context, *livekit.Job) error)
- func (fake *FakeAgentStore) DeleteAgentJobReturns(result1 error)
- func (fake *FakeAgentStore) DeleteAgentJobReturnsOnCall(i int, result1 error)
- func (fake *FakeAgentStore) Invocations() map[string][][]interface{}
- func (fake *FakeAgentStore) ListAgentDispatches(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.AgentDispatch, error)
- func (fake *FakeAgentStore) ListAgentDispatchesArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeAgentStore) ListAgentDispatchesCallCount() int
- func (fake *FakeAgentStore) ListAgentDispatchesCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.AgentDispatch, error))
- func (fake *FakeAgentStore) ListAgentDispatchesReturns(result1 []*livekit.AgentDispatch, result2 error)
- func (fake *FakeAgentStore) ListAgentDispatchesReturnsOnCall(i int, result1 []*livekit.AgentDispatch, result2 error)
- func (fake *FakeAgentStore) StoreAgentDispatch(arg1 context.Context, arg2 *livekit.AgentDispatch) error
- func (fake *FakeAgentStore) StoreAgentDispatchArgsForCall(i int) (context.Context, *livekit.AgentDispatch)
- func (fake *FakeAgentStore) StoreAgentDispatchCallCount() int
- func (fake *FakeAgentStore) StoreAgentDispatchCalls(stub func(context.Context, *livekit.AgentDispatch) error)
- func (fake *FakeAgentStore) StoreAgentDispatchReturns(result1 error)
- func (fake *FakeAgentStore) StoreAgentDispatchReturnsOnCall(i int, result1 error)
- func (fake *FakeAgentStore) StoreAgentJob(arg1 context.Context, arg2 *livekit.Job) error
- func (fake *FakeAgentStore) StoreAgentJobArgsForCall(i int) (context.Context, *livekit.Job)
- func (fake *FakeAgentStore) StoreAgentJobCallCount() int
- func (fake *FakeAgentStore) StoreAgentJobCalls(stub func(context.Context, *livekit.Job) error)
- func (fake *FakeAgentStore) StoreAgentJobReturns(result1 error)
- func (fake *FakeAgentStore) StoreAgentJobReturnsOnCall(i int, result1 error)
- type FakeEgressStore
- func (fake *FakeEgressStore) Invocations() map[string][][]interface{}
- func (fake *FakeEgressStore) ListEgress(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) ([]*livekit.EgressInfo, error)
- func (fake *FakeEgressStore) ListEgressArgsForCall(i int) (context.Context, livekit.RoomName, bool)
- func (fake *FakeEgressStore) ListEgressCallCount() int
- func (fake *FakeEgressStore) ListEgressCalls(...)
- func (fake *FakeEgressStore) ListEgressReturns(result1 []*livekit.EgressInfo, result2 error)
- func (fake *FakeEgressStore) ListEgressReturnsOnCall(i int, result1 []*livekit.EgressInfo, result2 error)
- func (fake *FakeEgressStore) LoadEgress(arg1 context.Context, arg2 string) (*livekit.EgressInfo, error)
- func (fake *FakeEgressStore) LoadEgressArgsForCall(i int) (context.Context, string)
- func (fake *FakeEgressStore) LoadEgressCallCount() int
- func (fake *FakeEgressStore) LoadEgressCalls(stub func(context.Context, string) (*livekit.EgressInfo, error))
- func (fake *FakeEgressStore) LoadEgressReturns(result1 *livekit.EgressInfo, result2 error)
- func (fake *FakeEgressStore) LoadEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, result2 error)
- func (fake *FakeEgressStore) StoreEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
- func (fake *FakeEgressStore) StoreEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeEgressStore) StoreEgressCallCount() int
- func (fake *FakeEgressStore) StoreEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
- func (fake *FakeEgressStore) StoreEgressReturns(result1 error)
- func (fake *FakeEgressStore) StoreEgressReturnsOnCall(i int, result1 error)
- func (fake *FakeEgressStore) UpdateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
- func (fake *FakeEgressStore) UpdateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeEgressStore) UpdateEgressCallCount() int
- func (fake *FakeEgressStore) UpdateEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
- func (fake *FakeEgressStore) UpdateEgressReturns(result1 error)
- func (fake *FakeEgressStore) UpdateEgressReturnsOnCall(i int, result1 error)
- type FakeIOClient
- func (fake *FakeIOClient) CreateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) (*emptypb.Empty, error)
- func (fake *FakeIOClient) CreateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeIOClient) CreateEgressCallCount() int
- func (fake *FakeIOClient) CreateEgressCalls(stub func(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error))
- func (fake *FakeIOClient) CreateEgressReturns(result1 *emptypb.Empty, result2 error)
- func (fake *FakeIOClient) CreateEgressReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)
- func (fake *FakeIOClient) CreateIngress(arg1 context.Context, arg2 *livekit.IngressInfo) (*emptypb.Empty, error)
- func (fake *FakeIOClient) CreateIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
- func (fake *FakeIOClient) CreateIngressCallCount() int
- func (fake *FakeIOClient) CreateIngressCalls(stub func(context.Context, *livekit.IngressInfo) (*emptypb.Empty, error))
- func (fake *FakeIOClient) CreateIngressReturns(result1 *emptypb.Empty, result2 error)
- func (fake *FakeIOClient) CreateIngressReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)
- func (fake *FakeIOClient) GetEgress(arg1 context.Context, arg2 *rpc.GetEgressRequest) (*livekit.EgressInfo, error)
- func (fake *FakeIOClient) GetEgressArgsForCall(i int) (context.Context, *rpc.GetEgressRequest)
- func (fake *FakeIOClient) GetEgressCallCount() int
- func (fake *FakeIOClient) GetEgressCalls(stub func(context.Context, *rpc.GetEgressRequest) (*livekit.EgressInfo, error))
- func (fake *FakeIOClient) GetEgressReturns(result1 *livekit.EgressInfo, result2 error)
- func (fake *FakeIOClient) GetEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, result2 error)
- func (fake *FakeIOClient) Invocations() map[string][][]interface{}
- func (fake *FakeIOClient) ListEgress(arg1 context.Context, arg2 *livekit.ListEgressRequest) (*livekit.ListEgressResponse, error)
- func (fake *FakeIOClient) ListEgressArgsForCall(i int) (context.Context, *livekit.ListEgressRequest)
- func (fake *FakeIOClient) ListEgressCallCount() int
- func (fake *FakeIOClient) ListEgressCalls(...)
- func (fake *FakeIOClient) ListEgressReturns(result1 *livekit.ListEgressResponse, result2 error)
- func (fake *FakeIOClient) ListEgressReturnsOnCall(i int, result1 *livekit.ListEgressResponse, result2 error)
- func (fake *FakeIOClient) UpdateIngressState(arg1 context.Context, arg2 *rpc.UpdateIngressStateRequest) (*emptypb.Empty, error)
- func (fake *FakeIOClient) UpdateIngressStateArgsForCall(i int) (context.Context, *rpc.UpdateIngressStateRequest)
- func (fake *FakeIOClient) UpdateIngressStateCallCount() int
- func (fake *FakeIOClient) UpdateIngressStateCalls(...)
- func (fake *FakeIOClient) UpdateIngressStateReturns(result1 *emptypb.Empty, result2 error)
- func (fake *FakeIOClient) UpdateIngressStateReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)
- type FakeIngressStore
- func (fake *FakeIngressStore) DeleteIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error
- func (fake *FakeIngressStore) DeleteIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
- func (fake *FakeIngressStore) DeleteIngressCallCount() int
- func (fake *FakeIngressStore) DeleteIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)
- func (fake *FakeIngressStore) DeleteIngressReturns(result1 error)
- func (fake *FakeIngressStore) DeleteIngressReturnsOnCall(i int, result1 error)
- func (fake *FakeIngressStore) Invocations() map[string][][]interface{}
- func (fake *FakeIngressStore) ListIngress(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.IngressInfo, error)
- func (fake *FakeIngressStore) ListIngressArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeIngressStore) ListIngressCallCount() int
- func (fake *FakeIngressStore) ListIngressCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.IngressInfo, error))
- func (fake *FakeIngressStore) ListIngressReturns(result1 []*livekit.IngressInfo, result2 error)
- func (fake *FakeIngressStore) ListIngressReturnsOnCall(i int, result1 []*livekit.IngressInfo, result2 error)
- func (fake *FakeIngressStore) LoadIngress(arg1 context.Context, arg2 string) (*livekit.IngressInfo, error)
- func (fake *FakeIngressStore) LoadIngressArgsForCall(i int) (context.Context, string)
- func (fake *FakeIngressStore) LoadIngressCallCount() int
- func (fake *FakeIngressStore) LoadIngressCalls(stub func(context.Context, string) (*livekit.IngressInfo, error))
- func (fake *FakeIngressStore) LoadIngressFromStreamKey(arg1 context.Context, arg2 string) (*livekit.IngressInfo, error)
- func (fake *FakeIngressStore) LoadIngressFromStreamKeyArgsForCall(i int) (context.Context, string)
- func (fake *FakeIngressStore) LoadIngressFromStreamKeyCallCount() int
- func (fake *FakeIngressStore) LoadIngressFromStreamKeyCalls(stub func(context.Context, string) (*livekit.IngressInfo, error))
- func (fake *FakeIngressStore) LoadIngressFromStreamKeyReturns(result1 *livekit.IngressInfo, result2 error)
- func (fake *FakeIngressStore) LoadIngressFromStreamKeyReturnsOnCall(i int, result1 *livekit.IngressInfo, result2 error)
- func (fake *FakeIngressStore) LoadIngressReturns(result1 *livekit.IngressInfo, result2 error)
- func (fake *FakeIngressStore) LoadIngressReturnsOnCall(i int, result1 *livekit.IngressInfo, result2 error)
- func (fake *FakeIngressStore) StoreIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error
- func (fake *FakeIngressStore) StoreIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
- func (fake *FakeIngressStore) StoreIngressCallCount() int
- func (fake *FakeIngressStore) StoreIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)
- func (fake *FakeIngressStore) StoreIngressReturns(result1 error)
- func (fake *FakeIngressStore) StoreIngressReturnsOnCall(i int, result1 error)
- func (fake *FakeIngressStore) UpdateIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error
- func (fake *FakeIngressStore) UpdateIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
- func (fake *FakeIngressStore) UpdateIngressCallCount() int
- func (fake *FakeIngressStore) UpdateIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)
- func (fake *FakeIngressStore) UpdateIngressReturns(result1 error)
- func (fake *FakeIngressStore) UpdateIngressReturnsOnCall(i int, result1 error)
- func (fake *FakeIngressStore) UpdateIngressState(arg1 context.Context, arg2 string, arg3 *livekit.IngressState) error
- func (fake *FakeIngressStore) UpdateIngressStateArgsForCall(i int) (context.Context, string, *livekit.IngressState)
- func (fake *FakeIngressStore) UpdateIngressStateCallCount() int
- func (fake *FakeIngressStore) UpdateIngressStateCalls(stub func(context.Context, string, *livekit.IngressState) error)
- func (fake *FakeIngressStore) UpdateIngressStateReturns(result1 error)
- func (fake *FakeIngressStore) UpdateIngressStateReturnsOnCall(i int, result1 error)
- type FakeObjectStore
- func (fake *FakeObjectStore) DeleteParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) error
- func (fake *FakeObjectStore) DeleteParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)
- func (fake *FakeObjectStore) DeleteParticipantCallCount() int
- func (fake *FakeObjectStore) DeleteParticipantCalls(...)
- func (fake *FakeObjectStore) DeleteParticipantReturns(result1 error)
- func (fake *FakeObjectStore) DeleteParticipantReturnsOnCall(i int, result1 error)
- func (fake *FakeObjectStore) DeleteRoom(arg1 context.Context, arg2 livekit.RoomName) error
- func (fake *FakeObjectStore) DeleteRoomArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeObjectStore) DeleteRoomCallCount() int
- func (fake *FakeObjectStore) DeleteRoomCalls(stub func(context.Context, livekit.RoomName) error)
- func (fake *FakeObjectStore) DeleteRoomReturns(result1 error)
- func (fake *FakeObjectStore) DeleteRoomReturnsOnCall(i int, result1 error)
- func (fake *FakeObjectStore) Invocations() map[string][][]interface{}
- func (fake *FakeObjectStore) ListParticipants(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.ParticipantInfo, error)
- func (fake *FakeObjectStore) ListParticipantsArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeObjectStore) ListParticipantsCallCount() int
- func (fake *FakeObjectStore) ListParticipantsCalls(...)
- func (fake *FakeObjectStore) ListParticipantsReturns(result1 []*livekit.ParticipantInfo, result2 error)
- func (fake *FakeObjectStore) ListParticipantsReturnsOnCall(i int, result1 []*livekit.ParticipantInfo, result2 error)
- func (fake *FakeObjectStore) ListRooms(arg1 context.Context, arg2 []livekit.RoomName) ([]*livekit.Room, error)
- func (fake *FakeObjectStore) ListRoomsArgsForCall(i int) (context.Context, []livekit.RoomName)
- func (fake *FakeObjectStore) ListRoomsCallCount() int
- func (fake *FakeObjectStore) ListRoomsCalls(stub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error))
- func (fake *FakeObjectStore) ListRoomsReturns(result1 []*livekit.Room, result2 error)
- func (fake *FakeObjectStore) ListRoomsReturnsOnCall(i int, result1 []*livekit.Room, result2 error)
- func (fake *FakeObjectStore) LoadParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error)
- func (fake *FakeObjectStore) LoadParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)
- func (fake *FakeObjectStore) LoadParticipantCallCount() int
- func (fake *FakeObjectStore) LoadParticipantCalls(...)
- func (fake *FakeObjectStore) LoadParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)
- func (fake *FakeObjectStore) LoadParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)
- func (fake *FakeObjectStore) LoadRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) (*livekit.Room, *livekit.RoomInternal, error)
- func (fake *FakeObjectStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName, bool)
- func (fake *FakeObjectStore) LoadRoomCallCount() int
- func (fake *FakeObjectStore) LoadRoomCalls(...)
- func (fake *FakeObjectStore) LoadRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
- func (fake *FakeObjectStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
- func (fake *FakeObjectStore) LockRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 time.Duration) (string, error)
- func (fake *FakeObjectStore) LockRoomArgsForCall(i int) (context.Context, livekit.RoomName, time.Duration)
- func (fake *FakeObjectStore) LockRoomCallCount() int
- func (fake *FakeObjectStore) LockRoomCalls(stub func(context.Context, livekit.RoomName, time.Duration) (string, error))
- func (fake *FakeObjectStore) LockRoomReturns(result1 string, result2 error)
- func (fake *FakeObjectStore) LockRoomReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeObjectStore) StoreParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 *livekit.ParticipantInfo) error
- func (fake *FakeObjectStore) StoreParticipantArgsForCall(i int) (context.Context, livekit.RoomName, *livekit.ParticipantInfo)
- func (fake *FakeObjectStore) StoreParticipantCallCount() int
- func (fake *FakeObjectStore) StoreParticipantCalls(stub func(context.Context, livekit.RoomName, *livekit.ParticipantInfo) error)
- func (fake *FakeObjectStore) StoreParticipantReturns(result1 error)
- func (fake *FakeObjectStore) StoreParticipantReturnsOnCall(i int, result1 error)
- func (fake *FakeObjectStore) StoreRoom(arg1 context.Context, arg2 *livekit.Room, arg3 *livekit.RoomInternal) error
- func (fake *FakeObjectStore) StoreRoomArgsForCall(i int) (context.Context, *livekit.Room, *livekit.RoomInternal)
- func (fake *FakeObjectStore) StoreRoomCallCount() int
- func (fake *FakeObjectStore) StoreRoomCalls(stub func(context.Context, *livekit.Room, *livekit.RoomInternal) error)
- func (fake *FakeObjectStore) StoreRoomReturns(result1 error)
- func (fake *FakeObjectStore) StoreRoomReturnsOnCall(i int, result1 error)
- func (fake *FakeObjectStore) UnlockRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 string) error
- func (fake *FakeObjectStore) UnlockRoomArgsForCall(i int) (context.Context, livekit.RoomName, string)
- func (fake *FakeObjectStore) UnlockRoomCallCount() int
- func (fake *FakeObjectStore) UnlockRoomCalls(stub func(context.Context, livekit.RoomName, string) error)
- func (fake *FakeObjectStore) UnlockRoomReturns(result1 error)
- func (fake *FakeObjectStore) UnlockRoomReturnsOnCall(i int, result1 error)
- type FakeRoomAllocator
- func (fake *FakeRoomAllocator) CreateRoom(arg1 context.Context, arg2 *livekit.CreateRoomRequest, arg3 bool) (*livekit.Room, *livekit.RoomInternal, bool, error)
- func (fake *FakeRoomAllocator) CreateRoomArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest, bool)
- func (fake *FakeRoomAllocator) CreateRoomCallCount() int
- func (fake *FakeRoomAllocator) CreateRoomCalls(...)
- func (fake *FakeRoomAllocator) CreateRoomEnabled() bool
- func (fake *FakeRoomAllocator) CreateRoomEnabledCallCount() int
- func (fake *FakeRoomAllocator) CreateRoomEnabledCalls(stub func() bool)
- func (fake *FakeRoomAllocator) CreateRoomEnabledReturns(result1 bool)
- func (fake *FakeRoomAllocator) CreateRoomEnabledReturnsOnCall(i int, result1 bool)
- func (fake *FakeRoomAllocator) CreateRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 bool, ...)
- func (fake *FakeRoomAllocator) CreateRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 bool, ...)
- func (fake *FakeRoomAllocator) Invocations() map[string][][]interface{}
- func (fake *FakeRoomAllocator) SelectRoomNode(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.NodeID) error
- func (fake *FakeRoomAllocator) SelectRoomNodeArgsForCall(i int) (context.Context, livekit.RoomName, livekit.NodeID)
- func (fake *FakeRoomAllocator) SelectRoomNodeCallCount() int
- func (fake *FakeRoomAllocator) SelectRoomNodeCalls(stub func(context.Context, livekit.RoomName, livekit.NodeID) error)
- func (fake *FakeRoomAllocator) SelectRoomNodeReturns(result1 error)
- func (fake *FakeRoomAllocator) SelectRoomNodeReturnsOnCall(i int, result1 error)
- func (fake *FakeRoomAllocator) ValidateCreateRoom(arg1 context.Context, arg2 livekit.RoomName) error
- func (fake *FakeRoomAllocator) ValidateCreateRoomArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeRoomAllocator) ValidateCreateRoomCallCount() int
- func (fake *FakeRoomAllocator) ValidateCreateRoomCalls(stub func(context.Context, livekit.RoomName) error)
- func (fake *FakeRoomAllocator) ValidateCreateRoomReturns(result1 error)
- func (fake *FakeRoomAllocator) ValidateCreateRoomReturnsOnCall(i int, result1 error)
- type FakeSIPStore
- func (fake *FakeSIPStore) DeleteSIPDispatchRule(arg1 context.Context, arg2 *livekit.SIPDispatchRuleInfo) error
- func (fake *FakeSIPStore) DeleteSIPDispatchRuleArgsForCall(i int) (context.Context, *livekit.SIPDispatchRuleInfo)
- func (fake *FakeSIPStore) DeleteSIPDispatchRuleCallCount() int
- func (fake *FakeSIPStore) DeleteSIPDispatchRuleCalls(stub func(context.Context, *livekit.SIPDispatchRuleInfo) error)
- func (fake *FakeSIPStore) DeleteSIPDispatchRuleReturns(result1 error)
- func (fake *FakeSIPStore) DeleteSIPDispatchRuleReturnsOnCall(i int, result1 error)
- func (fake *FakeSIPStore) DeleteSIPTrunk(arg1 context.Context, arg2 string) error
- func (fake *FakeSIPStore) DeleteSIPTrunkArgsForCall(i int) (context.Context, string)
- func (fake *FakeSIPStore) DeleteSIPTrunkCallCount() int
- func (fake *FakeSIPStore) DeleteSIPTrunkCalls(stub func(context.Context, string) error)
- func (fake *FakeSIPStore) DeleteSIPTrunkReturns(result1 error)
- func (fake *FakeSIPStore) DeleteSIPTrunkReturnsOnCall(i int, result1 error)
- func (fake *FakeSIPStore) Invocations() map[string][][]interface{}
- func (fake *FakeSIPStore) ListSIPDispatchRule(arg1 context.Context) ([]*livekit.SIPDispatchRuleInfo, error)
- func (fake *FakeSIPStore) ListSIPDispatchRuleArgsForCall(i int) context.Context
- func (fake *FakeSIPStore) ListSIPDispatchRuleCallCount() int
- func (fake *FakeSIPStore) ListSIPDispatchRuleCalls(stub func(context.Context) ([]*livekit.SIPDispatchRuleInfo, error))
- func (fake *FakeSIPStore) ListSIPDispatchRuleReturns(result1 []*livekit.SIPDispatchRuleInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPDispatchRuleReturnsOnCall(i int, result1 []*livekit.SIPDispatchRuleInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPInboundTrunk(arg1 context.Context) ([]*livekit.SIPInboundTrunkInfo, error)
- func (fake *FakeSIPStore) ListSIPInboundTrunkArgsForCall(i int) context.Context
- func (fake *FakeSIPStore) ListSIPInboundTrunkCallCount() int
- func (fake *FakeSIPStore) ListSIPInboundTrunkCalls(stub func(context.Context) ([]*livekit.SIPInboundTrunkInfo, error))
- func (fake *FakeSIPStore) ListSIPInboundTrunkReturns(result1 []*livekit.SIPInboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPInboundTrunkReturnsOnCall(i int, result1 []*livekit.SIPInboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPOutboundTrunk(arg1 context.Context) ([]*livekit.SIPOutboundTrunkInfo, error)
- func (fake *FakeSIPStore) ListSIPOutboundTrunkArgsForCall(i int) context.Context
- func (fake *FakeSIPStore) ListSIPOutboundTrunkCallCount() int
- func (fake *FakeSIPStore) ListSIPOutboundTrunkCalls(stub func(context.Context) ([]*livekit.SIPOutboundTrunkInfo, error))
- func (fake *FakeSIPStore) ListSIPOutboundTrunkReturns(result1 []*livekit.SIPOutboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPOutboundTrunkReturnsOnCall(i int, result1 []*livekit.SIPOutboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPTrunk(arg1 context.Context) ([]*livekit.SIPTrunkInfo, error)
- func (fake *FakeSIPStore) ListSIPTrunkArgsForCall(i int) context.Context
- func (fake *FakeSIPStore) ListSIPTrunkCallCount() int
- func (fake *FakeSIPStore) ListSIPTrunkCalls(stub func(context.Context) ([]*livekit.SIPTrunkInfo, error))
- func (fake *FakeSIPStore) ListSIPTrunkReturns(result1 []*livekit.SIPTrunkInfo, result2 error)
- func (fake *FakeSIPStore) ListSIPTrunkReturnsOnCall(i int, result1 []*livekit.SIPTrunkInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPDispatchRule(arg1 context.Context, arg2 string) (*livekit.SIPDispatchRuleInfo, error)
- func (fake *FakeSIPStore) LoadSIPDispatchRuleArgsForCall(i int) (context.Context, string)
- func (fake *FakeSIPStore) LoadSIPDispatchRuleCallCount() int
- func (fake *FakeSIPStore) LoadSIPDispatchRuleCalls(stub func(context.Context, string) (*livekit.SIPDispatchRuleInfo, error))
- func (fake *FakeSIPStore) LoadSIPDispatchRuleReturns(result1 *livekit.SIPDispatchRuleInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPDispatchRuleReturnsOnCall(i int, result1 *livekit.SIPDispatchRuleInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPInboundTrunk(arg1 context.Context, arg2 string) (*livekit.SIPInboundTrunkInfo, error)
- func (fake *FakeSIPStore) LoadSIPInboundTrunkArgsForCall(i int) (context.Context, string)
- func (fake *FakeSIPStore) LoadSIPInboundTrunkCallCount() int
- func (fake *FakeSIPStore) LoadSIPInboundTrunkCalls(stub func(context.Context, string) (*livekit.SIPInboundTrunkInfo, error))
- func (fake *FakeSIPStore) LoadSIPInboundTrunkReturns(result1 *livekit.SIPInboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPInboundTrunkReturnsOnCall(i int, result1 *livekit.SIPInboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPOutboundTrunk(arg1 context.Context, arg2 string) (*livekit.SIPOutboundTrunkInfo, error)
- func (fake *FakeSIPStore) LoadSIPOutboundTrunkArgsForCall(i int) (context.Context, string)
- func (fake *FakeSIPStore) LoadSIPOutboundTrunkCallCount() int
- func (fake *FakeSIPStore) LoadSIPOutboundTrunkCalls(stub func(context.Context, string) (*livekit.SIPOutboundTrunkInfo, error))
- func (fake *FakeSIPStore) LoadSIPOutboundTrunkReturns(result1 *livekit.SIPOutboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPOutboundTrunkReturnsOnCall(i int, result1 *livekit.SIPOutboundTrunkInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPTrunk(arg1 context.Context, arg2 string) (*livekit.SIPTrunkInfo, error)
- func (fake *FakeSIPStore) LoadSIPTrunkArgsForCall(i int) (context.Context, string)
- func (fake *FakeSIPStore) LoadSIPTrunkCallCount() int
- func (fake *FakeSIPStore) LoadSIPTrunkCalls(stub func(context.Context, string) (*livekit.SIPTrunkInfo, error))
- func (fake *FakeSIPStore) LoadSIPTrunkReturns(result1 *livekit.SIPTrunkInfo, result2 error)
- func (fake *FakeSIPStore) LoadSIPTrunkReturnsOnCall(i int, result1 *livekit.SIPTrunkInfo, result2 error)
- func (fake *FakeSIPStore) StoreSIPDispatchRule(arg1 context.Context, arg2 *livekit.SIPDispatchRuleInfo) error
- func (fake *FakeSIPStore) StoreSIPDispatchRuleArgsForCall(i int) (context.Context, *livekit.SIPDispatchRuleInfo)
- func (fake *FakeSIPStore) StoreSIPDispatchRuleCallCount() int
- func (fake *FakeSIPStore) StoreSIPDispatchRuleCalls(stub func(context.Context, *livekit.SIPDispatchRuleInfo) error)
- func (fake *FakeSIPStore) StoreSIPDispatchRuleReturns(result1 error)
- func (fake *FakeSIPStore) StoreSIPDispatchRuleReturnsOnCall(i int, result1 error)
- func (fake *FakeSIPStore) StoreSIPInboundTrunk(arg1 context.Context, arg2 *livekit.SIPInboundTrunkInfo) error
- func (fake *FakeSIPStore) StoreSIPInboundTrunkArgsForCall(i int) (context.Context, *livekit.SIPInboundTrunkInfo)
- func (fake *FakeSIPStore) StoreSIPInboundTrunkCallCount() int
- func (fake *FakeSIPStore) StoreSIPInboundTrunkCalls(stub func(context.Context, *livekit.SIPInboundTrunkInfo) error)
- func (fake *FakeSIPStore) StoreSIPInboundTrunkReturns(result1 error)
- func (fake *FakeSIPStore) StoreSIPInboundTrunkReturnsOnCall(i int, result1 error)
- func (fake *FakeSIPStore) StoreSIPOutboundTrunk(arg1 context.Context, arg2 *livekit.SIPOutboundTrunkInfo) error
- func (fake *FakeSIPStore) StoreSIPOutboundTrunkArgsForCall(i int) (context.Context, *livekit.SIPOutboundTrunkInfo)
- func (fake *FakeSIPStore) StoreSIPOutboundTrunkCallCount() int
- func (fake *FakeSIPStore) StoreSIPOutboundTrunkCalls(stub func(context.Context, *livekit.SIPOutboundTrunkInfo) error)
- func (fake *FakeSIPStore) StoreSIPOutboundTrunkReturns(result1 error)
- func (fake *FakeSIPStore) StoreSIPOutboundTrunkReturnsOnCall(i int, result1 error)
- func (fake *FakeSIPStore) StoreSIPTrunk(arg1 context.Context, arg2 *livekit.SIPTrunkInfo) error
- func (fake *FakeSIPStore) StoreSIPTrunkArgsForCall(i int) (context.Context, *livekit.SIPTrunkInfo)
- func (fake *FakeSIPStore) StoreSIPTrunkCallCount() int
- func (fake *FakeSIPStore) StoreSIPTrunkCalls(stub func(context.Context, *livekit.SIPTrunkInfo) error)
- func (fake *FakeSIPStore) StoreSIPTrunkReturns(result1 error)
- func (fake *FakeSIPStore) StoreSIPTrunkReturnsOnCall(i int, result1 error)
- type FakeServiceStore
- func (fake *FakeServiceStore) DeleteRoom(arg1 context.Context, arg2 livekit.RoomName) error
- func (fake *FakeServiceStore) DeleteRoomArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeServiceStore) DeleteRoomCallCount() int
- func (fake *FakeServiceStore) DeleteRoomCalls(stub func(context.Context, livekit.RoomName) error)
- func (fake *FakeServiceStore) DeleteRoomReturns(result1 error)
- func (fake *FakeServiceStore) DeleteRoomReturnsOnCall(i int, result1 error)
- func (fake *FakeServiceStore) Invocations() map[string][][]interface{}
- func (fake *FakeServiceStore) ListParticipants(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.ParticipantInfo, error)
- func (fake *FakeServiceStore) ListParticipantsArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeServiceStore) ListParticipantsCallCount() int
- func (fake *FakeServiceStore) ListParticipantsCalls(...)
- func (fake *FakeServiceStore) ListParticipantsReturns(result1 []*livekit.ParticipantInfo, result2 error)
- func (fake *FakeServiceStore) ListParticipantsReturnsOnCall(i int, result1 []*livekit.ParticipantInfo, result2 error)
- func (fake *FakeServiceStore) ListRooms(arg1 context.Context, arg2 []livekit.RoomName) ([]*livekit.Room, error)
- func (fake *FakeServiceStore) ListRoomsArgsForCall(i int) (context.Context, []livekit.RoomName)
- func (fake *FakeServiceStore) ListRoomsCallCount() int
- func (fake *FakeServiceStore) ListRoomsCalls(stub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error))
- func (fake *FakeServiceStore) ListRoomsReturns(result1 []*livekit.Room, result2 error)
- func (fake *FakeServiceStore) ListRoomsReturnsOnCall(i int, result1 []*livekit.Room, result2 error)
- func (fake *FakeServiceStore) LoadParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error)
- func (fake *FakeServiceStore) LoadParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)
- func (fake *FakeServiceStore) LoadParticipantCallCount() int
- func (fake *FakeServiceStore) LoadParticipantCalls(...)
- func (fake *FakeServiceStore) LoadParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)
- func (fake *FakeServiceStore) LoadParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)
- func (fake *FakeServiceStore) LoadRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) (*livekit.Room, *livekit.RoomInternal, error)
- func (fake *FakeServiceStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName, bool)
- func (fake *FakeServiceStore) LoadRoomCallCount() int
- func (fake *FakeServiceStore) LoadRoomCalls(...)
- func (fake *FakeServiceStore) LoadRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
- func (fake *FakeServiceStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
- type FakeSessionHandler
- func (fake *FakeSessionHandler) HandleSession(arg1 context.Context, arg2 *livekit.CreateRoomRequest, ...) error
- func (fake *FakeSessionHandler) HandleSessionArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest, routing.ParticipantInit, ...)
- func (fake *FakeSessionHandler) HandleSessionCallCount() int
- func (fake *FakeSessionHandler) HandleSessionCalls(...)
- func (fake *FakeSessionHandler) HandleSessionReturns(result1 error)
- func (fake *FakeSessionHandler) HandleSessionReturnsOnCall(i int, result1 error)
- func (fake *FakeSessionHandler) Invocations() map[string][][]interface{}
- func (fake *FakeSessionHandler) Logger(arg1 context.Context) logger.Logger
- func (fake *FakeSessionHandler) LoggerArgsForCall(i int) context.Context
- func (fake *FakeSessionHandler) LoggerCallCount() int
- func (fake *FakeSessionHandler) LoggerCalls(stub func(context.Context) logger.Logger)
- func (fake *FakeSessionHandler) LoggerReturns(result1 logger.Logger)
- func (fake *FakeSessionHandler) LoggerReturnsOnCall(i int, result1 logger.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAgentStore ¶
type FakeAgentStore struct { DeleteAgentDispatchStub func(context.Context, *livekit.AgentDispatch) error DeleteAgentJobStub func(context.Context, *livekit.Job) error ListAgentDispatchesStub func(context.Context, livekit.RoomName) ([]*livekit.AgentDispatch, error) StoreAgentDispatchStub func(context.Context, *livekit.AgentDispatch) error StoreAgentJobStub func(context.Context, *livekit.Job) error // contains filtered or unexported fields }
func (*FakeAgentStore) DeleteAgentDispatch ¶
func (fake *FakeAgentStore) DeleteAgentDispatch(arg1 context.Context, arg2 *livekit.AgentDispatch) error
func (*FakeAgentStore) DeleteAgentDispatchArgsForCall ¶
func (fake *FakeAgentStore) DeleteAgentDispatchArgsForCall(i int) (context.Context, *livekit.AgentDispatch)
func (*FakeAgentStore) DeleteAgentDispatchCallCount ¶
func (fake *FakeAgentStore) DeleteAgentDispatchCallCount() int
func (*FakeAgentStore) DeleteAgentDispatchCalls ¶
func (fake *FakeAgentStore) DeleteAgentDispatchCalls(stub func(context.Context, *livekit.AgentDispatch) error)
func (*FakeAgentStore) DeleteAgentDispatchReturns ¶
func (fake *FakeAgentStore) DeleteAgentDispatchReturns(result1 error)
func (*FakeAgentStore) DeleteAgentDispatchReturnsOnCall ¶
func (fake *FakeAgentStore) DeleteAgentDispatchReturnsOnCall(i int, result1 error)
func (*FakeAgentStore) DeleteAgentJob ¶
func (*FakeAgentStore) DeleteAgentJobArgsForCall ¶
func (*FakeAgentStore) DeleteAgentJobCallCount ¶
func (fake *FakeAgentStore) DeleteAgentJobCallCount() int
func (*FakeAgentStore) DeleteAgentJobCalls ¶
func (*FakeAgentStore) DeleteAgentJobReturns ¶
func (fake *FakeAgentStore) DeleteAgentJobReturns(result1 error)
func (*FakeAgentStore) DeleteAgentJobReturnsOnCall ¶
func (fake *FakeAgentStore) DeleteAgentJobReturnsOnCall(i int, result1 error)
func (*FakeAgentStore) Invocations ¶
func (fake *FakeAgentStore) Invocations() map[string][][]interface{}
func (*FakeAgentStore) ListAgentDispatches ¶
func (fake *FakeAgentStore) ListAgentDispatches(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.AgentDispatch, error)
func (*FakeAgentStore) ListAgentDispatchesArgsForCall ¶
func (*FakeAgentStore) ListAgentDispatchesCallCount ¶
func (fake *FakeAgentStore) ListAgentDispatchesCallCount() int
func (*FakeAgentStore) ListAgentDispatchesCalls ¶
func (fake *FakeAgentStore) ListAgentDispatchesCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.AgentDispatch, error))
func (*FakeAgentStore) ListAgentDispatchesReturns ¶
func (fake *FakeAgentStore) ListAgentDispatchesReturns(result1 []*livekit.AgentDispatch, result2 error)
func (*FakeAgentStore) ListAgentDispatchesReturnsOnCall ¶
func (fake *FakeAgentStore) ListAgentDispatchesReturnsOnCall(i int, result1 []*livekit.AgentDispatch, result2 error)
func (*FakeAgentStore) StoreAgentDispatch ¶
func (fake *FakeAgentStore) StoreAgentDispatch(arg1 context.Context, arg2 *livekit.AgentDispatch) error
func (*FakeAgentStore) StoreAgentDispatchArgsForCall ¶
func (fake *FakeAgentStore) StoreAgentDispatchArgsForCall(i int) (context.Context, *livekit.AgentDispatch)
func (*FakeAgentStore) StoreAgentDispatchCallCount ¶
func (fake *FakeAgentStore) StoreAgentDispatchCallCount() int
func (*FakeAgentStore) StoreAgentDispatchCalls ¶
func (fake *FakeAgentStore) StoreAgentDispatchCalls(stub func(context.Context, *livekit.AgentDispatch) error)
func (*FakeAgentStore) StoreAgentDispatchReturns ¶
func (fake *FakeAgentStore) StoreAgentDispatchReturns(result1 error)
func (*FakeAgentStore) StoreAgentDispatchReturnsOnCall ¶
func (fake *FakeAgentStore) StoreAgentDispatchReturnsOnCall(i int, result1 error)
func (*FakeAgentStore) StoreAgentJob ¶
func (*FakeAgentStore) StoreAgentJobArgsForCall ¶
func (*FakeAgentStore) StoreAgentJobCallCount ¶
func (fake *FakeAgentStore) StoreAgentJobCallCount() int
func (*FakeAgentStore) StoreAgentJobCalls ¶
func (*FakeAgentStore) StoreAgentJobReturns ¶
func (fake *FakeAgentStore) StoreAgentJobReturns(result1 error)
func (*FakeAgentStore) StoreAgentJobReturnsOnCall ¶
func (fake *FakeAgentStore) StoreAgentJobReturnsOnCall(i int, result1 error)
type FakeEgressStore ¶
type FakeEgressStore struct { ListEgressStub func(context.Context, livekit.RoomName, bool) ([]*livekit.EgressInfo, error) LoadEgressStub func(context.Context, string) (*livekit.EgressInfo, error) StoreEgressStub func(context.Context, *livekit.EgressInfo) error UpdateEgressStub func(context.Context, *livekit.EgressInfo) error // contains filtered or unexported fields }
func (*FakeEgressStore) Invocations ¶
func (fake *FakeEgressStore) Invocations() map[string][][]interface{}
func (*FakeEgressStore) ListEgress ¶
func (fake *FakeEgressStore) ListEgress(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) ([]*livekit.EgressInfo, error)
func (*FakeEgressStore) ListEgressArgsForCall ¶
func (*FakeEgressStore) ListEgressCallCount ¶
func (fake *FakeEgressStore) ListEgressCallCount() int
func (*FakeEgressStore) ListEgressCalls ¶
func (fake *FakeEgressStore) ListEgressCalls(stub func(context.Context, livekit.RoomName, bool) ([]*livekit.EgressInfo, error))
func (*FakeEgressStore) ListEgressReturns ¶
func (fake *FakeEgressStore) ListEgressReturns(result1 []*livekit.EgressInfo, result2 error)
func (*FakeEgressStore) ListEgressReturnsOnCall ¶
func (fake *FakeEgressStore) ListEgressReturnsOnCall(i int, result1 []*livekit.EgressInfo, result2 error)
func (*FakeEgressStore) LoadEgress ¶
func (fake *FakeEgressStore) LoadEgress(arg1 context.Context, arg2 string) (*livekit.EgressInfo, error)
func (*FakeEgressStore) LoadEgressArgsForCall ¶
func (fake *FakeEgressStore) LoadEgressArgsForCall(i int) (context.Context, string)
func (*FakeEgressStore) LoadEgressCallCount ¶
func (fake *FakeEgressStore) LoadEgressCallCount() int
func (*FakeEgressStore) LoadEgressCalls ¶
func (fake *FakeEgressStore) LoadEgressCalls(stub func(context.Context, string) (*livekit.EgressInfo, error))
func (*FakeEgressStore) LoadEgressReturns ¶
func (fake *FakeEgressStore) LoadEgressReturns(result1 *livekit.EgressInfo, result2 error)
func (*FakeEgressStore) LoadEgressReturnsOnCall ¶
func (fake *FakeEgressStore) LoadEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, result2 error)
func (*FakeEgressStore) StoreEgress ¶
func (fake *FakeEgressStore) StoreEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
func (*FakeEgressStore) StoreEgressArgsForCall ¶
func (fake *FakeEgressStore) StoreEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeEgressStore) StoreEgressCallCount ¶
func (fake *FakeEgressStore) StoreEgressCallCount() int
func (*FakeEgressStore) StoreEgressCalls ¶
func (fake *FakeEgressStore) StoreEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
func (*FakeEgressStore) StoreEgressReturns ¶
func (fake *FakeEgressStore) StoreEgressReturns(result1 error)
func (*FakeEgressStore) StoreEgressReturnsOnCall ¶
func (fake *FakeEgressStore) StoreEgressReturnsOnCall(i int, result1 error)
func (*FakeEgressStore) UpdateEgress ¶
func (fake *FakeEgressStore) UpdateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
func (*FakeEgressStore) UpdateEgressArgsForCall ¶
func (fake *FakeEgressStore) UpdateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeEgressStore) UpdateEgressCallCount ¶
func (fake *FakeEgressStore) UpdateEgressCallCount() int
func (*FakeEgressStore) UpdateEgressCalls ¶
func (fake *FakeEgressStore) UpdateEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
func (*FakeEgressStore) UpdateEgressReturns ¶
func (fake *FakeEgressStore) UpdateEgressReturns(result1 error)
func (*FakeEgressStore) UpdateEgressReturnsOnCall ¶
func (fake *FakeEgressStore) UpdateEgressReturnsOnCall(i int, result1 error)
type FakeIOClient ¶
type FakeIOClient struct { CreateEgressStub func(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error) CreateIngressStub func(context.Context, *livekit.IngressInfo) (*emptypb.Empty, error) GetEgressStub func(context.Context, *rpc.GetEgressRequest) (*livekit.EgressInfo, error) ListEgressStub func(context.Context, *livekit.ListEgressRequest) (*livekit.ListEgressResponse, error) UpdateIngressStateStub func(context.Context, *rpc.UpdateIngressStateRequest) (*emptypb.Empty, error) // contains filtered or unexported fields }
func (*FakeIOClient) CreateEgress ¶
func (fake *FakeIOClient) CreateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) (*emptypb.Empty, error)
func (*FakeIOClient) CreateEgressArgsForCall ¶
func (fake *FakeIOClient) CreateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeIOClient) CreateEgressCallCount ¶
func (fake *FakeIOClient) CreateEgressCallCount() int
func (*FakeIOClient) CreateEgressCalls ¶
func (fake *FakeIOClient) CreateEgressCalls(stub func(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error))
func (*FakeIOClient) CreateEgressReturns ¶
func (fake *FakeIOClient) CreateEgressReturns(result1 *emptypb.Empty, result2 error)
func (*FakeIOClient) CreateEgressReturnsOnCall ¶
func (fake *FakeIOClient) CreateEgressReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)
func (*FakeIOClient) CreateIngress ¶
func (fake *FakeIOClient) CreateIngress(arg1 context.Context, arg2 *livekit.IngressInfo) (*emptypb.Empty, error)
func (*FakeIOClient) CreateIngressArgsForCall ¶
func (fake *FakeIOClient) CreateIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
func (*FakeIOClient) CreateIngressCallCount ¶
func (fake *FakeIOClient) CreateIngressCallCount() int
func (*FakeIOClient) CreateIngressCalls ¶
func (fake *FakeIOClient) CreateIngressCalls(stub func(context.Context, *livekit.IngressInfo) (*emptypb.Empty, error))
func (*FakeIOClient) CreateIngressReturns ¶
func (fake *FakeIOClient) CreateIngressReturns(result1 *emptypb.Empty, result2 error)
func (*FakeIOClient) CreateIngressReturnsOnCall ¶
func (fake *FakeIOClient) CreateIngressReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)
func (*FakeIOClient) GetEgress ¶
func (fake *FakeIOClient) GetEgress(arg1 context.Context, arg2 *rpc.GetEgressRequest) (*livekit.EgressInfo, error)
func (*FakeIOClient) GetEgressArgsForCall ¶
func (fake *FakeIOClient) GetEgressArgsForCall(i int) (context.Context, *rpc.GetEgressRequest)
func (*FakeIOClient) GetEgressCallCount ¶
func (fake *FakeIOClient) GetEgressCallCount() int
func (*FakeIOClient) GetEgressCalls ¶
func (fake *FakeIOClient) GetEgressCalls(stub func(context.Context, *rpc.GetEgressRequest) (*livekit.EgressInfo, error))
func (*FakeIOClient) GetEgressReturns ¶
func (fake *FakeIOClient) GetEgressReturns(result1 *livekit.EgressInfo, result2 error)
func (*FakeIOClient) GetEgressReturnsOnCall ¶
func (fake *FakeIOClient) GetEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, result2 error)
func (*FakeIOClient) Invocations ¶
func (fake *FakeIOClient) Invocations() map[string][][]interface{}
func (*FakeIOClient) ListEgress ¶
func (fake *FakeIOClient) ListEgress(arg1 context.Context, arg2 *livekit.ListEgressRequest) (*livekit.ListEgressResponse, error)
func (*FakeIOClient) ListEgressArgsForCall ¶
func (fake *FakeIOClient) ListEgressArgsForCall(i int) (context.Context, *livekit.ListEgressRequest)
func (*FakeIOClient) ListEgressCallCount ¶
func (fake *FakeIOClient) ListEgressCallCount() int
func (*FakeIOClient) ListEgressCalls ¶
func (fake *FakeIOClient) ListEgressCalls(stub func(context.Context, *livekit.ListEgressRequest) (*livekit.ListEgressResponse, error))
func (*FakeIOClient) ListEgressReturns ¶
func (fake *FakeIOClient) ListEgressReturns(result1 *livekit.ListEgressResponse, result2 error)
func (*FakeIOClient) ListEgressReturnsOnCall ¶
func (fake *FakeIOClient) ListEgressReturnsOnCall(i int, result1 *livekit.ListEgressResponse, result2 error)
func (*FakeIOClient) UpdateIngressState ¶
func (fake *FakeIOClient) UpdateIngressState(arg1 context.Context, arg2 *rpc.UpdateIngressStateRequest) (*emptypb.Empty, error)
func (*FakeIOClient) UpdateIngressStateArgsForCall ¶
func (fake *FakeIOClient) UpdateIngressStateArgsForCall(i int) (context.Context, *rpc.UpdateIngressStateRequest)
func (*FakeIOClient) UpdateIngressStateCallCount ¶
func (fake *FakeIOClient) UpdateIngressStateCallCount() int
func (*FakeIOClient) UpdateIngressStateCalls ¶
func (fake *FakeIOClient) UpdateIngressStateCalls(stub func(context.Context, *rpc.UpdateIngressStateRequest) (*emptypb.Empty, error))
func (*FakeIOClient) UpdateIngressStateReturns ¶
func (fake *FakeIOClient) UpdateIngressStateReturns(result1 *emptypb.Empty, result2 error)
func (*FakeIOClient) UpdateIngressStateReturnsOnCall ¶
func (fake *FakeIOClient) UpdateIngressStateReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)
type FakeIngressStore ¶
type FakeIngressStore struct { DeleteIngressStub func(context.Context, *livekit.IngressInfo) error ListIngressStub func(context.Context, livekit.RoomName) ([]*livekit.IngressInfo, error) LoadIngressStub func(context.Context, string) (*livekit.IngressInfo, error) LoadIngressFromStreamKeyStub func(context.Context, string) (*livekit.IngressInfo, error) StoreIngressStub func(context.Context, *livekit.IngressInfo) error UpdateIngressStub func(context.Context, *livekit.IngressInfo) error UpdateIngressStateStub func(context.Context, string, *livekit.IngressState) error // contains filtered or unexported fields }
func (*FakeIngressStore) DeleteIngress ¶
func (fake *FakeIngressStore) DeleteIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error
func (*FakeIngressStore) DeleteIngressArgsForCall ¶
func (fake *FakeIngressStore) DeleteIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
func (*FakeIngressStore) DeleteIngressCallCount ¶
func (fake *FakeIngressStore) DeleteIngressCallCount() int
func (*FakeIngressStore) DeleteIngressCalls ¶
func (fake *FakeIngressStore) DeleteIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)
func (*FakeIngressStore) DeleteIngressReturns ¶
func (fake *FakeIngressStore) DeleteIngressReturns(result1 error)
func (*FakeIngressStore) DeleteIngressReturnsOnCall ¶
func (fake *FakeIngressStore) DeleteIngressReturnsOnCall(i int, result1 error)
func (*FakeIngressStore) Invocations ¶
func (fake *FakeIngressStore) Invocations() map[string][][]interface{}
func (*FakeIngressStore) ListIngress ¶
func (fake *FakeIngressStore) ListIngress(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.IngressInfo, error)
func (*FakeIngressStore) ListIngressArgsForCall ¶
func (*FakeIngressStore) ListIngressCallCount ¶
func (fake *FakeIngressStore) ListIngressCallCount() int
func (*FakeIngressStore) ListIngressCalls ¶
func (fake *FakeIngressStore) ListIngressCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.IngressInfo, error))
func (*FakeIngressStore) ListIngressReturns ¶
func (fake *FakeIngressStore) ListIngressReturns(result1 []*livekit.IngressInfo, result2 error)
func (*FakeIngressStore) ListIngressReturnsOnCall ¶
func (fake *FakeIngressStore) ListIngressReturnsOnCall(i int, result1 []*livekit.IngressInfo, result2 error)
func (*FakeIngressStore) LoadIngress ¶
func (fake *FakeIngressStore) LoadIngress(arg1 context.Context, arg2 string) (*livekit.IngressInfo, error)
func (*FakeIngressStore) LoadIngressArgsForCall ¶
func (fake *FakeIngressStore) LoadIngressArgsForCall(i int) (context.Context, string)
func (*FakeIngressStore) LoadIngressCallCount ¶
func (fake *FakeIngressStore) LoadIngressCallCount() int
func (*FakeIngressStore) LoadIngressCalls ¶
func (fake *FakeIngressStore) LoadIngressCalls(stub func(context.Context, string) (*livekit.IngressInfo, error))
func (*FakeIngressStore) LoadIngressFromStreamKey ¶
func (fake *FakeIngressStore) LoadIngressFromStreamKey(arg1 context.Context, arg2 string) (*livekit.IngressInfo, error)
func (*FakeIngressStore) LoadIngressFromStreamKeyArgsForCall ¶
func (fake *FakeIngressStore) LoadIngressFromStreamKeyArgsForCall(i int) (context.Context, string)
func (*FakeIngressStore) LoadIngressFromStreamKeyCallCount ¶
func (fake *FakeIngressStore) LoadIngressFromStreamKeyCallCount() int
func (*FakeIngressStore) LoadIngressFromStreamKeyCalls ¶
func (fake *FakeIngressStore) LoadIngressFromStreamKeyCalls(stub func(context.Context, string) (*livekit.IngressInfo, error))
func (*FakeIngressStore) LoadIngressFromStreamKeyReturns ¶
func (fake *FakeIngressStore) LoadIngressFromStreamKeyReturns(result1 *livekit.IngressInfo, result2 error)
func (*FakeIngressStore) LoadIngressFromStreamKeyReturnsOnCall ¶
func (fake *FakeIngressStore) LoadIngressFromStreamKeyReturnsOnCall(i int, result1 *livekit.IngressInfo, result2 error)
func (*FakeIngressStore) LoadIngressReturns ¶
func (fake *FakeIngressStore) LoadIngressReturns(result1 *livekit.IngressInfo, result2 error)
func (*FakeIngressStore) LoadIngressReturnsOnCall ¶
func (fake *FakeIngressStore) LoadIngressReturnsOnCall(i int, result1 *livekit.IngressInfo, result2 error)
func (*FakeIngressStore) StoreIngress ¶
func (fake *FakeIngressStore) StoreIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error
func (*FakeIngressStore) StoreIngressArgsForCall ¶
func (fake *FakeIngressStore) StoreIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
func (*FakeIngressStore) StoreIngressCallCount ¶
func (fake *FakeIngressStore) StoreIngressCallCount() int
func (*FakeIngressStore) StoreIngressCalls ¶
func (fake *FakeIngressStore) StoreIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)
func (*FakeIngressStore) StoreIngressReturns ¶
func (fake *FakeIngressStore) StoreIngressReturns(result1 error)
func (*FakeIngressStore) StoreIngressReturnsOnCall ¶
func (fake *FakeIngressStore) StoreIngressReturnsOnCall(i int, result1 error)
func (*FakeIngressStore) UpdateIngress ¶
func (fake *FakeIngressStore) UpdateIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error
func (*FakeIngressStore) UpdateIngressArgsForCall ¶
func (fake *FakeIngressStore) UpdateIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)
func (*FakeIngressStore) UpdateIngressCallCount ¶
func (fake *FakeIngressStore) UpdateIngressCallCount() int
func (*FakeIngressStore) UpdateIngressCalls ¶
func (fake *FakeIngressStore) UpdateIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)
func (*FakeIngressStore) UpdateIngressReturns ¶
func (fake *FakeIngressStore) UpdateIngressReturns(result1 error)
func (*FakeIngressStore) UpdateIngressReturnsOnCall ¶
func (fake *FakeIngressStore) UpdateIngressReturnsOnCall(i int, result1 error)
func (*FakeIngressStore) UpdateIngressState ¶
func (fake *FakeIngressStore) UpdateIngressState(arg1 context.Context, arg2 string, arg3 *livekit.IngressState) error
func (*FakeIngressStore) UpdateIngressStateArgsForCall ¶
func (fake *FakeIngressStore) UpdateIngressStateArgsForCall(i int) (context.Context, string, *livekit.IngressState)
func (*FakeIngressStore) UpdateIngressStateCallCount ¶
func (fake *FakeIngressStore) UpdateIngressStateCallCount() int
func (*FakeIngressStore) UpdateIngressStateCalls ¶
func (fake *FakeIngressStore) UpdateIngressStateCalls(stub func(context.Context, string, *livekit.IngressState) error)
func (*FakeIngressStore) UpdateIngressStateReturns ¶
func (fake *FakeIngressStore) UpdateIngressStateReturns(result1 error)
func (*FakeIngressStore) UpdateIngressStateReturnsOnCall ¶
func (fake *FakeIngressStore) UpdateIngressStateReturnsOnCall(i int, result1 error)
type FakeObjectStore ¶
type FakeObjectStore struct { DeleteParticipantStub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) error DeleteRoomStub func(context.Context, livekit.RoomName) error ListParticipantsStub func(context.Context, livekit.RoomName) ([]*livekit.ParticipantInfo, error) ListRoomsStub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error) LoadParticipantStub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error) LoadRoomStub func(context.Context, livekit.RoomName, bool) (*livekit.Room, *livekit.RoomInternal, error) LockRoomStub func(context.Context, livekit.RoomName, time.Duration) (string, error) StoreParticipantStub func(context.Context, livekit.RoomName, *livekit.ParticipantInfo) error StoreRoomStub func(context.Context, *livekit.Room, *livekit.RoomInternal) error UnlockRoomStub func(context.Context, livekit.RoomName, string) error // contains filtered or unexported fields }
func (*FakeObjectStore) DeleteParticipant ¶
func (fake *FakeObjectStore) DeleteParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) error
func (*FakeObjectStore) DeleteParticipantArgsForCall ¶
func (fake *FakeObjectStore) DeleteParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)
func (*FakeObjectStore) DeleteParticipantCallCount ¶
func (fake *FakeObjectStore) DeleteParticipantCallCount() int
func (*FakeObjectStore) DeleteParticipantCalls ¶
func (fake *FakeObjectStore) DeleteParticipantCalls(stub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) error)
func (*FakeObjectStore) DeleteParticipantReturns ¶
func (fake *FakeObjectStore) DeleteParticipantReturns(result1 error)
func (*FakeObjectStore) DeleteParticipantReturnsOnCall ¶
func (fake *FakeObjectStore) DeleteParticipantReturnsOnCall(i int, result1 error)
func (*FakeObjectStore) DeleteRoom ¶
func (*FakeObjectStore) DeleteRoomArgsForCall ¶
func (*FakeObjectStore) DeleteRoomCallCount ¶
func (fake *FakeObjectStore) DeleteRoomCallCount() int
func (*FakeObjectStore) DeleteRoomCalls ¶
func (*FakeObjectStore) DeleteRoomReturns ¶
func (fake *FakeObjectStore) DeleteRoomReturns(result1 error)
func (*FakeObjectStore) DeleteRoomReturnsOnCall ¶
func (fake *FakeObjectStore) DeleteRoomReturnsOnCall(i int, result1 error)
func (*FakeObjectStore) Invocations ¶
func (fake *FakeObjectStore) Invocations() map[string][][]interface{}
func (*FakeObjectStore) ListParticipants ¶
func (fake *FakeObjectStore) ListParticipants(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.ParticipantInfo, error)
func (*FakeObjectStore) ListParticipantsArgsForCall ¶
func (*FakeObjectStore) ListParticipantsCallCount ¶
func (fake *FakeObjectStore) ListParticipantsCallCount() int
func (*FakeObjectStore) ListParticipantsCalls ¶
func (fake *FakeObjectStore) ListParticipantsCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.ParticipantInfo, error))
func (*FakeObjectStore) ListParticipantsReturns ¶
func (fake *FakeObjectStore) ListParticipantsReturns(result1 []*livekit.ParticipantInfo, result2 error)
func (*FakeObjectStore) ListParticipantsReturnsOnCall ¶
func (fake *FakeObjectStore) ListParticipantsReturnsOnCall(i int, result1 []*livekit.ParticipantInfo, result2 error)
func (*FakeObjectStore) ListRoomsArgsForCall ¶
func (*FakeObjectStore) ListRoomsCallCount ¶
func (fake *FakeObjectStore) ListRoomsCallCount() int
func (*FakeObjectStore) ListRoomsCalls ¶
func (*FakeObjectStore) ListRoomsReturns ¶
func (fake *FakeObjectStore) ListRoomsReturns(result1 []*livekit.Room, result2 error)
func (*FakeObjectStore) ListRoomsReturnsOnCall ¶
func (fake *FakeObjectStore) ListRoomsReturnsOnCall(i int, result1 []*livekit.Room, result2 error)
func (*FakeObjectStore) LoadParticipant ¶
func (fake *FakeObjectStore) LoadParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error)
func (*FakeObjectStore) LoadParticipantArgsForCall ¶
func (fake *FakeObjectStore) LoadParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)
func (*FakeObjectStore) LoadParticipantCallCount ¶
func (fake *FakeObjectStore) LoadParticipantCallCount() int
func (*FakeObjectStore) LoadParticipantCalls ¶
func (fake *FakeObjectStore) LoadParticipantCalls(stub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error))
func (*FakeObjectStore) LoadParticipantReturns ¶
func (fake *FakeObjectStore) LoadParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)
func (*FakeObjectStore) LoadParticipantReturnsOnCall ¶
func (fake *FakeObjectStore) LoadParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)
func (*FakeObjectStore) LoadRoomArgsForCall ¶
func (*FakeObjectStore) LoadRoomCallCount ¶
func (fake *FakeObjectStore) LoadRoomCallCount() int
func (*FakeObjectStore) LoadRoomCalls ¶
func (*FakeObjectStore) LoadRoomReturns ¶
func (fake *FakeObjectStore) LoadRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
func (*FakeObjectStore) LoadRoomReturnsOnCall ¶
func (fake *FakeObjectStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
func (*FakeObjectStore) LockRoomArgsForCall ¶
func (*FakeObjectStore) LockRoomCallCount ¶
func (fake *FakeObjectStore) LockRoomCallCount() int
func (*FakeObjectStore) LockRoomCalls ¶
func (*FakeObjectStore) LockRoomReturns ¶
func (fake *FakeObjectStore) LockRoomReturns(result1 string, result2 error)
func (*FakeObjectStore) LockRoomReturnsOnCall ¶
func (fake *FakeObjectStore) LockRoomReturnsOnCall(i int, result1 string, result2 error)
func (*FakeObjectStore) StoreParticipant ¶
func (fake *FakeObjectStore) StoreParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 *livekit.ParticipantInfo) error
func (*FakeObjectStore) StoreParticipantArgsForCall ¶
func (fake *FakeObjectStore) StoreParticipantArgsForCall(i int) (context.Context, livekit.RoomName, *livekit.ParticipantInfo)
func (*FakeObjectStore) StoreParticipantCallCount ¶
func (fake *FakeObjectStore) StoreParticipantCallCount() int
func (*FakeObjectStore) StoreParticipantCalls ¶
func (fake *FakeObjectStore) StoreParticipantCalls(stub func(context.Context, livekit.RoomName, *livekit.ParticipantInfo) error)
func (*FakeObjectStore) StoreParticipantReturns ¶
func (fake *FakeObjectStore) StoreParticipantReturns(result1 error)
func (*FakeObjectStore) StoreParticipantReturnsOnCall ¶
func (fake *FakeObjectStore) StoreParticipantReturnsOnCall(i int, result1 error)
func (*FakeObjectStore) StoreRoom ¶
func (fake *FakeObjectStore) StoreRoom(arg1 context.Context, arg2 *livekit.Room, arg3 *livekit.RoomInternal) error
func (*FakeObjectStore) StoreRoomArgsForCall ¶
func (fake *FakeObjectStore) StoreRoomArgsForCall(i int) (context.Context, *livekit.Room, *livekit.RoomInternal)
func (*FakeObjectStore) StoreRoomCallCount ¶
func (fake *FakeObjectStore) StoreRoomCallCount() int
func (*FakeObjectStore) StoreRoomCalls ¶
func (fake *FakeObjectStore) StoreRoomCalls(stub func(context.Context, *livekit.Room, *livekit.RoomInternal) error)
func (*FakeObjectStore) StoreRoomReturns ¶
func (fake *FakeObjectStore) StoreRoomReturns(result1 error)
func (*FakeObjectStore) StoreRoomReturnsOnCall ¶
func (fake *FakeObjectStore) StoreRoomReturnsOnCall(i int, result1 error)
func (*FakeObjectStore) UnlockRoom ¶
func (*FakeObjectStore) UnlockRoomArgsForCall ¶
func (*FakeObjectStore) UnlockRoomCallCount ¶
func (fake *FakeObjectStore) UnlockRoomCallCount() int
func (*FakeObjectStore) UnlockRoomCalls ¶
func (*FakeObjectStore) UnlockRoomReturns ¶
func (fake *FakeObjectStore) UnlockRoomReturns(result1 error)
func (*FakeObjectStore) UnlockRoomReturnsOnCall ¶
func (fake *FakeObjectStore) UnlockRoomReturnsOnCall(i int, result1 error)
type FakeRoomAllocator ¶
type FakeRoomAllocator struct { CreateRoomStub func(context.Context, *livekit.CreateRoomRequest, bool) (*livekit.Room, *livekit.RoomInternal, bool, error) CreateRoomEnabledStub func() bool SelectRoomNodeStub func(context.Context, livekit.RoomName, livekit.NodeID) error ValidateCreateRoomStub func(context.Context, livekit.RoomName) error // contains filtered or unexported fields }
func (*FakeRoomAllocator) CreateRoom ¶
func (fake *FakeRoomAllocator) CreateRoom(arg1 context.Context, arg2 *livekit.CreateRoomRequest, arg3 bool) (*livekit.Room, *livekit.RoomInternal, bool, error)
func (*FakeRoomAllocator) CreateRoomArgsForCall ¶
func (fake *FakeRoomAllocator) CreateRoomArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest, bool)
func (*FakeRoomAllocator) CreateRoomCallCount ¶
func (fake *FakeRoomAllocator) CreateRoomCallCount() int
func (*FakeRoomAllocator) CreateRoomCalls ¶
func (fake *FakeRoomAllocator) CreateRoomCalls(stub func(context.Context, *livekit.CreateRoomRequest, bool) (*livekit.Room, *livekit.RoomInternal, bool, error))
func (*FakeRoomAllocator) CreateRoomEnabled ¶
func (fake *FakeRoomAllocator) CreateRoomEnabled() bool
func (*FakeRoomAllocator) CreateRoomEnabledCallCount ¶
func (fake *FakeRoomAllocator) CreateRoomEnabledCallCount() int
func (*FakeRoomAllocator) CreateRoomEnabledCalls ¶
func (fake *FakeRoomAllocator) CreateRoomEnabledCalls(stub func() bool)
func (*FakeRoomAllocator) CreateRoomEnabledReturns ¶
func (fake *FakeRoomAllocator) CreateRoomEnabledReturns(result1 bool)
func (*FakeRoomAllocator) CreateRoomEnabledReturnsOnCall ¶
func (fake *FakeRoomAllocator) CreateRoomEnabledReturnsOnCall(i int, result1 bool)
func (*FakeRoomAllocator) CreateRoomReturns ¶
func (fake *FakeRoomAllocator) CreateRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 bool, result4 error)
func (*FakeRoomAllocator) CreateRoomReturnsOnCall ¶
func (fake *FakeRoomAllocator) CreateRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 bool, result4 error)
func (*FakeRoomAllocator) Invocations ¶
func (fake *FakeRoomAllocator) Invocations() map[string][][]interface{}
func (*FakeRoomAllocator) SelectRoomNode ¶
func (*FakeRoomAllocator) SelectRoomNodeArgsForCall ¶
func (*FakeRoomAllocator) SelectRoomNodeCallCount ¶
func (fake *FakeRoomAllocator) SelectRoomNodeCallCount() int
func (*FakeRoomAllocator) SelectRoomNodeCalls ¶
func (*FakeRoomAllocator) SelectRoomNodeReturns ¶
func (fake *FakeRoomAllocator) SelectRoomNodeReturns(result1 error)
func (*FakeRoomAllocator) SelectRoomNodeReturnsOnCall ¶
func (fake *FakeRoomAllocator) SelectRoomNodeReturnsOnCall(i int, result1 error)
func (*FakeRoomAllocator) ValidateCreateRoom ¶
func (*FakeRoomAllocator) ValidateCreateRoomArgsForCall ¶
func (*FakeRoomAllocator) ValidateCreateRoomCallCount ¶
func (fake *FakeRoomAllocator) ValidateCreateRoomCallCount() int
func (*FakeRoomAllocator) ValidateCreateRoomCalls ¶
func (*FakeRoomAllocator) ValidateCreateRoomReturns ¶
func (fake *FakeRoomAllocator) ValidateCreateRoomReturns(result1 error)
func (*FakeRoomAllocator) ValidateCreateRoomReturnsOnCall ¶
func (fake *FakeRoomAllocator) ValidateCreateRoomReturnsOnCall(i int, result1 error)
type FakeSIPStore ¶
type FakeSIPStore struct { DeleteSIPDispatchRuleStub func(context.Context, *livekit.SIPDispatchRuleInfo) error DeleteSIPTrunkStub func(context.Context, string) error ListSIPDispatchRuleStub func(context.Context) ([]*livekit.SIPDispatchRuleInfo, error) ListSIPInboundTrunkStub func(context.Context) ([]*livekit.SIPInboundTrunkInfo, error) ListSIPOutboundTrunkStub func(context.Context) ([]*livekit.SIPOutboundTrunkInfo, error) ListSIPTrunkStub func(context.Context) ([]*livekit.SIPTrunkInfo, error) LoadSIPDispatchRuleStub func(context.Context, string) (*livekit.SIPDispatchRuleInfo, error) LoadSIPInboundTrunkStub func(context.Context, string) (*livekit.SIPInboundTrunkInfo, error) LoadSIPOutboundTrunkStub func(context.Context, string) (*livekit.SIPOutboundTrunkInfo, error) LoadSIPTrunkStub func(context.Context, string) (*livekit.SIPTrunkInfo, error) StoreSIPDispatchRuleStub func(context.Context, *livekit.SIPDispatchRuleInfo) error StoreSIPInboundTrunkStub func(context.Context, *livekit.SIPInboundTrunkInfo) error StoreSIPOutboundTrunkStub func(context.Context, *livekit.SIPOutboundTrunkInfo) error StoreSIPTrunkStub func(context.Context, *livekit.SIPTrunkInfo) error // contains filtered or unexported fields }
func (*FakeSIPStore) DeleteSIPDispatchRule ¶
func (fake *FakeSIPStore) DeleteSIPDispatchRule(arg1 context.Context, arg2 *livekit.SIPDispatchRuleInfo) error
func (*FakeSIPStore) DeleteSIPDispatchRuleArgsForCall ¶
func (fake *FakeSIPStore) DeleteSIPDispatchRuleArgsForCall(i int) (context.Context, *livekit.SIPDispatchRuleInfo)
func (*FakeSIPStore) DeleteSIPDispatchRuleCallCount ¶
func (fake *FakeSIPStore) DeleteSIPDispatchRuleCallCount() int
func (*FakeSIPStore) DeleteSIPDispatchRuleCalls ¶
func (fake *FakeSIPStore) DeleteSIPDispatchRuleCalls(stub func(context.Context, *livekit.SIPDispatchRuleInfo) error)
func (*FakeSIPStore) DeleteSIPDispatchRuleReturns ¶
func (fake *FakeSIPStore) DeleteSIPDispatchRuleReturns(result1 error)
func (*FakeSIPStore) DeleteSIPDispatchRuleReturnsOnCall ¶
func (fake *FakeSIPStore) DeleteSIPDispatchRuleReturnsOnCall(i int, result1 error)
func (*FakeSIPStore) DeleteSIPTrunk ¶
func (fake *FakeSIPStore) DeleteSIPTrunk(arg1 context.Context, arg2 string) error
func (*FakeSIPStore) DeleteSIPTrunkArgsForCall ¶
func (fake *FakeSIPStore) DeleteSIPTrunkArgsForCall(i int) (context.Context, string)
func (*FakeSIPStore) DeleteSIPTrunkCallCount ¶
func (fake *FakeSIPStore) DeleteSIPTrunkCallCount() int
func (*FakeSIPStore) DeleteSIPTrunkCalls ¶
func (fake *FakeSIPStore) DeleteSIPTrunkCalls(stub func(context.Context, string) error)
func (*FakeSIPStore) DeleteSIPTrunkReturns ¶
func (fake *FakeSIPStore) DeleteSIPTrunkReturns(result1 error)
func (*FakeSIPStore) DeleteSIPTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) DeleteSIPTrunkReturnsOnCall(i int, result1 error)
func (*FakeSIPStore) Invocations ¶
func (fake *FakeSIPStore) Invocations() map[string][][]interface{}
func (*FakeSIPStore) ListSIPDispatchRule ¶
func (fake *FakeSIPStore) ListSIPDispatchRule(arg1 context.Context) ([]*livekit.SIPDispatchRuleInfo, error)
func (*FakeSIPStore) ListSIPDispatchRuleArgsForCall ¶
func (fake *FakeSIPStore) ListSIPDispatchRuleArgsForCall(i int) context.Context
func (*FakeSIPStore) ListSIPDispatchRuleCallCount ¶
func (fake *FakeSIPStore) ListSIPDispatchRuleCallCount() int
func (*FakeSIPStore) ListSIPDispatchRuleCalls ¶
func (fake *FakeSIPStore) ListSIPDispatchRuleCalls(stub func(context.Context) ([]*livekit.SIPDispatchRuleInfo, error))
func (*FakeSIPStore) ListSIPDispatchRuleReturns ¶
func (fake *FakeSIPStore) ListSIPDispatchRuleReturns(result1 []*livekit.SIPDispatchRuleInfo, result2 error)
func (*FakeSIPStore) ListSIPDispatchRuleReturnsOnCall ¶
func (fake *FakeSIPStore) ListSIPDispatchRuleReturnsOnCall(i int, result1 []*livekit.SIPDispatchRuleInfo, result2 error)
func (*FakeSIPStore) ListSIPInboundTrunk ¶
func (fake *FakeSIPStore) ListSIPInboundTrunk(arg1 context.Context) ([]*livekit.SIPInboundTrunkInfo, error)
func (*FakeSIPStore) ListSIPInboundTrunkArgsForCall ¶
func (fake *FakeSIPStore) ListSIPInboundTrunkArgsForCall(i int) context.Context
func (*FakeSIPStore) ListSIPInboundTrunkCallCount ¶
func (fake *FakeSIPStore) ListSIPInboundTrunkCallCount() int
func (*FakeSIPStore) ListSIPInboundTrunkCalls ¶
func (fake *FakeSIPStore) ListSIPInboundTrunkCalls(stub func(context.Context) ([]*livekit.SIPInboundTrunkInfo, error))
func (*FakeSIPStore) ListSIPInboundTrunkReturns ¶
func (fake *FakeSIPStore) ListSIPInboundTrunkReturns(result1 []*livekit.SIPInboundTrunkInfo, result2 error)
func (*FakeSIPStore) ListSIPInboundTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) ListSIPInboundTrunkReturnsOnCall(i int, result1 []*livekit.SIPInboundTrunkInfo, result2 error)
func (*FakeSIPStore) ListSIPOutboundTrunk ¶
func (fake *FakeSIPStore) ListSIPOutboundTrunk(arg1 context.Context) ([]*livekit.SIPOutboundTrunkInfo, error)
func (*FakeSIPStore) ListSIPOutboundTrunkArgsForCall ¶
func (fake *FakeSIPStore) ListSIPOutboundTrunkArgsForCall(i int) context.Context
func (*FakeSIPStore) ListSIPOutboundTrunkCallCount ¶
func (fake *FakeSIPStore) ListSIPOutboundTrunkCallCount() int
func (*FakeSIPStore) ListSIPOutboundTrunkCalls ¶
func (fake *FakeSIPStore) ListSIPOutboundTrunkCalls(stub func(context.Context) ([]*livekit.SIPOutboundTrunkInfo, error))
func (*FakeSIPStore) ListSIPOutboundTrunkReturns ¶
func (fake *FakeSIPStore) ListSIPOutboundTrunkReturns(result1 []*livekit.SIPOutboundTrunkInfo, result2 error)
func (*FakeSIPStore) ListSIPOutboundTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) ListSIPOutboundTrunkReturnsOnCall(i int, result1 []*livekit.SIPOutboundTrunkInfo, result2 error)
func (*FakeSIPStore) ListSIPTrunk ¶
func (fake *FakeSIPStore) ListSIPTrunk(arg1 context.Context) ([]*livekit.SIPTrunkInfo, error)
func (*FakeSIPStore) ListSIPTrunkArgsForCall ¶
func (fake *FakeSIPStore) ListSIPTrunkArgsForCall(i int) context.Context
func (*FakeSIPStore) ListSIPTrunkCallCount ¶
func (fake *FakeSIPStore) ListSIPTrunkCallCount() int
func (*FakeSIPStore) ListSIPTrunkCalls ¶
func (fake *FakeSIPStore) ListSIPTrunkCalls(stub func(context.Context) ([]*livekit.SIPTrunkInfo, error))
func (*FakeSIPStore) ListSIPTrunkReturns ¶
func (fake *FakeSIPStore) ListSIPTrunkReturns(result1 []*livekit.SIPTrunkInfo, result2 error)
func (*FakeSIPStore) ListSIPTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) ListSIPTrunkReturnsOnCall(i int, result1 []*livekit.SIPTrunkInfo, result2 error)
func (*FakeSIPStore) LoadSIPDispatchRule ¶
func (fake *FakeSIPStore) LoadSIPDispatchRule(arg1 context.Context, arg2 string) (*livekit.SIPDispatchRuleInfo, error)
func (*FakeSIPStore) LoadSIPDispatchRuleArgsForCall ¶
func (fake *FakeSIPStore) LoadSIPDispatchRuleArgsForCall(i int) (context.Context, string)
func (*FakeSIPStore) LoadSIPDispatchRuleCallCount ¶
func (fake *FakeSIPStore) LoadSIPDispatchRuleCallCount() int
func (*FakeSIPStore) LoadSIPDispatchRuleCalls ¶
func (fake *FakeSIPStore) LoadSIPDispatchRuleCalls(stub func(context.Context, string) (*livekit.SIPDispatchRuleInfo, error))
func (*FakeSIPStore) LoadSIPDispatchRuleReturns ¶
func (fake *FakeSIPStore) LoadSIPDispatchRuleReturns(result1 *livekit.SIPDispatchRuleInfo, result2 error)
func (*FakeSIPStore) LoadSIPDispatchRuleReturnsOnCall ¶
func (fake *FakeSIPStore) LoadSIPDispatchRuleReturnsOnCall(i int, result1 *livekit.SIPDispatchRuleInfo, result2 error)
func (*FakeSIPStore) LoadSIPInboundTrunk ¶
func (fake *FakeSIPStore) LoadSIPInboundTrunk(arg1 context.Context, arg2 string) (*livekit.SIPInboundTrunkInfo, error)
func (*FakeSIPStore) LoadSIPInboundTrunkArgsForCall ¶
func (fake *FakeSIPStore) LoadSIPInboundTrunkArgsForCall(i int) (context.Context, string)
func (*FakeSIPStore) LoadSIPInboundTrunkCallCount ¶
func (fake *FakeSIPStore) LoadSIPInboundTrunkCallCount() int
func (*FakeSIPStore) LoadSIPInboundTrunkCalls ¶
func (fake *FakeSIPStore) LoadSIPInboundTrunkCalls(stub func(context.Context, string) (*livekit.SIPInboundTrunkInfo, error))
func (*FakeSIPStore) LoadSIPInboundTrunkReturns ¶
func (fake *FakeSIPStore) LoadSIPInboundTrunkReturns(result1 *livekit.SIPInboundTrunkInfo, result2 error)
func (*FakeSIPStore) LoadSIPInboundTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) LoadSIPInboundTrunkReturnsOnCall(i int, result1 *livekit.SIPInboundTrunkInfo, result2 error)
func (*FakeSIPStore) LoadSIPOutboundTrunk ¶
func (fake *FakeSIPStore) LoadSIPOutboundTrunk(arg1 context.Context, arg2 string) (*livekit.SIPOutboundTrunkInfo, error)
func (*FakeSIPStore) LoadSIPOutboundTrunkArgsForCall ¶
func (fake *FakeSIPStore) LoadSIPOutboundTrunkArgsForCall(i int) (context.Context, string)
func (*FakeSIPStore) LoadSIPOutboundTrunkCallCount ¶
func (fake *FakeSIPStore) LoadSIPOutboundTrunkCallCount() int
func (*FakeSIPStore) LoadSIPOutboundTrunkCalls ¶
func (fake *FakeSIPStore) LoadSIPOutboundTrunkCalls(stub func(context.Context, string) (*livekit.SIPOutboundTrunkInfo, error))
func (*FakeSIPStore) LoadSIPOutboundTrunkReturns ¶
func (fake *FakeSIPStore) LoadSIPOutboundTrunkReturns(result1 *livekit.SIPOutboundTrunkInfo, result2 error)
func (*FakeSIPStore) LoadSIPOutboundTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) LoadSIPOutboundTrunkReturnsOnCall(i int, result1 *livekit.SIPOutboundTrunkInfo, result2 error)
func (*FakeSIPStore) LoadSIPTrunk ¶
func (fake *FakeSIPStore) LoadSIPTrunk(arg1 context.Context, arg2 string) (*livekit.SIPTrunkInfo, error)
func (*FakeSIPStore) LoadSIPTrunkArgsForCall ¶
func (fake *FakeSIPStore) LoadSIPTrunkArgsForCall(i int) (context.Context, string)
func (*FakeSIPStore) LoadSIPTrunkCallCount ¶
func (fake *FakeSIPStore) LoadSIPTrunkCallCount() int
func (*FakeSIPStore) LoadSIPTrunkCalls ¶
func (fake *FakeSIPStore) LoadSIPTrunkCalls(stub func(context.Context, string) (*livekit.SIPTrunkInfo, error))
func (*FakeSIPStore) LoadSIPTrunkReturns ¶
func (fake *FakeSIPStore) LoadSIPTrunkReturns(result1 *livekit.SIPTrunkInfo, result2 error)
func (*FakeSIPStore) LoadSIPTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) LoadSIPTrunkReturnsOnCall(i int, result1 *livekit.SIPTrunkInfo, result2 error)
func (*FakeSIPStore) StoreSIPDispatchRule ¶
func (fake *FakeSIPStore) StoreSIPDispatchRule(arg1 context.Context, arg2 *livekit.SIPDispatchRuleInfo) error
func (*FakeSIPStore) StoreSIPDispatchRuleArgsForCall ¶
func (fake *FakeSIPStore) StoreSIPDispatchRuleArgsForCall(i int) (context.Context, *livekit.SIPDispatchRuleInfo)
func (*FakeSIPStore) StoreSIPDispatchRuleCallCount ¶
func (fake *FakeSIPStore) StoreSIPDispatchRuleCallCount() int
func (*FakeSIPStore) StoreSIPDispatchRuleCalls ¶
func (fake *FakeSIPStore) StoreSIPDispatchRuleCalls(stub func(context.Context, *livekit.SIPDispatchRuleInfo) error)
func (*FakeSIPStore) StoreSIPDispatchRuleReturns ¶
func (fake *FakeSIPStore) StoreSIPDispatchRuleReturns(result1 error)
func (*FakeSIPStore) StoreSIPDispatchRuleReturnsOnCall ¶
func (fake *FakeSIPStore) StoreSIPDispatchRuleReturnsOnCall(i int, result1 error)
func (*FakeSIPStore) StoreSIPInboundTrunk ¶
func (fake *FakeSIPStore) StoreSIPInboundTrunk(arg1 context.Context, arg2 *livekit.SIPInboundTrunkInfo) error
func (*FakeSIPStore) StoreSIPInboundTrunkArgsForCall ¶
func (fake *FakeSIPStore) StoreSIPInboundTrunkArgsForCall(i int) (context.Context, *livekit.SIPInboundTrunkInfo)
func (*FakeSIPStore) StoreSIPInboundTrunkCallCount ¶
func (fake *FakeSIPStore) StoreSIPInboundTrunkCallCount() int
func (*FakeSIPStore) StoreSIPInboundTrunkCalls ¶
func (fake *FakeSIPStore) StoreSIPInboundTrunkCalls(stub func(context.Context, *livekit.SIPInboundTrunkInfo) error)
func (*FakeSIPStore) StoreSIPInboundTrunkReturns ¶
func (fake *FakeSIPStore) StoreSIPInboundTrunkReturns(result1 error)
func (*FakeSIPStore) StoreSIPInboundTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) StoreSIPInboundTrunkReturnsOnCall(i int, result1 error)
func (*FakeSIPStore) StoreSIPOutboundTrunk ¶
func (fake *FakeSIPStore) StoreSIPOutboundTrunk(arg1 context.Context, arg2 *livekit.SIPOutboundTrunkInfo) error
func (*FakeSIPStore) StoreSIPOutboundTrunkArgsForCall ¶
func (fake *FakeSIPStore) StoreSIPOutboundTrunkArgsForCall(i int) (context.Context, *livekit.SIPOutboundTrunkInfo)
func (*FakeSIPStore) StoreSIPOutboundTrunkCallCount ¶
func (fake *FakeSIPStore) StoreSIPOutboundTrunkCallCount() int
func (*FakeSIPStore) StoreSIPOutboundTrunkCalls ¶
func (fake *FakeSIPStore) StoreSIPOutboundTrunkCalls(stub func(context.Context, *livekit.SIPOutboundTrunkInfo) error)
func (*FakeSIPStore) StoreSIPOutboundTrunkReturns ¶
func (fake *FakeSIPStore) StoreSIPOutboundTrunkReturns(result1 error)
func (*FakeSIPStore) StoreSIPOutboundTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) StoreSIPOutboundTrunkReturnsOnCall(i int, result1 error)
func (*FakeSIPStore) StoreSIPTrunk ¶
func (fake *FakeSIPStore) StoreSIPTrunk(arg1 context.Context, arg2 *livekit.SIPTrunkInfo) error
func (*FakeSIPStore) StoreSIPTrunkArgsForCall ¶
func (fake *FakeSIPStore) StoreSIPTrunkArgsForCall(i int) (context.Context, *livekit.SIPTrunkInfo)
func (*FakeSIPStore) StoreSIPTrunkCallCount ¶
func (fake *FakeSIPStore) StoreSIPTrunkCallCount() int
func (*FakeSIPStore) StoreSIPTrunkCalls ¶
func (fake *FakeSIPStore) StoreSIPTrunkCalls(stub func(context.Context, *livekit.SIPTrunkInfo) error)
func (*FakeSIPStore) StoreSIPTrunkReturns ¶
func (fake *FakeSIPStore) StoreSIPTrunkReturns(result1 error)
func (*FakeSIPStore) StoreSIPTrunkReturnsOnCall ¶
func (fake *FakeSIPStore) StoreSIPTrunkReturnsOnCall(i int, result1 error)
type FakeServiceStore ¶
type FakeServiceStore struct { DeleteRoomStub func(context.Context, livekit.RoomName) error ListParticipantsStub func(context.Context, livekit.RoomName) ([]*livekit.ParticipantInfo, error) ListRoomsStub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error) LoadParticipantStub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error) LoadRoomStub func(context.Context, livekit.RoomName, bool) (*livekit.Room, *livekit.RoomInternal, error) // contains filtered or unexported fields }
func (*FakeServiceStore) DeleteRoom ¶
func (*FakeServiceStore) DeleteRoomArgsForCall ¶
func (*FakeServiceStore) DeleteRoomCallCount ¶
func (fake *FakeServiceStore) DeleteRoomCallCount() int
func (*FakeServiceStore) DeleteRoomCalls ¶
func (*FakeServiceStore) DeleteRoomReturns ¶
func (fake *FakeServiceStore) DeleteRoomReturns(result1 error)
func (*FakeServiceStore) DeleteRoomReturnsOnCall ¶
func (fake *FakeServiceStore) DeleteRoomReturnsOnCall(i int, result1 error)
func (*FakeServiceStore) Invocations ¶
func (fake *FakeServiceStore) Invocations() map[string][][]interface{}
func (*FakeServiceStore) ListParticipants ¶
func (fake *FakeServiceStore) ListParticipants(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.ParticipantInfo, error)
func (*FakeServiceStore) ListParticipantsArgsForCall ¶
func (*FakeServiceStore) ListParticipantsCallCount ¶
func (fake *FakeServiceStore) ListParticipantsCallCount() int
func (*FakeServiceStore) ListParticipantsCalls ¶
func (fake *FakeServiceStore) ListParticipantsCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.ParticipantInfo, error))
func (*FakeServiceStore) ListParticipantsReturns ¶
func (fake *FakeServiceStore) ListParticipantsReturns(result1 []*livekit.ParticipantInfo, result2 error)
func (*FakeServiceStore) ListParticipantsReturnsOnCall ¶
func (fake *FakeServiceStore) ListParticipantsReturnsOnCall(i int, result1 []*livekit.ParticipantInfo, result2 error)
func (*FakeServiceStore) ListRoomsArgsForCall ¶
func (*FakeServiceStore) ListRoomsCallCount ¶
func (fake *FakeServiceStore) ListRoomsCallCount() int
func (*FakeServiceStore) ListRoomsCalls ¶
func (*FakeServiceStore) ListRoomsReturns ¶
func (fake *FakeServiceStore) ListRoomsReturns(result1 []*livekit.Room, result2 error)
func (*FakeServiceStore) ListRoomsReturnsOnCall ¶
func (fake *FakeServiceStore) ListRoomsReturnsOnCall(i int, result1 []*livekit.Room, result2 error)
func (*FakeServiceStore) LoadParticipant ¶
func (fake *FakeServiceStore) LoadParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error)
func (*FakeServiceStore) LoadParticipantArgsForCall ¶
func (fake *FakeServiceStore) LoadParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)
func (*FakeServiceStore) LoadParticipantCallCount ¶
func (fake *FakeServiceStore) LoadParticipantCallCount() int
func (*FakeServiceStore) LoadParticipantCalls ¶
func (fake *FakeServiceStore) LoadParticipantCalls(stub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error))
func (*FakeServiceStore) LoadParticipantReturns ¶
func (fake *FakeServiceStore) LoadParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)
func (*FakeServiceStore) LoadParticipantReturnsOnCall ¶
func (fake *FakeServiceStore) LoadParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)
func (*FakeServiceStore) LoadRoomArgsForCall ¶
func (*FakeServiceStore) LoadRoomCallCount ¶
func (fake *FakeServiceStore) LoadRoomCallCount() int
func (*FakeServiceStore) LoadRoomCalls ¶
func (*FakeServiceStore) LoadRoomReturns ¶
func (fake *FakeServiceStore) LoadRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
func (*FakeServiceStore) LoadRoomReturnsOnCall ¶
func (fake *FakeServiceStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)
type FakeSessionHandler ¶
type FakeSessionHandler struct { HandleSessionStub func(context.Context, *livekit.CreateRoomRequest, routing.ParticipantInit, livekit.ConnectionID, routing.MessageSource, routing.MessageSink) error LoggerStub func(context.Context) logger.Logger // contains filtered or unexported fields }
func (*FakeSessionHandler) HandleSession ¶
func (fake *FakeSessionHandler) HandleSession(arg1 context.Context, arg2 *livekit.CreateRoomRequest, arg3 routing.ParticipantInit, arg4 livekit.ConnectionID, arg5 routing.MessageSource, arg6 routing.MessageSink) error
func (*FakeSessionHandler) HandleSessionArgsForCall ¶
func (fake *FakeSessionHandler) HandleSessionArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest, routing.ParticipantInit, livekit.ConnectionID, routing.MessageSource, routing.MessageSink)
func (*FakeSessionHandler) HandleSessionCallCount ¶
func (fake *FakeSessionHandler) HandleSessionCallCount() int
func (*FakeSessionHandler) HandleSessionCalls ¶
func (fake *FakeSessionHandler) HandleSessionCalls(stub func(context.Context, *livekit.CreateRoomRequest, routing.ParticipantInit, livekit.ConnectionID, routing.MessageSource, routing.MessageSink) error)
func (*FakeSessionHandler) HandleSessionReturns ¶
func (fake *FakeSessionHandler) HandleSessionReturns(result1 error)
func (*FakeSessionHandler) HandleSessionReturnsOnCall ¶
func (fake *FakeSessionHandler) HandleSessionReturnsOnCall(i int, result1 error)
func (*FakeSessionHandler) Invocations ¶
func (fake *FakeSessionHandler) Invocations() map[string][][]interface{}
func (*FakeSessionHandler) Logger ¶
func (fake *FakeSessionHandler) Logger(arg1 context.Context) logger.Logger
func (*FakeSessionHandler) LoggerArgsForCall ¶
func (fake *FakeSessionHandler) LoggerArgsForCall(i int) context.Context
func (*FakeSessionHandler) LoggerCallCount ¶
func (fake *FakeSessionHandler) LoggerCallCount() int
func (*FakeSessionHandler) LoggerCalls ¶
func (fake *FakeSessionHandler) LoggerCalls(stub func(context.Context) logger.Logger)
func (*FakeSessionHandler) LoggerReturns ¶
func (fake *FakeSessionHandler) LoggerReturns(result1 logger.Logger)
func (*FakeSessionHandler) LoggerReturnsOnCall ¶
func (fake *FakeSessionHandler) LoggerReturnsOnCall(i int, result1 logger.Logger)
Click to show internal directories.
Click to hide internal directories.