servicefakes

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 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 added in v0.15.5

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 added in v0.15.5

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

func (*FakeEgressStore) ListEgress added in v0.15.5

func (fake *FakeEgressStore) ListEgress(arg1 context.Context, arg2 livekit.RoomName, arg3 bool) ([]*livekit.EgressInfo, error)

func (*FakeEgressStore) ListEgressArgsForCall added in v0.15.5

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

func (*FakeEgressStore) ListEgressCallCount added in v0.15.5

func (fake *FakeEgressStore) ListEgressCallCount() int

func (*FakeEgressStore) ListEgressCalls added in v0.15.5

func (fake *FakeEgressStore) ListEgressCalls(stub func(context.Context, livekit.RoomName, bool) ([]*livekit.EgressInfo, error))

func (*FakeEgressStore) ListEgressReturns added in v0.15.5

func (fake *FakeEgressStore) ListEgressReturns(result1 []*livekit.EgressInfo, result2 error)

func (*FakeEgressStore) ListEgressReturnsOnCall added in v0.15.5

func (fake *FakeEgressStore) ListEgressReturnsOnCall(i int, result1 []*livekit.EgressInfo, result2 error)

func (*FakeEgressStore) LoadEgress added in v0.15.5

func (fake *FakeEgressStore) LoadEgress(arg1 context.Context, arg2 string) (*livekit.EgressInfo, error)

func (*FakeEgressStore) LoadEgressArgsForCall added in v0.15.5

func (fake *FakeEgressStore) LoadEgressArgsForCall(i int) (context.Context, string)

func (*FakeEgressStore) LoadEgressCallCount added in v0.15.5

func (fake *FakeEgressStore) LoadEgressCallCount() int

func (*FakeEgressStore) LoadEgressCalls added in v0.15.5

func (fake *FakeEgressStore) LoadEgressCalls(stub func(context.Context, string) (*livekit.EgressInfo, error))

func (*FakeEgressStore) LoadEgressReturns added in v0.15.5

func (fake *FakeEgressStore) LoadEgressReturns(result1 *livekit.EgressInfo, result2 error)

func (*FakeEgressStore) LoadEgressReturnsOnCall added in v0.15.5

func (fake *FakeEgressStore) LoadEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, result2 error)

func (*FakeEgressStore) StoreEgress added in v0.15.5

func (fake *FakeEgressStore) StoreEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error

func (*FakeEgressStore) StoreEgressArgsForCall added in v0.15.5

func (fake *FakeEgressStore) StoreEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)

func (*FakeEgressStore) StoreEgressCallCount added in v0.15.5

func (fake *FakeEgressStore) StoreEgressCallCount() int

func (*FakeEgressStore) StoreEgressCalls added in v0.15.5

func (fake *FakeEgressStore) StoreEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)

func (*FakeEgressStore) StoreEgressReturns added in v0.15.5

func (fake *FakeEgressStore) StoreEgressReturns(result1 error)

func (*FakeEgressStore) StoreEgressReturnsOnCall added in v0.15.5

func (fake *FakeEgressStore) StoreEgressReturnsOnCall(i int, result1 error)

func (*FakeEgressStore) UpdateEgress added in v0.15.5

func (fake *FakeEgressStore) UpdateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) error

func (*FakeEgressStore) UpdateEgressArgsForCall added in v0.15.5

func (fake *FakeEgressStore) UpdateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)

func (*FakeEgressStore) UpdateEgressCallCount added in v0.15.5

func (fake *FakeEgressStore) UpdateEgressCallCount() int

func (*FakeEgressStore) UpdateEgressCalls added in v0.15.5

func (fake *FakeEgressStore) UpdateEgressCalls(stub func(context.Context, *livekit.EgressInfo) error)

func (*FakeEgressStore) UpdateEgressReturns added in v0.15.5

func (fake *FakeEgressStore) UpdateEgressReturns(result1 error)

func (*FakeEgressStore) UpdateEgressReturnsOnCall added in v0.15.5

func (fake *FakeEgressStore) UpdateEgressReturnsOnCall(i int, result1 error)

type FakeIngressStore added in v1.2.0

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

func (fake *FakeIngressStore) DeleteIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error

