servicefakes

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2024 License: Apache-2.0 Imports: 9 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.

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

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

func (fake *FakeIOClient) CreateEgress(arg1 context.Context, arg2 *livekit.EgressInfo) (*emptypb.Empty, error)

func (*FakeIOClient) CreateEgressArgsForCall added in v1.5.1

func (fake *FakeIOClient) CreateEgressArgsForCall(i int) (context.Context, *livekit.EgressInfo)

func (*FakeIOClient) CreateEgressCallCount added in v1.5.1

func (fake *FakeIOClient) CreateEgressCallCount() int

func (*FakeIOClient) CreateEgressCalls added in v1.5.1

func (fake *FakeIOClient) CreateEgressCalls(stub func(context.Context, *livekit.EgressInfo) (*emptypb.Empty, error))

func (*FakeIOClient) CreateEgressReturns added in v1.5.1

func (fake *FakeIOClient) CreateEgressReturns(result1 *emptypb.Empty, result2 error)

func (*FakeIOClient) CreateEgressReturnsOnCall added in v1.5.1

func (fake *FakeIOClient) CreateEgressReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)

func (*FakeIOClient) CreateIngress added in v1.5.3

func (fake *FakeIOClient) CreateIngress(arg1 context.Context, arg2 *livekit.IngressInfo) (*emptypb.Empty, error)

func (*FakeIOClient) CreateIngressArgsForCall added in v1.5.3

func (fake *FakeIOClient) CreateIngressArgsForCall(i int) (context.Context, *livekit.IngressInfo)

func (*FakeIOClient) CreateIngressCallCount added in v1.5.3

func (fake *FakeIOClient) CreateIngressCallCount() int

func (*FakeIOClient) CreateIngressCalls added in v1.5.3

func (fake *FakeIOClient) CreateIngressCalls(stub func(context.Context, *livekit.IngressInfo) (*emptypb.Empty, error))

func (*FakeIOClient) CreateIngressReturns added in v1.5.3

func (fake *FakeIOClient) CreateIngressReturns(result1 *emptypb.Empty, result2 error)

func (*FakeIOClient) CreateIngressReturnsOnCall added in v1.5.3

func (fake *FakeIOClient) CreateIngressReturnsOnCall(i int, result1 *emptypb.Empty, result2 error)

func (*FakeIOClient) GetEgress added in v1.5.1

func (fake *FakeIOClient) GetEgress(arg1 context.Context, arg2 *rpc.GetEgressRequest) (*livekit.EgressInfo, error)

func (*FakeIOClient) GetEgressArgsForCall added in v1.5.1

func (fake *FakeIOClient) GetEgressArgsForCall(i int) (context.Context, *rpc.GetEgressRequest)

func (*FakeIOClient) GetEgressCallCount added in v1.5.1

func (fake *FakeIOClient) GetEgressCallCount() int

func (*FakeIOClient) GetEgressCalls added in v1.5.1

func (fake *FakeIOClient) GetEgressCalls(stub func(context.Context, *rpc.GetEgressRequest) (*livekit.EgressInfo, error))

func (*FakeIOClient) GetEgressReturns added in v1.5.1

func (fake *FakeIOClient) GetEgressReturns(result1 *livekit.EgressInfo, result2 error)

func (*FakeIOClient) GetEgressReturnsOnCall added in v1.5.1

func (fake *FakeIOClient) GetEgressReturnsOnCall(i int, result1 *livekit.EgressInfo, result2 error)

func (*FakeIOClient) Invocations added in v1.5.1

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

func (*FakeIOClient) ListEgress added in v1.5.1

func (*FakeIOClient) ListEgressArgsForCall added in v1.5.1

func (fake *FakeIOClient) ListEgressArgsForCall(i int) (context.Context, *livekit.ListEgressRequest)

func (*FakeIOClient) ListEgressCallCount added in v1.5.1

func (fake *FakeIOClient) ListEgressCallCount() int

func (*FakeIOClient) ListEgressCalls added in v1.5.1

func (fake *FakeIOClient) ListEgressCalls(stub func(context.Context, *livekit.ListEgressRequest) (*livekit.ListEgressResponse, error))

func (*FakeIOClient) ListEgressReturns added in v1.5.1

func (fake *FakeIOClient) ListEgressReturns(result1 *livekit.ListEgressResponse, result2 error)

func (*FakeIOClient) ListEgressReturnsOnCall added in v1.5.1

func (fake *FakeIOClient) ListEgressReturnsOnCall(i int, result1 *livekit.ListEgressResponse, result2 error)

