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 ¶
- type FakeEgressStore
- func (fake *FakeEgressStore) DeleteEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
- func (fake *FakeEgressStore) DeleteEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeEgressStore) DeleteEgressCallCount() int
- func (fake *FakeEgressStore) DeleteEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
- func (fake *FakeEgressStore) DeleteEgressReturns(result1 error)
- func (fake *FakeEgressStore) DeleteEgressReturnsOnCall(i int, result1 error)
- func (fake *FakeEgressStore) Invocations() map[string][][]interface{}
- func (fake *FakeEgressStore) ListEgress(arg1 context.Context, arg2 livekit.RoomID) ([]*livekit.EgressInfo, error)
- func (fake *FakeEgressStore) ListEgressArgsForCall(i int) (context.Context, livekit.RoomID)
- func (fake *FakeEgressStore) ListEgressCallCount() int
- func (fake *FakeEgressStore) ListEgressCalls(stub func(context.Context, livekit.RoomID) ([]*livekit.EgressInfo, error))
- 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) LoadRoom(arg1 context.Context, arg2 livekit.RoomName) (*livekit.Room, error)
- func (fake *FakeEgressStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeEgressStore) LoadRoomCallCount() int
- func (fake *FakeEgressStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName) (*livekit.Room, error))
- func (fake *FakeEgressStore) LoadRoomReturns(result1 *livekit.Room, result2 error)
- func (fake *FakeEgressStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, 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 FakeObjectStore
- func (fake *FakeObjectStore) DeleteEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
- func (fake *FakeObjectStore) DeleteEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeObjectStore) DeleteEgressCallCount() int
- func (fake *FakeObjectStore) DeleteEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
- func (fake *FakeObjectStore) DeleteEgressReturns(result1 error)
- func (fake *FakeObjectStore) DeleteEgressReturnsOnCall(i int, result1 error)
- 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) ListEgress(arg1 context.Context, arg2 livekit.RoomID) ([]*livekit.EgressInfo, error)
- func (fake *FakeObjectStore) ListEgressArgsForCall(i int) (context.Context, livekit.RoomID)
- func (fake *FakeObjectStore) ListEgressCallCount() int
- func (fake *FakeObjectStore) ListEgressCalls(stub func(context.Context, livekit.RoomID) ([]*livekit.EgressInfo, error))
- func (fake *FakeObjectStore) ListEgressReturns(result1 []*livekit.EgressInfo, result2 error)
- func (fake *FakeObjectStore) ListEgressReturnsOnCall(i int, result1 []*livekit.EgressInfo, result2 error)
- 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) LoadEgress(arg1 context.Context, arg2 string) (*livekit.EgressInfo, error)
- func (fake *FakeObjectStore) LoadEgressArgsForCall(i int) (context.Context, string)
- func (fake *FakeObjectStore) LoadEgressCallCount() int
- func (fake *FakeObjectStore) LoadEgressCalls(stub func(context.Context, string) (*livekit.EgressInfo, error))
- func (fake *FakeObjectStore) LoadEgressReturns(result1 *livekit.EgressInfo, result2 error)
- func (fake *FakeObjectStore) LoadEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, 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) (*livekit.Room, error)
- func (fake *FakeObjectStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeObjectStore) LoadRoomCallCount() int
- func (fake *FakeObjectStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName) (*livekit.Room, error))
- func (fake *FakeObjectStore) LoadRoomReturns(result1 *livekit.Room, result2 error)
- func (fake *FakeObjectStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 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) StoreEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
- func (fake *FakeObjectStore) StoreEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeObjectStore) StoreEgressCallCount() int
- func (fake *FakeObjectStore) StoreEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
- func (fake *FakeObjectStore) StoreEgressReturns(result1 error)
- func (fake *FakeObjectStore) StoreEgressReturnsOnCall(i int, result1 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) error
- func (fake *FakeObjectStore) StoreRoomArgsForCall(i int) (context.Context, *livekit.Room)
- func (fake *FakeObjectStore) StoreRoomCallCount() int
- func (fake *FakeObjectStore) StoreRoomCalls(stub func(context.Context, *livekit.Room) 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)
- func (fake *FakeObjectStore) UpdateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
- func (fake *FakeObjectStore) UpdateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
- func (fake *FakeObjectStore) UpdateEgressCallCount() int
- func (fake *FakeObjectStore) UpdateEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
- func (fake *FakeObjectStore) UpdateEgressReturns(result1 error)
- func (fake *FakeObjectStore) UpdateEgressReturnsOnCall(i int, result1 error)
- type FakeRoomAllocator
- func (fake *FakeRoomAllocator) CreateRoom(arg1 context.Context, arg2 *livekit.CreateRoomRequest) (*livekit.Room, error)
- func (fake *FakeRoomAllocator) CreateRoomArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest)
- func (fake *FakeRoomAllocator) CreateRoomCallCount() int
- func (fake *FakeRoomAllocator) CreateRoomCalls(stub func(context.Context, *livekit.CreateRoomRequest) (*livekit.Room, error))
- func (fake *FakeRoomAllocator) CreateRoomReturns(result1 *livekit.Room, result2 error)
- func (fake *FakeRoomAllocator) CreateRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)
- func (fake *FakeRoomAllocator) Invocations() map[string][][]interface{}
- type FakeServiceStore
- 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) (*livekit.Room, error)
- func (fake *FakeServiceStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName)
- func (fake *FakeServiceStore) LoadRoomCallCount() int
- func (fake *FakeServiceStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName) (*livekit.Room, error))
- func (fake *FakeServiceStore) LoadRoomReturns(result1 *livekit.Room, result2 error)
- func (fake *FakeServiceStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEgressStore ¶
type FakeEgressStore struct { DeleteEgressStub func(context.Context, *livekit.EgressInfo) error ListEgressStub func(context.Context, livekit.RoomID) ([]*livekit.EgressInfo, error) LoadEgressStub func(context.Context, string) (*livekit.EgressInfo, error) LoadRoomStub func(context.Context, livekit.RoomName) (*livekit.Room, error) StoreEgressStub func(context.Context, *livekit.EgressInfo) error UpdateEgressStub func(context.Context, *livekit.EgressInfo) error // contains filtered or unexported fields }
func (*FakeEgressStore) DeleteEgress ¶
func (fake *FakeEgressStore) DeleteEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
func (*FakeEgressStore) DeleteEgressArgsForCall ¶
func (fake *FakeEgressStore) DeleteEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeEgressStore) DeleteEgressCallCount ¶
func (fake *FakeEgressStore) DeleteEgressCallCount() int
func (*FakeEgressStore) DeleteEgressCalls ¶
func (fake *FakeEgressStore) DeleteEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
func (*FakeEgressStore) DeleteEgressReturns ¶
func (fake *FakeEgressStore) DeleteEgressReturns(result1 error)
func (*FakeEgressStore) DeleteEgressReturnsOnCall ¶
func (fake *FakeEgressStore) DeleteEgressReturnsOnCall(i int, result1 error)
func (*FakeEgressStore) Invocations ¶
func (fake *FakeEgressStore) Invocations() map[string][][]interface{}
func (*FakeEgressStore) ListEgress ¶
func (fake *FakeEgressStore) ListEgress(arg1 context.Context, arg2 livekit.RoomID) ([]*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.RoomID) ([]*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) LoadRoomArgsForCall ¶
func (*FakeEgressStore) LoadRoomCallCount ¶
func (fake *FakeEgressStore) LoadRoomCallCount() int
func (*FakeEgressStore) LoadRoomCalls ¶
func (*FakeEgressStore) LoadRoomReturns ¶
func (fake *FakeEgressStore) LoadRoomReturns(result1 *livekit.Room, result2 error)
func (*FakeEgressStore) LoadRoomReturnsOnCall ¶
func (fake *FakeEgressStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, 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 FakeObjectStore ¶
type FakeObjectStore struct { DeleteEgressStub func(context.Context, *livekit.EgressInfo) error DeleteParticipantStub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) error DeleteRoomStub func(context.Context, livekit.RoomName) error ListEgressStub func(context.Context, livekit.RoomID) ([]*livekit.EgressInfo, error) ListParticipantsStub func(context.Context, livekit.RoomName) ([]*livekit.ParticipantInfo, error) ListRoomsStub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error) LoadEgressStub func(context.Context, string) (*livekit.EgressInfo, error) LoadParticipantStub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error) LoadRoomStub func(context.Context, livekit.RoomName) (*livekit.Room, error) LockRoomStub func(context.Context, livekit.RoomName, time.Duration) (string, error) StoreEgressStub func(context.Context, *livekit.EgressInfo) error StoreParticipantStub func(context.Context, livekit.RoomName, *livekit.ParticipantInfo) error StoreRoomStub func(context.Context, *livekit.Room) error UnlockRoomStub func(context.Context, livekit.RoomName, string) error UpdateEgressStub func(context.Context, *livekit.EgressInfo) error // contains filtered or unexported fields }
func (*FakeObjectStore) DeleteEgress ¶
func (fake *FakeObjectStore) DeleteEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
func (*FakeObjectStore) DeleteEgressArgsForCall ¶
func (fake *FakeObjectStore) DeleteEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeObjectStore) DeleteEgressCallCount ¶
func (fake *FakeObjectStore) DeleteEgressCallCount() int
func (*FakeObjectStore) DeleteEgressCalls ¶
func (fake *FakeObjectStore) DeleteEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
func (*FakeObjectStore) DeleteEgressReturns ¶
func (fake *FakeObjectStore) DeleteEgressReturns(result1 error)
func (*FakeObjectStore) DeleteEgressReturnsOnCall ¶
func (fake *FakeObjectStore) DeleteEgressReturnsOnCall(i int, result1 error)
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) ListEgress ¶
func (fake *FakeObjectStore) ListEgress(arg1 context.Context, arg2 livekit.RoomID) ([]*livekit.EgressInfo, error)
func (*FakeObjectStore) ListEgressArgsForCall ¶
func (*FakeObjectStore) ListEgressCallCount ¶
func (fake *FakeObjectStore) ListEgressCallCount() int
func (*FakeObjectStore) ListEgressCalls ¶
func (fake *FakeObjectStore) ListEgressCalls(stub func(context.Context, livekit.RoomID) ([]*livekit.EgressInfo, error))
func (*FakeObjectStore) ListEgressReturns ¶
func (fake *FakeObjectStore) ListEgressReturns(result1 []*livekit.EgressInfo, result2 error)
func (*FakeObjectStore) ListEgressReturnsOnCall ¶
func (fake *FakeObjectStore) ListEgressReturnsOnCall(i int, result1 []*livekit.EgressInfo, result2 error)
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) LoadEgress ¶
func (fake *FakeObjectStore) LoadEgress(arg1 context.Context, arg2 string) (*livekit.EgressInfo, error)
func (*FakeObjectStore) LoadEgressArgsForCall ¶
func (fake *FakeObjectStore) LoadEgressArgsForCall(i int) (context.Context, string)
func (*FakeObjectStore) LoadEgressCallCount ¶
func (fake *FakeObjectStore) LoadEgressCallCount() int
func (*FakeObjectStore) LoadEgressCalls ¶
func (fake *FakeObjectStore) LoadEgressCalls(stub func(context.Context, string) (*livekit.EgressInfo, error))
func (*FakeObjectStore) LoadEgressReturns ¶
func (fake *FakeObjectStore) LoadEgressReturns(result1 *livekit.EgressInfo, result2 error)
func (*FakeObjectStore) LoadEgressReturnsOnCall ¶
func (fake *FakeObjectStore) LoadEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, 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 error)
func (*FakeObjectStore) LoadRoomReturnsOnCall ¶
func (fake *FakeObjectStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 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) StoreEgress ¶
func (fake *FakeObjectStore) StoreEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
func (*FakeObjectStore) StoreEgressArgsForCall ¶
func (fake *FakeObjectStore) StoreEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeObjectStore) StoreEgressCallCount ¶
func (fake *FakeObjectStore) StoreEgressCallCount() int
func (*FakeObjectStore) StoreEgressCalls ¶
func (fake *FakeObjectStore) StoreEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
func (*FakeObjectStore) StoreEgressReturns ¶
func (fake *FakeObjectStore) StoreEgressReturns(result1 error)
func (*FakeObjectStore) StoreEgressReturnsOnCall ¶
func (fake *FakeObjectStore) StoreEgressReturnsOnCall(i int, result1 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) StoreRoomArgsForCall ¶
func (*FakeObjectStore) StoreRoomCallCount ¶
func (fake *FakeObjectStore) StoreRoomCallCount() int
func (*FakeObjectStore) StoreRoomCalls ¶
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)
func (*FakeObjectStore) UpdateEgress ¶
func (fake *FakeObjectStore) UpdateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error
func (*FakeObjectStore) UpdateEgressArgsForCall ¶
func (fake *FakeObjectStore) UpdateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)
func (*FakeObjectStore) UpdateEgressCallCount ¶
func (fake *FakeObjectStore) UpdateEgressCallCount() int
func (*FakeObjectStore) UpdateEgressCalls ¶
func (fake *FakeObjectStore) UpdateEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)
func (*FakeObjectStore) UpdateEgressReturns ¶
func (fake *FakeObjectStore) UpdateEgressReturns(result1 error)
func (*FakeObjectStore) UpdateEgressReturnsOnCall ¶
func (fake *FakeObjectStore) UpdateEgressReturnsOnCall(i int, result1 error)
type FakeRoomAllocator ¶
type FakeRoomAllocator struct { CreateRoomStub func(context.Context, *livekit.CreateRoomRequest) (*livekit.Room, error) // contains filtered or unexported fields }
func (*FakeRoomAllocator) CreateRoom ¶
func (fake *FakeRoomAllocator) CreateRoom(arg1 context.Context, arg2 *livekit.CreateRoomRequest) (*livekit.Room, error)
func (*FakeRoomAllocator) CreateRoomArgsForCall ¶
func (fake *FakeRoomAllocator) CreateRoomArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest)
func (*FakeRoomAllocator) CreateRoomCallCount ¶
func (fake *FakeRoomAllocator) CreateRoomCallCount() int
func (*FakeRoomAllocator) CreateRoomCalls ¶
func (fake *FakeRoomAllocator) CreateRoomCalls(stub func(context.Context, *livekit.CreateRoomRequest) (*livekit.Room, error))
func (*FakeRoomAllocator) CreateRoomReturns ¶
func (fake *FakeRoomAllocator) CreateRoomReturns(result1 *livekit.Room, result2 error)
func (*FakeRoomAllocator) CreateRoomReturnsOnCall ¶
func (fake *FakeRoomAllocator) CreateRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)
func (*FakeRoomAllocator) Invocations ¶
func (fake *FakeRoomAllocator) Invocations() map[string][][]interface{}
type FakeServiceStore ¶
type FakeServiceStore struct { 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) (*livekit.Room, error) // contains filtered or unexported fields }
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 error)
func (*FakeServiceStore) LoadRoomReturnsOnCall ¶
func (fake *FakeServiceStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)
Click to show internal directories.
Click to hide internal directories.