func (*FakeIngressStore) DeleteIngressArgsForCall added in v1.2.0

func (fake *FakeIngressStore) DeleteIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)

func (*FakeIngressStore) DeleteIngressCallCount added in v1.2.0

func (fake *FakeIngressStore) DeleteIngressCallCount() int

func (*FakeIngressStore) DeleteIngressCalls added in v1.2.0

func (fake *FakeIngressStore) DeleteIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)

func (*FakeIngressStore) DeleteIngressReturns added in v1.2.0

func (fake *FakeIngressStore) DeleteIngressReturns(result1 error)

func (*FakeIngressStore) DeleteIngressReturnsOnCall added in v1.2.0

func (fake *FakeIngressStore) DeleteIngressReturnsOnCall(i int, result1 error)

func (*FakeIngressStore) Invocations added in v1.2.0

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

func (*FakeIngressStore) ListIngress added in v1.2.0

func (fake *FakeIngressStore) ListIngress(arg1 context.Context, arg2 livekit.RoomName) ([]*livekit.IngressInfo, error)

func (*FakeIngressStore) ListIngressArgsForCall added in v1.2.0

func (fake *FakeIngressStore) ListIngressArgsForCall(i int) (context.Context, livekit.RoomName)

func (*FakeIngressStore) ListIngressCallCount added in v1.2.0

func (fake *FakeIngressStore) ListIngressCallCount() int

func (*FakeIngressStore) ListIngressCalls added in v1.2.0

func (fake *FakeIngressStore) ListIngressCalls(stub func(context.Context, livekit.RoomName) ([]*livekit.IngressInfo, error))

func (*FakeIngressStore) ListIngressReturns added in v1.2.0

func (fake *FakeIngressStore) ListIngressReturns(result1 []*livekit.IngressInfo, result2 error)

func (*FakeIngressStore) ListIngressReturnsOnCall added in v1.2.0

func (fake *FakeIngressStore) ListIngressReturnsOnCall(i int, result1 []*livekit.IngressInfo, result2 error)

func (*FakeIngressStore) LoadIngress added in v1.2.0

func (fake *FakeIngressStore) LoadIngress(arg1 context.Context, arg2 string) (*livekit.IngressInfo, error)

func (*FakeIngressStore) LoadIngressArgsForCall added in v1.2.0

func (fake *FakeIngressStore) LoadIngressArgsForCall(i int) (context.Context, string)

func (*FakeIngressStore) LoadIngressCallCount added in v1.2.0

func (fake *FakeIngressStore) LoadIngressCallCount() int

func (*FakeIngressStore) LoadIngressCalls added in v1.2.0

func (fake *FakeIngressStore) LoadIngressCalls(stub func(context.Context, string) (*livekit.IngressInfo, error))

func (*FakeIngressStore) LoadIngressFromStreamKey added in v1.2.0

func (fake *FakeIngressStore) LoadIngressFromStreamKey(arg1 context.Context, arg2 string) (*livekit.IngressInfo, error)

func (*FakeIngressStore) LoadIngressFromStreamKeyArgsForCall added in v1.2.0

func (fake *FakeIngressStore) LoadIngressFromStreamKeyArgsForCall(i int) (context.Context, string)

func (*FakeIngressStore) LoadIngressFromStreamKeyCallCount added in v1.2.0

func (fake *FakeIngressStore) LoadIngressFromStreamKeyCallCount() int

func (*FakeIngressStore) LoadIngressFromStreamKeyCalls added in v1.2.0

func (fake *FakeIngressStore) LoadIngressFromStreamKeyCalls(stub func(context.Context, string) (*livekit.IngressInfo, error))

func (*FakeIngressStore) LoadIngressFromStreamKeyReturns added in v1.2.0

func (fake *FakeIngressStore) LoadIngressFromStreamKeyReturns(result1 *livekit.IngressInfo, result2 error)

func (*FakeIngressStore) LoadIngressFromStreamKeyReturnsOnCall added in v1.2.0

func (fake *FakeIngressStore) LoadIngressFromStreamKeyReturnsOnCall(i int, result1 *livekit.IngressInfo, result2 error)