func (*FakeIOClient) UpdateIngressState added in v1.5.3

func (fake *FakeIOClient) UpdateIngressState(arg1 context.Context, arg2 *rpc.UpdateIngressStateRequest) (*emptypb.Empty, error)

func (*FakeIOClient) UpdateIngressStateArgsForCall added in v1.5.3

func (fake *FakeIOClient) UpdateIngressStateArgsForCall(i int) (context.Context, *rpc.UpdateIngressStateRequest)

func (*FakeIOClient) UpdateIngressStateCallCount added in v1.5.3

func (fake *FakeIOClient) UpdateIngressStateCallCount() int

func (*FakeIOClient) UpdateIngressStateCalls added in v1.5.3

func (fake *FakeIOClient) UpdateIngressStateCalls(stub func(context.Context, *rpc.UpdateIngressStateRequest) (*emptypb.Empty, error))

func (*FakeIOClient) UpdateIngressStateReturns added in v1.5.3

func (fake *FakeIOClient) UpdateIngressStateReturns(result1 *emptypb.Empty, result2 error)

func (*FakeIOClient) UpdateIngressStateReturnsOnCall added in v1.5.3

func (fake *FakeIOClient) UpdateIngressStateReturnsOnCall(i int, result1 *emptypb.Empty, result2 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, bool, 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, bool, 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, bool, error))

func (*FakeRoomAllocator) CreateRoomReturns added in v0.15.0

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

func (*FakeRoomAllocator) CreateRoomReturnsOnCall added in v0.15.0

func (fake *FakeRoomAllocator) CreateRoomReturnsOnCall(i int, result1 *livekit.Room, result2 bool, result3 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 FakeSIPStore added in v1.5.2

type FakeSIPStore struct {
	DeleteSIPDispatchRuleStub func(context.Context, *livekit.SIPDispatchRuleInfo) error

	DeleteSIPTrunkStub func(context.Context, *livekit.SIPTrunkInfo) 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 added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPDispatchRule(arg1 context.Context, arg2 *livekit.SIPDispatchRuleInfo) error

func (*FakeSIPStore) DeleteSIPDispatchRuleArgsForCall added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPDispatchRuleArgsForCall(i int) (context.Context, *livekit.SIPDispatchRuleInfo)

func (*FakeSIPStore) DeleteSIPDispatchRuleCallCount added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPDispatchRuleCallCount() int

func (*FakeSIPStore) DeleteSIPDispatchRuleCalls added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPDispatchRuleCalls(stub func(context.Context, *livekit.SIPDispatchRuleInfo) error)

func (*FakeSIPStore) DeleteSIPDispatchRuleReturns added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPDispatchRuleReturns(result1 error)

func (*FakeSIPStore) DeleteSIPDispatchRuleReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPDispatchRuleReturnsOnCall(i int, result1 error)

func (*FakeSIPStore) DeleteSIPTrunk added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPTrunk(arg1 context.Context, arg2 *livekit.SIPTrunkInfo) error

func (*FakeSIPStore) DeleteSIPTrunkArgsForCall added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPTrunkArgsForCall(i int) (context.Context, *livekit.SIPTrunkInfo)

func (*FakeSIPStore) DeleteSIPTrunkCallCount added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPTrunkCallCount() int

func (*FakeSIPStore) DeleteSIPTrunkCalls added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPTrunkCalls(stub func(context.Context, *livekit.SIPTrunkInfo) error)

func (*FakeSIPStore) DeleteSIPTrunkReturns added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPTrunkReturns(result1 error)

func (*FakeSIPStore) DeleteSIPTrunkReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) DeleteSIPTrunkReturnsOnCall(i int, result1 error)

func (*FakeSIPStore) Invocations added in v1.5.2

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

func (*FakeSIPStore) ListSIPDispatchRule added in v1.5.2

func (fake *FakeSIPStore) ListSIPDispatchRule(arg1 context.Context) ([]*livekit.SIPDispatchRuleInfo, error)

func (*FakeSIPStore) ListSIPDispatchRuleArgsForCall added in v1.5.2

func (fake *FakeSIPStore) ListSIPDispatchRuleArgsForCall(i int) context.Context

func (*FakeSIPStore) ListSIPDispatchRuleCallCount added in v1.5.2

func (fake *FakeSIPStore) ListSIPDispatchRuleCallCount() int

func (*FakeSIPStore) ListSIPDispatchRuleCalls added in v1.5.2

func (fake *FakeSIPStore) ListSIPDispatchRuleCalls(stub func(context.Context) ([]*livekit.SIPDispatchRuleInfo, error))

func (*FakeSIPStore) ListSIPDispatchRuleReturns added in v1.5.2

func (fake *FakeSIPStore) ListSIPDispatchRuleReturns(result1 []*livekit.SIPDispatchRuleInfo, result2 error)

func (*FakeSIPStore) ListSIPDispatchRuleReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) ListSIPDispatchRuleReturnsOnCall(i int, result1 []*livekit.SIPDispatchRuleInfo, result2 error)

