servicefakes

package
v1.10.6 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 4 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 {
	CreateRoomStub func(*livekit.Room) error

	DeleteParticipantStub func(string, string) error

	DeleteRoomStub func(string) error

	GetParticipantStub func(string, string) (*livekit.ParticipantInfo, error)

	GetRoomStub func(string) (*livekit.Room, error)

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

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

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

	PersistParticipantStub func(string, *livekit.ParticipantInfo) error

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

func (*FakeRoomStore) CreateRoom

func (fake *FakeRoomStore) CreateRoom(arg1 *livekit.Room) error

func (*FakeRoomStore) CreateRoomArgsForCall

func (fake *FakeRoomStore) CreateRoomArgsForCall(i int) *livekit.Room

func (*FakeRoomStore) CreateRoomCallCount

func (fake *FakeRoomStore) CreateRoomCallCount() int

func (*FakeRoomStore) CreateRoomCalls

func (fake *FakeRoomStore) CreateRoomCalls(stub func(*livekit.Room) error)

func (*FakeRoomStore) CreateRoomReturns

func (fake *FakeRoomStore) CreateRoomReturns(result1 error)

func (*FakeRoomStore) CreateRoomReturnsOnCall

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

func (*FakeRoomStore) DeleteParticipant

func (fake *FakeRoomStore) DeleteParticipant(arg1 string, arg2 string) error

func (*FakeRoomStore) DeleteParticipantArgsForCall

func (fake *FakeRoomStore) DeleteParticipantArgsForCall(i int) (string, string)

func (*FakeRoomStore) DeleteParticipantCallCount

func (fake *FakeRoomStore) DeleteParticipantCallCount() int

func (*FakeRoomStore) DeleteParticipantCalls

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

func (*FakeRoomStore) DeleteRoomArgsForCall

func (fake *FakeRoomStore) DeleteRoomArgsForCall(i int) string

func (*FakeRoomStore) DeleteRoomCallCount

func (fake *FakeRoomStore) DeleteRoomCallCount() int

func (*FakeRoomStore) DeleteRoomCalls

func (fake *FakeRoomStore) DeleteRoomCalls(stub func(string) error)

func (*FakeRoomStore) DeleteRoomReturns

func (fake *FakeRoomStore) DeleteRoomReturns(result1 error)

func (*FakeRoomStore) DeleteRoomReturnsOnCall

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

func (*FakeRoomStore) GetParticipant

func (fake *FakeRoomStore) GetParticipant(arg1 string, arg2 string) (*livekit.ParticipantInfo, error)

func (*FakeRoomStore) GetParticipantArgsForCall

func (fake *FakeRoomStore) GetParticipantArgsForCall(i int) (string, string)

func (*FakeRoomStore) GetParticipantCallCount

func (fake *FakeRoomStore) GetParticipantCallCount() int

func (*FakeRoomStore) GetParticipantCalls

func (fake *FakeRoomStore) GetParticipantCalls(stub func(string, string) (*livekit.ParticipantInfo, error))

func (*FakeRoomStore) GetParticipantReturns

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

func (*FakeRoomStore) GetParticipantReturnsOnCall

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

func (*FakeRoomStore) GetRoom

func (fake *FakeRoomStore) GetRoom(arg1 string) (*livekit.Room, error)

func (*FakeRoomStore) GetRoomArgsForCall

func (fake *FakeRoomStore) GetRoomArgsForCall(i int) string

func (*FakeRoomStore) GetRoomCallCount

func (fake *FakeRoomStore) GetRoomCallCount() int

func (*FakeRoomStore) GetRoomCalls

func (fake *FakeRoomStore) GetRoomCalls(stub func(string) (*livekit.Room, error))

func (*FakeRoomStore) GetRoomReturns

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

func (*FakeRoomStore) GetRoomReturnsOnCall

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

func (*FakeRoomStore) Invocations

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

func (*FakeRoomStore) ListParticipants

func (fake *FakeRoomStore) ListParticipants(arg1 string) ([]*livekit.ParticipantInfo, error)

func (*FakeRoomStore) ListParticipantsArgsForCall

func (fake *FakeRoomStore) ListParticipantsArgsForCall(i int) string

func (*FakeRoomStore) ListParticipantsCallCount

func (fake *FakeRoomStore) ListParticipantsCallCount() int

func (*FakeRoomStore) ListParticipantsCalls

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

func (*FakeRoomStore) ListRoomsCallCount

func (fake *FakeRoomStore) ListRoomsCallCount() int

func (*FakeRoomStore) ListRoomsCalls

func (fake *FakeRoomStore) ListRoomsCalls(stub func() ([]*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) LockRoom added in v0.10.6

func (fake *FakeRoomStore) LockRoom(arg1 string, arg2 time.Duration) (string, error)

func (*FakeRoomStore) LockRoomArgsForCall added in v0.10.6

func (fake *FakeRoomStore) LockRoomArgsForCall(i int) (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(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) PersistParticipant

func (fake *FakeRoomStore) PersistParticipant(arg1 string, arg2 *livekit.ParticipantInfo) error

func (*FakeRoomStore) PersistParticipantArgsForCall

func (fake *FakeRoomStore) PersistParticipantArgsForCall(i int) (string, *livekit.ParticipantInfo)

func (*FakeRoomStore) PersistParticipantCallCount

func (fake *FakeRoomStore) PersistParticipantCallCount() int

func (*FakeRoomStore) PersistParticipantCalls

func (fake *FakeRoomStore) PersistParticipantCalls(stub func(string, *livekit.ParticipantInfo) error)

func (*FakeRoomStore) PersistParticipantReturns

func (fake *FakeRoomStore) PersistParticipantReturns(result1 error)

func (*FakeRoomStore) PersistParticipantReturnsOnCall

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

func (*FakeRoomStore) UnlockRoom added in v0.10.6

func (fake *FakeRoomStore) UnlockRoom(arg1 string, arg2 string) error

func (*FakeRoomStore) UnlockRoomArgsForCall added in v0.10.6

func (fake *FakeRoomStore) UnlockRoomArgsForCall(i int) (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(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