func (*FakeIngressStore) LoadIngressReturns added in v1.2.0

func (fake *FakeIngressStore) LoadIngressReturns(result1 *livekit.IngressInfo, result2 error)

func (*FakeIngressStore) LoadIngressReturnsOnCall added in v1.2.0

func (fake *FakeIngressStore) LoadIngressReturnsOnCall(i int, result1 *livekit.IngressInfo, result2 error)

func (*FakeIngressStore) StoreIngress added in v1.2.0

func (fake *FakeIngressStore) StoreIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error

func (*FakeIngressStore) StoreIngressArgsForCall added in v1.2.0

func (fake *FakeIngressStore) StoreIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)

func (*FakeIngressStore) StoreIngressCallCount added in v1.2.0

func (fake *FakeIngressStore) StoreIngressCallCount() int

func (*FakeIngressStore) StoreIngressCalls added in v1.2.0

func (fake *FakeIngressStore) StoreIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)

func (*FakeIngressStore) StoreIngressReturns added in v1.2.0

func (fake *FakeIngressStore) StoreIngressReturns(result1 error)

func (*FakeIngressStore) StoreIngressReturnsOnCall added in v1.2.0

func (fake *FakeIngressStore) StoreIngressReturnsOnCall(i int, result1 error)

func (*FakeIngressStore) UpdateIngress added in v1.2.0

func (fake *FakeIngressStore) UpdateIngress(arg1 context.Context, arg2 *livekit.IngressInfo) error

func (*FakeIngressStore) UpdateIngressArgsForCall added in v1.2.0

func (fake *FakeIngressStore) UpdateIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)

func (*FakeIngressStore) UpdateIngressCallCount added in v1.2.0

func (fake *FakeIngressStore) UpdateIngressCallCount() int

func (*FakeIngressStore) UpdateIngressCalls added in v1.2.0

func (fake *FakeIngressStore) UpdateIngressCalls(stub func(context.Context, *livekit.IngressInfo) error)

func (*FakeIngressStore) UpdateIngressReturns added in v1.2.0

func (fake *FakeIngressStore) UpdateIngressReturns(result1 error)

func (*FakeIngressStore) UpdateIngressReturnsOnCall added in v1.2.0

func (fake *FakeIngressStore) UpdateIngressReturnsOnCall(i int, result1 error)

func (*FakeIngressStore) UpdateIngressState added in v1.2.4

func (fake *FakeIngressStore) UpdateIngressState(arg1 context.Context, arg2 string, arg3 *livekit.IngressState) error

func (*FakeIngressStore) UpdateIngressStateArgsForCall added in v1.2.4

func (fake *FakeIngressStore) UpdateIngressStateArgsForCall(i int) (context.Context, string, *livekit.IngressState)

func (*FakeIngressStore) UpdateIngressStateCallCount added in v1.2.4

func (fake *FakeIngressStore) UpdateIngressStateCallCount() int

func (*FakeIngressStore) UpdateIngressStateCalls added in v1.2.4

func (fake *FakeIngressStore) UpdateIngressStateCalls(stub func(context.Context, string, *livekit.IngressState) error)

func (*FakeIngressStore) UpdateIngressStateReturns added in v1.2.4

func (fake *FakeIngressStore) UpdateIngressStateReturns(result1 error)

func (*FakeIngressStore) UpdateIngressStateReturnsOnCall added in v1.2.4

func (fake *FakeIngressStore) UpdateIngressStateReturnsOnCall(i int, result1 error)

type FakeObjectStore added in v0.15.5

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 added in v0.15.5

func (fake *FakeObjectStore) DeleteParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 livekit.ParticipantIdentity) error

func (*FakeObjectStore) DeleteParticipantArgsForCall added in v0.15.5

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

func (*FakeObjectStore) DeleteParticipantCallCount added in v0.15.5

func (fake *FakeObjectStore) DeleteParticipantCallCount() int

func (*FakeObjectStore) DeleteParticipantCalls added in v0.15.5

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

func (*FakeObjectStore) DeleteParticipantReturns added in v0.15.5

func (fake *FakeObjectStore) DeleteParticipantReturns(result1 error)