func (*FakeSIPStore) ListSIPInboundTrunk added in v1.6.3

func (fake *FakeSIPStore) ListSIPInboundTrunk(arg1 context.Context) ([]*livekit.SIPInboundTrunkInfo, error)

func (*FakeSIPStore) ListSIPInboundTrunkArgsForCall added in v1.6.3

func (fake *FakeSIPStore) ListSIPInboundTrunkArgsForCall(i int) context.Context

func (*FakeSIPStore) ListSIPInboundTrunkCallCount added in v1.6.3

func (fake *FakeSIPStore) ListSIPInboundTrunkCallCount() int

func (*FakeSIPStore) ListSIPInboundTrunkCalls added in v1.6.3

func (fake *FakeSIPStore) ListSIPInboundTrunkCalls(stub func(context.Context) ([]*livekit.SIPInboundTrunkInfo, error))

func (*FakeSIPStore) ListSIPInboundTrunkReturns added in v1.6.3

func (fake *FakeSIPStore) ListSIPInboundTrunkReturns(result1 []*livekit.SIPInboundTrunkInfo, result2 error)

func (*FakeSIPStore) ListSIPInboundTrunkReturnsOnCall added in v1.6.3

func (fake *FakeSIPStore) ListSIPInboundTrunkReturnsOnCall(i int, result1 []*livekit.SIPInboundTrunkInfo, result2 error)

func (*FakeSIPStore) ListSIPOutboundTrunk added in v1.6.3

func (fake *FakeSIPStore) ListSIPOutboundTrunk(arg1 context.Context) ([]*livekit.SIPOutboundTrunkInfo, error)

func (*FakeSIPStore) ListSIPOutboundTrunkArgsForCall added in v1.6.3

func (fake *FakeSIPStore) ListSIPOutboundTrunkArgsForCall(i int) context.Context

func (*FakeSIPStore) ListSIPOutboundTrunkCallCount added in v1.6.3

func (fake *FakeSIPStore) ListSIPOutboundTrunkCallCount() int

func (*FakeSIPStore) ListSIPOutboundTrunkCalls added in v1.6.3

func (fake *FakeSIPStore) ListSIPOutboundTrunkCalls(stub func(context.Context) ([]*livekit.SIPOutboundTrunkInfo, error))

func (*FakeSIPStore) ListSIPOutboundTrunkReturns added in v1.6.3

func (fake *FakeSIPStore) ListSIPOutboundTrunkReturns(result1 []*livekit.SIPOutboundTrunkInfo, result2 error)

func (*FakeSIPStore) ListSIPOutboundTrunkReturnsOnCall added in v1.6.3

func (fake *FakeSIPStore) ListSIPOutboundTrunkReturnsOnCall(i int, result1 []*livekit.SIPOutboundTrunkInfo, result2 error)

func (*FakeSIPStore) ListSIPTrunk added in v1.5.2

func (fake *FakeSIPStore) ListSIPTrunk(arg1 context.Context) ([]*livekit.SIPTrunkInfo, error)

func (*FakeSIPStore) ListSIPTrunkArgsForCall added in v1.5.2

func (fake *FakeSIPStore) ListSIPTrunkArgsForCall(i int) context.Context

func (*FakeSIPStore) ListSIPTrunkCallCount added in v1.5.2

func (fake *FakeSIPStore) ListSIPTrunkCallCount() int

func (*FakeSIPStore) ListSIPTrunkCalls added in v1.5.2

func (fake *FakeSIPStore) ListSIPTrunkCalls(stub func(context.Context) ([]*livekit.SIPTrunkInfo, error))

func (*FakeSIPStore) ListSIPTrunkReturns added in v1.5.2

func (fake *FakeSIPStore) ListSIPTrunkReturns(result1 []*livekit.SIPTrunkInfo, result2 error)

func (*FakeSIPStore) ListSIPTrunkReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) ListSIPTrunkReturnsOnCall(i int, result1 []*livekit.SIPTrunkInfo, result2 error)

