servicefakes

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeEgressStore

type FakeEgressStore struct {
	ListEgressStub func(context.Context, livekit.RoomName) ([]*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) ([]*livekit.EgressInfo, error)

func (*FakeEgressStore) ListEgressArgsForCall

func (fake *FakeEgressStore) ListEgressArgsForCall(i int) (context.Context, livekit.RoomName)

func (*FakeEgressStore) ListEgressCallCount

func (fake *FakeEgressStore) ListEgressCallCount() int

func (*FakeEgressStore) ListEgressCalls

func (fake *FakeEgressStore) ListEgressCalls(stub func(context.Context, livekit.RoomName) ([]*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 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 (fake *FakeIngressStore) ListIngressArgsForCall(i int) (context.Context, livekit.RoomName)

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 (fake *FakeObjectStore) DeleteRoom(arg1 context.Context, arg2 livekit.RoomName) error

func (*FakeObjectStore) DeleteRoomArgsForCall

func (fake *FakeObjectStore) DeleteRoomArgsForCall(i int) (context.Context, livekit.RoomName)

func (*FakeObjectStore) DeleteRoomCallCount

func (fake *FakeObjectStore) DeleteRoomCallCount() int

func (*FakeObjectStore) DeleteRoomCalls

func (fake *FakeObjectStore) DeleteRoomCalls(stub func(context.Context, livekit.RoomName) error)

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 (fake *FakeObjectStore) ListParticipantsArgsForCall(i int) (context.Context, livekit.RoomName)

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) ListRooms

func (fake *FakeObjectStore) ListRooms(arg1 context.Context, arg2 []livekit.RoomName) ([]*livekit.Room, error)

func (*FakeObjectStore) ListRoomsArgsForCall

func (fake *FakeObjectStore) ListRoomsArgsForCall(i int) (context.Context, []livekit.RoomName)

func (*FakeObjectStore) ListRoomsCallCount

func (fake *FakeObjectStore) ListRoomsCallCount() int

func (*FakeObjectStore) ListRoomsCalls

func (fake *FakeObjectStore) ListRoomsCalls(stub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error))

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 (*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 (*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) LoadRoom

func (fake *FakeObjectStore) LoadRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) (*livekit.Room, *livekit.RoomInternal, error)

func (*FakeObjectStore) LoadRoomArgsForCall

func (fake *FakeObjectStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName, bool)

func (*FakeObjectStore) LoadRoomCallCount

func (fake *FakeObjectStore) LoadRoomCallCount() int

func (*FakeObjectStore) LoadRoomCalls

func (fake *FakeObjectStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName, bool) (*livekit.Room, *livekit.RoomInternal, error))

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) LockRoom

func (fake *FakeObjectStore) LockRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 time.Duration) (string, error)

func (*FakeObjectStore) LockRoomArgsForCall

func (fake *FakeObjectStore) LockRoomArgsForCall(i int) (context.Context, livekit.RoomName, time.Duration)

func (*FakeObjectStore) LockRoomCallCount

func (fake *FakeObjectStore) LockRoomCallCount() int

func (*FakeObjectStore) LockRoomCalls

func (fake *FakeObjectStore) LockRoomCalls(stub func(context.Context, livekit.RoomName, time.Duration) (string, error))

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 (fake *FakeObjectStore) UnlockRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 string) error

func (*FakeObjectStore) UnlockRoomArgsForCall

func (fake *FakeObjectStore) UnlockRoomArgsForCall(i int) (context.Context, livekit.RoomName, string)

func (*FakeObjectStore) UnlockRoomCallCount

func (fake *FakeObjectStore) UnlockRoomCallCount() int

func (*FakeObjectStore) UnlockRoomCalls

func (fake *FakeObjectStore) UnlockRoomCalls(stub func(context.Context, livekit.RoomName, string) error)

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) (*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, bool) (*livekit.Room, *livekit.RoomInternal, 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 (fake *FakeServiceStore) ListParticipantsArgsForCall(i int) (context.Context, livekit.RoomName)

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) ListRooms

func (fake *FakeServiceStore) ListRooms(arg1 context.Context, arg2 []livekit.RoomName) ([]*livekit.Room, error)

func (*FakeServiceStore) ListRoomsArgsForCall

func (fake *FakeServiceStore) ListRoomsArgsForCall(i int) (context.Context, []livekit.RoomName)

func (*FakeServiceStore) ListRoomsCallCount

func (fake *FakeServiceStore) ListRoomsCallCount() int

func (*FakeServiceStore) ListRoomsCalls

func (fake *FakeServiceStore) ListRoomsCalls(stub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error))

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 (*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 (*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) LoadRoom

func (fake *FakeServiceStore) LoadRoom(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) (*livekit.Room, *livekit.RoomInternal, error)

func (*FakeServiceStore) LoadRoomArgsForCall

func (fake *FakeServiceStore) LoadRoomArgsForCall(i int) (context.Context, livekit.RoomName, bool)

func (*FakeServiceStore) LoadRoomCallCount

func (fake *FakeServiceStore) LoadRoomCallCount() int

func (*FakeServiceStore) LoadRoomCalls

func (fake *FakeServiceStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName, bool) (*livekit.Room, *livekit.RoomInternal, error))

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)

Jump to

Keyboard shortcuts

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