func (*FakeObjectStore) DeleteParticipantReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) DeleteParticipantReturnsOnCall(i int, result1 error)

func (*FakeObjectStore) DeleteRoom added in v0.15.5

func (fake *FakeObjectStore) DeleteRoom(arg1 context.Context, arg2 livekit.RoomName) error

func (*FakeObjectStore) DeleteRoomArgsForCall added in v0.15.5

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

func (*FakeObjectStore) DeleteRoomCallCount added in v0.15.5

func (fake *FakeObjectStore) DeleteRoomCallCount() int

func (*FakeObjectStore) DeleteRoomCalls added in v0.15.5

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

func (*FakeObjectStore) DeleteRoomReturns added in v0.15.5

func (fake *FakeObjectStore) DeleteRoomReturns(result1 error)

func (*FakeObjectStore) DeleteRoomReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) DeleteRoomReturnsOnCall(i int, result1 error)

func (*FakeObjectStore) Invocations added in v0.15.5

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

func (*FakeObjectStore) ListParticipants added in v0.15.5

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

func (*FakeObjectStore) ListParticipantsArgsForCall added in v0.15.5

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

func (*FakeObjectStore) ListParticipantsCallCount added in v0.15.5

func (fake *FakeObjectStore) ListParticipantsCallCount() int

func (*FakeObjectStore) ListParticipantsCalls added in v0.15.5

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

func (*FakeObjectStore) ListParticipantsReturns added in v0.15.5

func (fake *FakeObjectStore) ListParticipantsReturns(result1 []*livekit.ParticipantInfo, result2 error)

func (*FakeObjectStore) ListParticipantsReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) ListParticipantsReturnsOnCall(i int, result1 []*livekit.ParticipantInfo, result2 error)

func (*FakeObjectStore) ListRooms added in v0.15.5

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

func (*FakeObjectStore) ListRoomsArgsForCall added in v0.15.5

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

func (*FakeObjectStore) ListRoomsCallCount added in v0.15.5

func (fake *FakeObjectStore) ListRoomsCallCount() int

func (*FakeObjectStore) ListRoomsCalls added in v0.15.5

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

func (*FakeObjectStore) ListRoomsReturns added in v0.15.5

func (fake *FakeObjectStore) ListRoomsReturns(result1 []*livekit.Room, result2 error)

func (*FakeObjectStore) ListRoomsReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) ListRoomsReturnsOnCall(i int, result1 []*livekit.Room, result2 error)

func (*FakeObjectStore) LoadParticipant added in v0.15.5

func (*FakeObjectStore) LoadParticipantArgsForCall added in v0.15.5

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

func (*FakeObjectStore) LoadParticipantCallCount added in v0.15.5

func (fake *FakeObjectStore) LoadParticipantCallCount() int

func (*FakeObjectStore) LoadParticipantCalls added in v0.15.5

func (*FakeObjectStore) LoadParticipantReturns added in v0.15.5

func (fake *FakeObjectStore) LoadParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)

func (*FakeObjectStore) LoadParticipantReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) LoadParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)

func (*FakeObjectStore) LoadRoom added in v0.15.5

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

func (*FakeObjectStore) LoadRoomArgsForCall added in v0.15.5

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

func (*FakeObjectStore) LoadRoomCallCount added in v0.15.5

func (fake *FakeObjectStore) LoadRoomCallCount() int

func (*FakeObjectStore) LoadRoomCalls added in v0.15.5

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

func (*FakeObjectStore) LoadRoomReturns added in v0.15.5

func (fake *FakeObjectStore) LoadRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)

func (*FakeObjectStore) LoadRoomReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)

func (*FakeObjectStore) LockRoom added in v0.15.5

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

func (*FakeObjectStore) LockRoomArgsForCall added in v0.15.5

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

func (*FakeObjectStore) LockRoomCallCount added in v0.15.5

func (fake *FakeObjectStore) LockRoomCallCount() int

func (*FakeObjectStore) LockRoomCalls added in v0.15.5

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

func (*FakeObjectStore) LockRoomReturns added in v0.15.5

func (fake *FakeObjectStore) LockRoomReturns(result1 string, result2 error)