func (*FakeSIPStore) LoadSIPDispatchRule added in v1.5.2

func (fake *FakeSIPStore) LoadSIPDispatchRule(arg1 context.Context, arg2 string) (*livekit.SIPDispatchRuleInfo, error)

func (*FakeSIPStore) LoadSIPDispatchRuleArgsForCall added in v1.5.2

func (fake *FakeSIPStore) LoadSIPDispatchRuleArgsForCall(i int) (context.Context, string)

func (*FakeSIPStore) LoadSIPDispatchRuleCallCount added in v1.5.2

func (fake *FakeSIPStore) LoadSIPDispatchRuleCallCount() int

func (*FakeSIPStore) LoadSIPDispatchRuleCalls added in v1.5.2

func (fake *FakeSIPStore) LoadSIPDispatchRuleCalls(stub func(context.Context, string) (*livekit.SIPDispatchRuleInfo, error))

func (*FakeSIPStore) LoadSIPDispatchRuleReturns added in v1.5.2

func (fake *FakeSIPStore) LoadSIPDispatchRuleReturns(result1 *livekit.SIPDispatchRuleInfo, result2 error)

func (*FakeSIPStore) LoadSIPDispatchRuleReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) LoadSIPDispatchRuleReturnsOnCall(i int, result1 *livekit.SIPDispatchRuleInfo, result2 error)

func (*FakeSIPStore) LoadSIPInboundTrunk added in v1.6.3

func (fake *FakeSIPStore) LoadSIPInboundTrunk(arg1 context.Context, arg2 string) (*livekit.SIPInboundTrunkInfo, error)

func (*FakeSIPStore) LoadSIPInboundTrunkArgsForCall added in v1.6.3

func (fake *FakeSIPStore) LoadSIPInboundTrunkArgsForCall(i int) (context.Context, string)

func (*FakeSIPStore) LoadSIPInboundTrunkCallCount added in v1.6.3

func (fake *FakeSIPStore) LoadSIPInboundTrunkCallCount() int

func (*FakeSIPStore) LoadSIPInboundTrunkCalls added in v1.6.3

func (fake *FakeSIPStore) LoadSIPInboundTrunkCalls(stub func(context.Context, string) (*livekit.SIPInboundTrunkInfo, error))

func (*FakeSIPStore) LoadSIPInboundTrunkReturns added in v1.6.3

func (fake *FakeSIPStore) LoadSIPInboundTrunkReturns(result1 *livekit.SIPInboundTrunkInfo, result2 error)

func (*FakeSIPStore) LoadSIPInboundTrunkReturnsOnCall added in v1.6.3

func (fake *FakeSIPStore) LoadSIPInboundTrunkReturnsOnCall(i int, result1 *livekit.SIPInboundTrunkInfo, result2 error)

func (*FakeSIPStore) LoadSIPOutboundTrunk added in v1.6.3

func (fake *FakeSIPStore) LoadSIPOutboundTrunk(arg1 context.Context, arg2 string) (*livekit.SIPOutboundTrunkInfo, error)

func (*FakeSIPStore) LoadSIPOutboundTrunkArgsForCall added in v1.6.3

func (fake *FakeSIPStore) LoadSIPOutboundTrunkArgsForCall(i int) (context.Context, string)

func (*FakeSIPStore) LoadSIPOutboundTrunkCallCount added in v1.6.3

func (fake *FakeSIPStore) LoadSIPOutboundTrunkCallCount() int

func (*FakeSIPStore) LoadSIPOutboundTrunkCalls added in v1.6.3

func (fake *FakeSIPStore) LoadSIPOutboundTrunkCalls(stub func(context.Context, string) (*livekit.SIPOutboundTrunkInfo, error))

func (*FakeSIPStore) LoadSIPOutboundTrunkReturns added in v1.6.3

func (fake *FakeSIPStore) LoadSIPOutboundTrunkReturns(result1 *livekit.SIPOutboundTrunkInfo, result2 error)

func (*FakeSIPStore) LoadSIPOutboundTrunkReturnsOnCall added in v1.6.3

func (fake *FakeSIPStore) LoadSIPOutboundTrunkReturnsOnCall(i int, result1 *livekit.SIPOutboundTrunkInfo, result2 error)

func (*FakeSIPStore) LoadSIPTrunk added in v1.5.2

func (fake *FakeSIPStore) LoadSIPTrunk(arg1 context.Context, arg2 string) (*livekit.SIPTrunkInfo, error)

