servicefakes

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 FakeRoomStore

type FakeRoomStore struct {
	DeleteParticipantStub func(context.Context, string, string) error

	DeleteRoomStub func(context.Context, string) error

	ListParticipantsStub func(context.Context, string) ([]*livekit.ParticipantInfo, error)

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

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

	LoadRoomStub func(context.Context, string) (*livekit.Room, error)

	LockRoomStub func(context.Context, string, time.Duration) (string, error)

	StoreParticipantStub func(context.Context, string, *livekit.ParticipantInfo) error

	StoreRoomStub func(context.Context, *livekit.Room) error

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

func (*FakeRoomStore) DeleteParticipant

func (fake *FakeRoomStore) DeleteParticipant(arg1 context.Context, arg2 string, arg3 string) error

func (*FakeRoomStore) DeleteParticipantArgsForCall

func (fake *FakeRoomStore) DeleteParticipantArgsForCall(i int) (context.Context, string, string)

func (*FakeRoomStore) DeleteParticipantCallCount

func (fake *FakeRoomStore) DeleteParticipantCallCount() int

func (*FakeRoomStore) DeleteParticipantCalls

func (fake *FakeRoomStore) DeleteParticipantCalls(stub func(context.Context, string, string) 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 string) error

func (*FakeRoomStore) DeleteRoomArgsForCall

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

func (*FakeRoomStore) DeleteRoomCallCount

func (fake *FakeRoomStore) DeleteRoomCallCount() int

func (*FakeRoomStore) DeleteRoomCalls

func (fake *FakeRoomStore) DeleteRoomCalls(stub func(context.Context, string) 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 string) ([]*livekit.ParticipantInfo, error)

func (*FakeRoomStore) ListParticipantsArgsForCall

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

func (*FakeRoomStore) ListParticipantsCallCount

func (fake *FakeRoomStore) ListParticipantsCallCount() int

func (*FakeRoomStore) ListParticipantsCalls

func (fake *FakeRoomStore) ListParticipantsCalls(stub func(context.Context, string) ([]*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) ([]*livekit.Room, error)

func (*FakeRoomStore) ListRoomsArgsForCall added in v0.12.5

func (fake *FakeRoomStore) ListRoomsArgsForCall(i int) context.Context

func (*FakeRoomStore) ListRoomsCallCount

func (fake *FakeRoomStore) ListRoomsCallCount() int

func (*FakeRoomStore) ListRoomsCalls

func (fake *FakeRoomStore) ListRoomsCalls(stub func(context.Context) ([]*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 (fake *FakeRoomStore) LoadParticipant(arg1 context.Context, arg2 string, arg3 string) (*livekit.ParticipantInfo, error)

func (*FakeRoomStore) LoadParticipantArgsForCall added in v0.12.4

func (fake *FakeRoomStore) LoadParticipantArgsForCall(i int) (context.Context, string, string)

func (*FakeRoomStore) LoadParticipantCallCount added in v0.12.4

func (fake *FakeRoomStore) LoadParticipantCallCount() int

func (*FakeRoomStore) LoadParticipantCalls added in v0.12.4

func (fake *FakeRoomStore) LoadParticipantCalls(stub func(context.Context, string, string) (*livekit.ParticipantInfo, error))

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

func (*FakeRoomStore) LoadRoomArgsForCall added in v0.12.4

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

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, string) (*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 string, arg3 time.Duration) (string, error)

func (*FakeRoomStore) LockRoomArgsForCall added in v0.10.6

func (fake *FakeRoomStore) LockRoomArgsForCall(i int) (context.Context, string, 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, string, 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 string, arg3 *livekit.ParticipantInfo) error

func (*FakeRoomStore) StoreParticipantArgsForCall added in v0.12.4

func (fake *FakeRoomStore) StoreParticipantArgsForCall(i int) (context.Context, string, *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, string, *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 string, arg3 string) error

func (*FakeRoomStore) UnlockRoomArgsForCall added in v0.10.6

func (fake *FakeRoomStore) UnlockRoomArgsForCall(i int) (context.Context, string, 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, string, 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