servicefakes

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeRORoomStore added in v0.15.0

type FakeRORoomStore struct {
	ListParticipantsStub func(context.Context, livekit.RoomName) ([]*livekit.ParticipantInfo, error)

	ListRoomsStub func(context.Context, []livekit.RoomName) ([]*livekit.Room, error)

	LoadParticipantStub func(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error)

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

func (*FakeRORoomStore) Invocations added in v0.15.0

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

func (*FakeRORoomStore) ListParticipants added in v0.15.0

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

func (*FakeRORoomStore) ListParticipantsArgsForCall added in v0.15.0

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

func (*FakeRORoomStore) ListParticipantsCallCount added in v0.15.0

func (fake *FakeRORoomStore) ListParticipantsCallCount() int

func (*FakeRORoomStore) ListParticipantsCalls added in v0.15.0

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

func (*FakeRORoomStore) ListParticipantsReturns added in v0.15.0

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

func (*FakeRORoomStore) ListParticipantsReturnsOnCall added in v0.15.0

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

func (*FakeRORoomStore) ListRooms added in v0.15.0

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

func (*FakeRORoomStore) ListRoomsArgsForCall added in v0.15.0

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

func (*FakeRORoomStore) ListRoomsCallCount added in v0.15.0

func (fake *FakeRORoomStore) ListRoomsCallCount() int

func (*FakeRORoomStore) ListRoomsCalls added in v0.15.0

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

func (*FakeRORoomStore) ListRoomsReturns added in v0.15.0

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

func (*FakeRORoomStore) ListRoomsReturnsOnCall added in v0.15.0

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

func (*FakeRORoomStore) LoadParticipant added in v0.15.0

func (*FakeRORoomStore) LoadParticipantArgsForCall added in v0.15.0

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

func (*FakeRORoomStore) LoadParticipantCallCount added in v0.15.0

func (fake *FakeRORoomStore) LoadParticipantCallCount() int

func (*FakeRORoomStore) LoadParticipantCalls added in v0.15.0

func (*FakeRORoomStore) LoadParticipantReturns added in v0.15.0

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

func (*FakeRORoomStore) LoadParticipantReturnsOnCall added in v0.15.0

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

func (*FakeRORoomStore) LoadRoom added in v0.15.0

func (fake *FakeRORoomStore) LoadRoom(arg1 context.Context, arg2 livekit.RoomName) (*livekit.Room, error)

func (*FakeRORoomStore) LoadRoomArgsForCall added in v0.15.0

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

func (*FakeRORoomStore) LoadRoomCallCount added in v0.15.0

func (fake *FakeRORoomStore) LoadRoomCallCount() int

func (*FakeRORoomStore) LoadRoomCalls added in v0.15.0

func (fake *FakeRORoomStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName) (*livekit.Room, error))

func (*FakeRORoomStore) LoadRoomReturns added in v0.15.0

func (fake *FakeRORoomStore) LoadRoomReturns(result1 *livekit.Room, result2 error)

func (*FakeRORoomStore) LoadRoomReturnsOnCall added in v0.15.0

func (fake *FakeRORoomStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)

type FakeRoomAllocator added in v0.15.0