func (*FakeSIPStore) LoadSIPTrunkArgsForCall added in v1.5.2

func (fake *FakeSIPStore) LoadSIPTrunkArgsForCall(i int) (context.Context, string)

func (*FakeSIPStore) LoadSIPTrunkCallCount added in v1.5.2

func (fake *FakeSIPStore) LoadSIPTrunkCallCount() int

func (*FakeSIPStore) LoadSIPTrunkCalls added in v1.5.2

func (fake *FakeSIPStore) LoadSIPTrunkCalls(stub func(context.Context, string) (*livekit.SIPTrunkInfo, error))

func (*FakeSIPStore) LoadSIPTrunkReturns added in v1.5.2

func (fake *FakeSIPStore) LoadSIPTrunkReturns(result1 *livekit.SIPTrunkInfo, result2 error)

func (*FakeSIPStore) LoadSIPTrunkReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) LoadSIPTrunkReturnsOnCall(i int, result1 *livekit.SIPTrunkInfo, result2 error)

func (*FakeSIPStore) StoreSIPDispatchRule added in v1.5.2

func (fake *FakeSIPStore) StoreSIPDispatchRule(arg1 context.Context, arg2 *livekit.SIPDispatchRuleInfo) error

func (*FakeSIPStore) StoreSIPDispatchRuleArgsForCall added in v1.5.2

func (fake *FakeSIPStore) StoreSIPDispatchRuleArgsForCall(i int) (context.Context, *livekit.SIPDispatchRuleInfo)

func (*FakeSIPStore) StoreSIPDispatchRuleCallCount added in v1.5.2

func (fake *FakeSIPStore) StoreSIPDispatchRuleCallCount() int

func (*FakeSIPStore) StoreSIPDispatchRuleCalls added in v1.5.2

func (fake *FakeSIPStore) StoreSIPDispatchRuleCalls(stub func(context.Context, *livekit.SIPDispatchRuleInfo) error)

func (*FakeSIPStore) StoreSIPDispatchRuleReturns added in v1.5.2

func (fake *FakeSIPStore) StoreSIPDispatchRuleReturns(result1 error)

func (*FakeSIPStore) StoreSIPDispatchRuleReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) StoreSIPDispatchRuleReturnsOnCall(i int, result1 error)

func (*FakeSIPStore) StoreSIPInboundTrunk added in v1.6.3

func (fake *FakeSIPStore) StoreSIPInboundTrunk(arg1 context.Context, arg2 *livekit.SIPInboundTrunkInfo) error

func (*FakeSIPStore) StoreSIPInboundTrunkArgsForCall added in v1.6.3

func (fake *FakeSIPStore) StoreSIPInboundTrunkArgsForCall(i int) (context.Context, *livekit.SIPInboundTrunkInfo)

func (*FakeSIPStore) StoreSIPInboundTrunkCallCount added in v1.6.3

func (fake *FakeSIPStore) StoreSIPInboundTrunkCallCount() int

func (*FakeSIPStore) StoreSIPInboundTrunkCalls added in v1.6.3

func (fake *FakeSIPStore) StoreSIPInboundTrunkCalls(stub func(context.Context, *livekit.SIPInboundTrunkInfo) error)

func (*FakeSIPStore) StoreSIPInboundTrunkReturns added in v1.6.3

func (fake *FakeSIPStore) StoreSIPInboundTrunkReturns(result1 error)

func (*FakeSIPStore) StoreSIPInboundTrunkReturnsOnCall added in v1.6.3

func (fake *FakeSIPStore) StoreSIPInboundTrunkReturnsOnCall(i int, result1 error)

func (*FakeSIPStore) StoreSIPOutboundTrunk added in v1.6.3

func (fake *FakeSIPStore) StoreSIPOutboundTrunk(arg1 context.Context, arg2 *livekit.SIPOutboundTrunkInfo) error

func (*FakeSIPStore) StoreSIPOutboundTrunkArgsForCall added in v1.6.3

func (fake *FakeSIPStore) StoreSIPOutboundTrunkArgsForCall(i int) (context.Context, *livekit.SIPOutboundTrunkInfo)

func (*FakeSIPStore) StoreSIPOutboundTrunkCallCount added in v1.6.3

func (fake *FakeSIPStore) StoreSIPOutboundTrunkCallCount() int

func (*FakeSIPStore) StoreSIPOutboundTrunkCalls added in v1.6.3

func (fake *FakeSIPStore) StoreSIPOutboundTrunkCalls(stub func(context.Context, *livekit.SIPOutboundTrunkInfo) error)