func (*FakeObjectStore) LockRoomReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) LockRoomReturnsOnCall(i int, result1 string, result2 error)

func (*FakeObjectStore) StoreParticipant added in v0.15.5

func (fake *FakeObjectStore) StoreParticipant(arg1 context.Context, arg2 livekit.RoomName, arg3 *livekit.ParticipantInfo) error

func (*FakeObjectStore) StoreParticipantArgsForCall added in v0.15.5

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

func (*FakeObjectStore) StoreParticipantCallCount added in v0.15.5

func (fake *FakeObjectStore) StoreParticipantCallCount() int

func (*FakeObjectStore) StoreParticipantCalls added in v0.15.5

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

func (*FakeObjectStore) StoreParticipantReturns added in v0.15.5

func (fake *FakeObjectStore) StoreParticipantReturns(result1 error)

func (*FakeObjectStore) StoreParticipantReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) StoreParticipantReturnsOnCall(i int, result1 error)

func (*FakeObjectStore) StoreRoom added in v0.15.5

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

func (*FakeObjectStore) StoreRoomArgsForCall added in v0.15.5

func (fake *FakeObjectStore) StoreRoomArgsForCall(i int) (context.Context, *livekit.Room, *livekit.RoomInternal)

func (*FakeObjectStore) StoreRoomCallCount added in v0.15.5

func (fake *FakeObjectStore) StoreRoomCallCount() int

func (*FakeObjectStore) StoreRoomCalls added in v0.15.5

func (fake *FakeObjectStore) StoreRoomCalls(stub func(context.Context, *livekit.Room, *livekit.RoomInternal) error)

func (*FakeObjectStore) StoreRoomReturns added in v0.15.5

func (fake *FakeObjectStore) StoreRoomReturns(result1 error)

func (*FakeObjectStore) StoreRoomReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) StoreRoomReturnsOnCall(i int, result1 error)

func (*FakeObjectStore) UnlockRoom added in v0.15.5

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

func (*FakeObjectStore) UnlockRoomArgsForCall added in v0.15.5

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

func (*FakeObjectStore) UnlockRoomCallCount added in v0.15.5

func (fake *FakeObjectStore) UnlockRoomCallCount() int

func (*FakeObjectStore) UnlockRoomCalls added in v0.15.5

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

func (*FakeObjectStore) UnlockRoomReturns added in v0.15.5

func (fake *FakeObjectStore) UnlockRoomReturns(result1 error)

func (*FakeObjectStore) UnlockRoomReturnsOnCall added in v0.15.5

func (fake *FakeObjectStore) UnlockRoomReturnsOnCall(i int, result1 error)

type FakeRoomAllocator added in v0.15.0

type FakeRoomAllocator struct {
	CreateRoomStub func(context.Context, *livekit.CreateRoomRequest) (*livekit.Room, error)

	ValidateCreateRoomStub func(context.Context, livekit.RoomName) error
	// contains filtered or unexported fields
}

func (*FakeRoomAllocator) CreateRoom added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoom(arg1 context.Context, arg2 *livekit.CreateRoomRequest) (*livekit.Room, error)

func (*FakeRoomAllocator) CreateRoomArgsForCall added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoomArgsForCall(i int) (context.Context, *livekit.CreateRoomRequest)

func (*FakeRoomAllocator) CreateRoomCallCount added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoomCallCount() int

func (*FakeRoomAllocator) CreateRoomCalls added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoomCalls(stub func(context.Context, *livekit.CreateRoomRequest) (*livekit.Room, error))

func (*FakeRoomAllocator) CreateRoomReturns added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoomReturns(result1 *livekit.Room, result2 error)

func (*FakeRoomAllocator) CreateRoomReturnsOnCall added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)

func (*FakeRoomAllocator) Invocations added in v0.15.0

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

func (*FakeRoomAllocator) ValidateCreateRoom added in v1.3.4

func (fake *FakeRoomAllocator) ValidateCreateRoom(arg1 context.Context, arg2 livekit.RoomName) error

func (*FakeRoomAllocator) ValidateCreateRoomArgsForCall added in v1.3.4

func (fake *FakeRoomAllocator) ValidateCreateRoomArgsForCall(i int) (context.Context, livekit.RoomName)