type FakeRoomAllocator struct {
	CreateRoomStub func(context.Context, *livekit.CreateRoomRequest) (*livekit.Room, 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{}

type FakeRoomStore

type FakeRoomStore 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) (*livekit.Room, 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) error

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

func (*FakeRoomStore) DeleteParticipant

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

func (*FakeRoomStore) DeleteParticipantArgsForCall

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

func (*FakeRoomStore) DeleteParticipantCallCount

func (fake *FakeRoomStore) DeleteParticipantCallCount() int

func (*FakeRoomStore) DeleteParticipantCalls

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

func (*FakeRoomStore) DeleteParticipantReturns

func (fake *FakeRoomStore) DeleteParticipantReturns(result1 error)

func (*FakeRoomStore) DeleteParticipantReturnsOnCall

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

func (*FakeRoomStore) DeleteRoom

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

func (*FakeRoomStore) DeleteRoomArgsForCall

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

func (*FakeRoomStore) DeleteRoomCallCount

func (fake *FakeRoomStore) DeleteRoomCallCount() int

func (*FakeRoomStore) DeleteRoomCalls

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

func (*FakeRoomStore) DeleteRoomReturns

func (fake *FakeRoomStore) DeleteRoomReturns(result1 error)

func (*FakeRoomStore) DeleteRoomReturnsOnCall

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

func (*FakeRoomStore) Invocations

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

func (*FakeRoomStore) ListParticipants

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

func (*FakeRoomStore) ListParticipantsArgsForCall

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

func (*FakeRoomStore) ListParticipantsCallCount

func (fake *FakeRoomStore) ListParticipantsCallCount() int

func (*FakeRoomStore) ListParticipantsCalls

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

func (*FakeRoomStore) ListParticipantsReturns

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

func (*FakeRoomStore) ListParticipantsReturnsOnCall

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

func (*FakeRoomStore) ListRooms

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

func (*FakeRoomStore) ListRoomsArgsForCall added in v0.12.5

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

func (*FakeRoomStore) ListRoomsCallCount

func (fake *FakeRoomStore) ListRoomsCallCount() int

func (*FakeRoomStore) ListRoomsCalls

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

func (*FakeRoomStore) ListRoomsReturns

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

func (*FakeRoomStore) ListRoomsReturnsOnCall

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

func (*FakeRoomStore) LoadParticipant added in v0.12.4

func (*FakeRoomStore) LoadParticipantArgsForCall added in v0.12.4

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

func (*FakeRoomStore) LoadParticipantCallCount added in v0.12.4

func (fake *FakeRoomStore) LoadParticipantCallCount() int

func (*FakeRoomStore) LoadParticipantCalls added in v0.12.4

func (*FakeRoomStore) LoadParticipantReturns added in v0.12.4

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

func (*FakeRoomStore) LoadParticipantReturnsOnCall added in v0.12.4

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

func (*FakeRoomStore) LoadRoom added in v0.12.4

func (fake *FakeRoomStore) LoadRoom(arg1 context.Context, arg2 livekit.RoomName) (*livekit.Room, error)

func (*FakeRoomStore) LoadRoomArgsForCall added in v0.12.4

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

func (*FakeRoomStore) LoadRoomCallCount added in v0.12.4

func (fake *FakeRoomStore) LoadRoomCallCount() int

func (*FakeRoomStore) LoadRoomCalls added in v0.12.4

func (fake *FakeRoomStore) LoadRoomCalls(stub func(context.Context, livekit.RoomName) (*livekit.Room, error))

func (*FakeRoomStore) LoadRoomReturns added in v0.12.4

func (fake *FakeRoomStore) LoadRoomReturns(result1 *livekit.Room, result2 error)

func (*FakeRoomStore) LoadRoomReturnsOnCall added in v0.12.4

func (fake *FakeRoomStore) LoadRoomReturnsOnCall(i int, result1 *livekit.Room, result2 error)

func (*FakeRoomStore) LockRoom added in v0.10.6

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

func (*FakeRoomStore) LockRoomArgsForCall added in v0.10.6

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

func (*FakeRoomStore) LockRoomCallCount added in v0.10.6

func (fake *FakeRoomStore) LockRoomCallCount() int

func (*FakeRoomStore) LockRoomCalls added in v0.10.6

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

func (*FakeRoomStore) LockRoomReturns added in v0.10.6

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

func (*FakeRoomStore) LockRoomReturnsOnCall added in v0.10.6

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

func (*FakeRoomStore) StoreParticipant added in v0.12.4

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

func (*FakeRoomStore) StoreParticipantArgsForCall added in v0.12.4

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

func (*FakeRoomStore) StoreParticipantCallCount added in v0.12.4

func (fake *FakeRoomStore) StoreParticipantCallCount() int

func (*FakeRoomStore) StoreParticipantCalls added in v0.12.4

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

func (*FakeRoomStore) StoreParticipantReturns added in v0.12.4

func (fake *FakeRoomStore) StoreParticipantReturns(result1 error)

func (*FakeRoomStore) StoreParticipantReturnsOnCall added in v0.12.4

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

func (*FakeRoomStore) StoreRoom added in v0.12.4

func (fake *FakeRoomStore) StoreRoom(arg1 context.Context, arg2 *livekit.Room) error

func (*FakeRoomStore) StoreRoomArgsForCall added in v0.12.4

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

func (*FakeRoomStore) StoreRoomCallCount added in v0.12.4

func (fake *FakeRoomStore) StoreRoomCallCount() int

func (*FakeRoomStore) StoreRoomCalls added in v0.12.4

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

func (*FakeRoomStore) StoreRoomReturns added in v0.12.4

func (fake *FakeRoomStore) StoreRoomReturns(result1 error)

func (*FakeRoomStore) StoreRoomReturnsOnCall added in v0.12.4

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

func (*FakeRoomStore) UnlockRoom added in v0.10.6

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

func (*FakeRoomStore) UnlockRoomArgsForCall added in v0.10.6

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

func (*FakeRoomStore) UnlockRoomCallCount added in v0.10.6

func (fake *FakeRoomStore) UnlockRoomCallCount() int

func (*FakeRoomStore) UnlockRoomCalls added in v0.10.6

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

func (*FakeRoomStore) UnlockRoomReturns added in v0.10.6

func (fake *FakeRoomStore) UnlockRoomReturns(result1 error)

func (*FakeRoomStore) UnlockRoomReturnsOnCall added in v0.10.6

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

Jump to

Keyboard shortcuts

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