func (*FakeSIPStore) StoreSIPOutboundTrunkReturns added in v1.6.3

func (fake *FakeSIPStore) StoreSIPOutboundTrunkReturns(result1 error)

func (*FakeSIPStore) StoreSIPOutboundTrunkReturnsOnCall added in v1.6.3

func (fake *FakeSIPStore) StoreSIPOutboundTrunkReturnsOnCall(i int, result1 error)

func (*FakeSIPStore) StoreSIPTrunk added in v1.5.2

func (fake *FakeSIPStore) StoreSIPTrunk(arg1 context.Context, arg2 *livekit.SIPTrunkInfo) error

func (*FakeSIPStore) StoreSIPTrunkArgsForCall added in v1.5.2

func (fake *FakeSIPStore) StoreSIPTrunkArgsForCall(i int) (context.Context, *livekit.SIPTrunkInfo)

func (*FakeSIPStore) StoreSIPTrunkCallCount added in v1.5.2

func (fake *FakeSIPStore) StoreSIPTrunkCallCount() int

func (*FakeSIPStore) StoreSIPTrunkCalls added in v1.5.2

func (fake *FakeSIPStore) StoreSIPTrunkCalls(stub func(context.Context, *livekit.SIPTrunkInfo) error)

func (*FakeSIPStore) StoreSIPTrunkReturns added in v1.5.2

func (fake *FakeSIPStore) StoreSIPTrunkReturns(result1 error)

func (*FakeSIPStore) StoreSIPTrunkReturnsOnCall added in v1.5.2

func (fake *FakeSIPStore) StoreSIPTrunkReturnsOnCall(i int, result1 error)

type FakeServiceStore added in v0.15.5

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

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

func (*FakeServiceStore) DeleteRoomArgsForCall added in v1.5.3

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

func (*FakeServiceStore) DeleteRoomCallCount added in v1.5.3

func (fake *FakeServiceStore) DeleteRoomCallCount() int

func (*FakeServiceStore) DeleteRoomCalls added in v1.5.3

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

func (*FakeServiceStore) DeleteRoomReturns added in v1.5.3

func (fake *FakeServiceStore) DeleteRoomReturns(result1 error)

func (*FakeServiceStore) DeleteRoomReturnsOnCall added in v1.5.3

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

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)

type FakeSessionHandler added in v1.5.3

type FakeSessionHandler struct {
	HandleSessionStub func(context.Context, livekit.RoomName, routing.ParticipantInit, livekit.ConnectionID, routing.MessageSource, routing.MessageSink) error

	LoggerStub func(context.Context) logger.Logger
	// contains filtered or unexported fields
}

func (*FakeSessionHandler) HandleSession added in v1.5.3

func (*FakeSessionHandler) HandleSessionArgsForCall added in v1.5.3

func (*FakeSessionHandler) HandleSessionCallCount added in v1.5.3

func (fake *FakeSessionHandler) HandleSessionCallCount() int

func (*FakeSessionHandler) HandleSessionCalls added in v1.5.3

func (*FakeSessionHandler) HandleSessionReturns added in v1.5.3

func (fake *FakeSessionHandler) HandleSessionReturns(result1 error)

func (*FakeSessionHandler) HandleSessionReturnsOnCall added in v1.5.3

func (fake *FakeSessionHandler) HandleSessionReturnsOnCall(i int, result1 error)

func (*FakeSessionHandler) Invocations added in v1.5.3

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

func (*FakeSessionHandler) Logger added in v1.5.3

func (fake *FakeSessionHandler) Logger(arg1 context.Context) logger.Logger

func (*FakeSessionHandler) LoggerArgsForCall added in v1.5.3

func (fake *FakeSessionHandler) LoggerArgsForCall(i int) context.Context

func (*FakeSessionHandler) LoggerCallCount added in v1.5.3

func (fake *FakeSessionHandler) LoggerCallCount() int

func (*FakeSessionHandler) LoggerCalls added in v1.5.3

func (fake *FakeSessionHandler) LoggerCalls(stub func(context.Context) logger.Logger)

func (*FakeSessionHandler) LoggerReturns added in v1.5.3

func (fake *FakeSessionHandler) LoggerReturns(result1 logger.Logger)

func (*FakeSessionHandler) LoggerReturnsOnCall added in v1.5.3

func (fake *FakeSessionHandler) LoggerReturnsOnCall(i int, result1 logger.Logger)

Jump to

Keyboard shortcuts

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