func (*FakeRoomAllocator) ValidateCreateRoomCallCount added in v1.3.4

func (fake *FakeRoomAllocator) ValidateCreateRoomCallCount() int

func (*FakeRoomAllocator) ValidateCreateRoomCalls added in v1.3.4

func (fake *FakeRoomAllocator) ValidateCreateRoomCalls(stub func(context.Context, livekit.RoomName) error)

func (*FakeRoomAllocator) ValidateCreateRoomReturns added in v1.3.4

func (fake *FakeRoomAllocator) ValidateCreateRoomReturns(result1 error)

func (*FakeRoomAllocator) ValidateCreateRoomReturnsOnCall added in v1.3.4

func (fake *FakeRoomAllocator) ValidateCreateRoomReturnsOnCall(i int, result1 error)

type FakeServiceStore added in v0.15.5

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 added in v0.15.5

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

func (*FakeServiceStore) ListParticipants added in v0.15.5

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

func (*FakeServiceStore) ListParticipantsArgsForCall added in v0.15.5

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

func (*FakeServiceStore) ListParticipantsCallCount added in v0.15.5

func (fake *FakeServiceStore) ListParticipantsCallCount() int

func (*FakeServiceStore) ListParticipantsCalls added in v0.15.5

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

func (*FakeServiceStore) ListParticipantsReturns added in v0.15.5

func (fake *FakeServiceStore) ListParticipantsReturns(result1 []*livekit.ParticipantInfo, result2 error)

func (*FakeServiceStore) ListParticipantsReturnsOnCall added in v0.15.5

func (fake *FakeServiceStore) ListParticipantsReturnsOnCall(i int, result1 []*livekit.ParticipantInfo, result2 error)

func (*FakeServiceStore) ListRooms added in v0.15.5

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

func (*FakeServiceStore) ListRoomsArgsForCall added in v0.15.5

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

func (*FakeServiceStore) ListRoomsCallCount added in v0.15.5

func (fake *FakeServiceStore) ListRoomsCallCount() int

func (*FakeServiceStore) ListRoomsCalls added in v0.15.5

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

func (*FakeServiceStore) ListRoomsReturns added in v0.15.5

func (fake *FakeServiceStore) ListRoomsReturns(result1 []*livekit.Room, result2 error)

func (*FakeServiceStore) ListRoomsReturnsOnCall added in v0.15.5

func (fake *FakeServiceStore) ListRoomsReturnsOnCall(i int, result1 []*livekit.Room, result2 error)

func (*FakeServiceStore) LoadParticipant added in v0.15.5

func (*FakeServiceStore) LoadParticipantArgsForCall added in v0.15.5

func (fake *FakeServiceStore) LoadParticipantArgsForCall(i int) (context.Context, livekit.RoomName, livekit.ParticipantIdentity)

func (*FakeServiceStore) LoadParticipantCallCount added in v0.15.5

func (fake *FakeServiceStore) LoadParticipantCallCount() int

func (*FakeServiceStore) LoadParticipantCalls added in v0.15.5

func (*FakeServiceStore) LoadParticipantReturns added in v0.15.5

func (fake *FakeServiceStore) LoadParticipantReturns(result1 *livekit.ParticipantInfo, result2 error)

func (*FakeServiceStore) LoadParticipantReturnsOnCall added in v0.15.5

func (fake *FakeServiceStore) LoadParticipantReturnsOnCall(i int, result1 *livekit.ParticipantInfo, result2 error)

func (*FakeServiceStore) LoadRoom added in v0.15.5

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

func (*FakeServiceStore) LoadRoomArgsForCall added in v0.15.5

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

func (*FakeServiceStore) LoadRoomCallCount added in v0.15.5

func (fake *FakeServiceStore) LoadRoomCallCount() int

func (*FakeServiceStore) LoadRoomCalls added in v0.15.5

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

func (*FakeServiceStore) LoadRoomReturns added in v0.15.5

func (fake *FakeServiceStore) LoadRoomReturns(result1 *livekit.Room, result2 *livekit.RoomInternal, result3 error)

func (*FakeServiceStore) LoadRoomReturnsOnCall added in v0.15.5

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