mock

package
v0.0.0-...-0de79a6 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAPIUtil

type MockAPIUtil struct {
	// contains filtered or unexported fields
}

MockAPIUtil is a mock of APIUtil interface

func NewMockAPIUtil

func NewMockAPIUtil(ctrl *gomock.Controller) *MockAPIUtil

NewMockAPIUtil creates a new mock instance

func (*MockAPIUtil) CreateSession

func (m *MockAPIUtil) CreateSession(arg0 int) ([]*models.Session, []error)

CreateSession mocks base method

func (*MockAPIUtil) EXPECT

func (m *MockAPIUtil) EXPECT() *MockAPIUtilMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockAPIUtil) GetDataUsed

func (m *MockAPIUtil) GetDataUsed() (*models.UsageInfo, error)

GetDataUsed mocks base method

func (*MockAPIUtil) TestSession

func (m *MockAPIUtil) TestSession(arg0 []string) ([]*string, []error)

TestSession mocks base method

type MockAPIUtilMockRecorder

type MockAPIUtilMockRecorder struct {
	// contains filtered or unexported fields
}

MockAPIUtilMockRecorder is the mock recorder for MockAPIUtil

func (*MockAPIUtilMockRecorder) CreateSession

func (mr *MockAPIUtilMockRecorder) CreateSession(arg0 interface{}) *gomock.Call

CreateSession indicates an expected call of CreateSession

func (*MockAPIUtilMockRecorder) GetDataUsed

func (mr *MockAPIUtilMockRecorder) GetDataUsed() *gomock.Call

GetDataUsed indicates an expected call of GetDataUsed

func (*MockAPIUtilMockRecorder) TestSession

func (mr *MockAPIUtilMockRecorder) TestSession(arg0 interface{}) *gomock.Call

TestSession indicates an expected call of TestSession

type MockGoRez

type MockGoRez struct {
	// contains filtered or unexported fields
}

MockGoRez is a mock of GoRez interface

func NewMockGoRez

func NewMockGoRez(ctrl *gomock.Controller) *MockGoRez

NewMockGoRez creates a new mock instance

func (*MockGoRez) EXPECT

func (m *MockGoRez) EXPECT() *MockGoRezMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGoRez) GetGodRecItems

func (m *MockGoRez) GetGodRecItems(godIDs []int) ([][]byte, []error)

GetGodRecItems mocks base method

func (*MockGoRez) GetGods

func (m *MockGoRez) GetGods() ([]byte, error)

GetGods mocks base method

func (*MockGoRez) GetItems

func (m *MockGoRez) GetItems() ([]byte, error)

GetItems mocks base method

func (*MockGoRez) GetMatchDetails

func (m *MockGoRez) GetMatchDetails(matchID string) ([]byte, error)

GetMatchDetails mocks base method

func (*MockGoRez) GetMatchDetailsBatch

func (m *MockGoRez) GetMatchDetailsBatch(matchIDs ...string) ([][]byte, []error)

GetMatchDetailsBatch mocks base method

func (*MockGoRez) GetMatchHistory

func (m *MockGoRez) GetMatchHistory(playerID []int) ([][]byte, []error)

GetMatchHistory mocks base method

func (*MockGoRez) GetMatchIDsByQueue

func (m *MockGoRez) GetMatchIDsByQueue(dateStrings []string, queueIDs []models.QueueID) ([]*[]models.MatchIDWithQueue, []error)

GetMatchIDsByQueue mocks base method

func (*MockGoRez) GetMatchPlayerDetails

func (m *MockGoRez) GetMatchPlayerDetails(matchID string) ([]byte, error)

GetMatchPlayerDetails mocks base method

func (*MockGoRez) GetPlayer

func (m *MockGoRez) GetPlayer(playerID int) ([]byte, error)

GetPlayer mocks base method

func (*MockGoRez) GetPlayerBatch

func (m *MockGoRez) GetPlayerBatch(playerIDs []int) ([][]byte, []error)

GetPlayerBatch mocks base method

func (*MockGoRez) GetPlayerIDByName

func (m *MockGoRez) GetPlayerIDByName(playerName []string) ([]*models.PlayerIDWithName, error)

GetPlayerIDByName mocks base method

func (*MockGoRez) GetQueueStats

func (m *MockGoRez) GetQueueStats(playerID []int) ([]*models.QueueStat, []error)

GetQueueStats mocks base method

func (*MockGoRez) Init

func (m *MockGoRez) Init() error

Init mocks base method

func (*MockGoRez) Shutdown

func (m *MockGoRez) Shutdown()

Shutdown mocks base method

type MockGoRezMockRecorder

type MockGoRezMockRecorder struct {
	// contains filtered or unexported fields
}

MockGoRezMockRecorder is the mock recorder for MockGoRez

func (*MockGoRezMockRecorder) GetGodRecItems

func (mr *MockGoRezMockRecorder) GetGodRecItems(godIDs interface{}) *gomock.Call

GetGodRecItems indicates an expected call of GetGodRecItems

func (*MockGoRezMockRecorder) GetGods

func (mr *MockGoRezMockRecorder) GetGods() *gomock.Call

GetGods indicates an expected call of GetGods

func (*MockGoRezMockRecorder) GetItems

func (mr *MockGoRezMockRecorder) GetItems() *gomock.Call

GetItems indicates an expected call of GetItems

func (*MockGoRezMockRecorder) GetMatchDetails

func (mr *MockGoRezMockRecorder) GetMatchDetails(matchID interface{}) *gomock.Call

GetMatchDetails indicates an expected call of GetMatchDetails

func (*MockGoRezMockRecorder) GetMatchDetailsBatch

func (mr *MockGoRezMockRecorder) GetMatchDetailsBatch(matchIDs ...interface{}) *gomock.Call

GetMatchDetailsBatch indicates an expected call of GetMatchDetailsBatch

func (*MockGoRezMockRecorder) GetMatchHistory

func (mr *MockGoRezMockRecorder) GetMatchHistory(playerID interface{}) *gomock.Call

GetMatchHistory indicates an expected call of GetMatchHistory

func (*MockGoRezMockRecorder) GetMatchIDsByQueue

func (mr *MockGoRezMockRecorder) GetMatchIDsByQueue(dateStrings, queueIDs interface{}) *gomock.Call

GetMatchIDsByQueue indicates an expected call of GetMatchIDsByQueue

func (*MockGoRezMockRecorder) GetMatchPlayerDetails

func (mr *MockGoRezMockRecorder) GetMatchPlayerDetails(matchID interface{}) *gomock.Call

GetMatchPlayerDetails indicates an expected call of GetMatchPlayerDetails

func (*MockGoRezMockRecorder) GetPlayer

func (mr *MockGoRezMockRecorder) GetPlayer(playerID interface{}) *gomock.Call

GetPlayer indicates an expected call of GetPlayer

func (*MockGoRezMockRecorder) GetPlayerBatch

func (mr *MockGoRezMockRecorder) GetPlayerBatch(playerIDs interface{}) *gomock.Call

GetPlayerBatch indicates an expected call of GetPlayerBatch

func (*MockGoRezMockRecorder) GetPlayerIDByName

func (mr *MockGoRezMockRecorder) GetPlayerIDByName(playerName interface{}) *gomock.Call

GetPlayerIDByName indicates an expected call of GetPlayerIDByName

func (*MockGoRezMockRecorder) GetQueueStats

func (mr *MockGoRezMockRecorder) GetQueueStats(playerID interface{}) *gomock.Call

GetQueueStats indicates an expected call of GetQueueStats

func (*MockGoRezMockRecorder) Init

func (mr *MockGoRezMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init

func (*MockGoRezMockRecorder) Shutdown

func (mr *MockGoRezMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown

type MockGodItemInfo

type MockGodItemInfo struct {
	// contains filtered or unexported fields
}

MockGodItemInfo is a mock of GodItemInfo interface

func NewMockGodItemInfo

func NewMockGodItemInfo(ctrl *gomock.Controller) *MockGodItemInfo

NewMockGodItemInfo creates a new mock instance

func (*MockGodItemInfo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGodItemInfo) GetGodRecItems

func (m *MockGodItemInfo) GetGodRecItems(godIDs []int) ([][]byte, []error)

GetGodRecItems mocks base method

func (*MockGodItemInfo) GetGods

func (m *MockGodItemInfo) GetGods() ([]byte, error)

GetGods mocks base method

func (*MockGodItemInfo) GetItems

func (m *MockGodItemInfo) GetItems() ([]byte, error)

GetItems mocks base method

type MockGodItemInfoMockRecorder

type MockGodItemInfoMockRecorder struct {
	// contains filtered or unexported fields
}

MockGodItemInfoMockRecorder is the mock recorder for MockGodItemInfo

func (*MockGodItemInfoMockRecorder) GetGodRecItems

func (mr *MockGodItemInfoMockRecorder) GetGodRecItems(godIDs interface{}) *gomock.Call

GetGodRecItems indicates an expected call of GetGodRecItems

func (*MockGodItemInfoMockRecorder) GetGods

func (mr *MockGodItemInfoMockRecorder) GetGods() *gomock.Call

GetGods indicates an expected call of GetGods

func (*MockGodItemInfoMockRecorder) GetItems

func (mr *MockGodItemInfoMockRecorder) GetItems() *gomock.Call

GetItems indicates an expected call of GetItems

type MockGorezUtil

type MockGorezUtil struct {
	// contains filtered or unexported fields
}

MockGorezUtil is a mock of GorezUtil interface

func NewMockGorezUtil

func NewMockGorezUtil(ctrl *gomock.Controller) *MockGorezUtil

NewMockGorezUtil creates a new mock instance

func (*MockGorezUtil) BulkAsyncSessionRequest

func (m *MockGorezUtil) BulkAsyncSessionRequest(arg0 []func(*models0.Session) *models.Request) ([][]byte, []error)

BulkAsyncSessionRequest mocks base method

func (*MockGorezUtil) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGorezUtil) MultiRequest

func (m *MockGorezUtil) MultiRequest(requestArgs []string, endpoint, method string) ([][]byte, []error)

MultiRequest mocks base method

func (*MockGorezUtil) SingleRequest

func (m *MockGorezUtil) SingleRequest(url, endpoint, endpointArgs string) ([]byte, error)

SingleRequest mocks base method

type MockGorezUtilMockRecorder

type MockGorezUtilMockRecorder struct {
	// contains filtered or unexported fields
}

MockGorezUtilMockRecorder is the mock recorder for MockGorezUtil

func (*MockGorezUtilMockRecorder) BulkAsyncSessionRequest

func (mr *MockGorezUtilMockRecorder) BulkAsyncSessionRequest(arg0 interface{}) *gomock.Call

BulkAsyncSessionRequest indicates an expected call of BulkAsyncSessionRequest

func (*MockGorezUtilMockRecorder) MultiRequest

func (mr *MockGorezUtilMockRecorder) MultiRequest(requestArgs, endpoint, method interface{}) *gomock.Call

MultiRequest indicates an expected call of MultiRequest

func (*MockGorezUtilMockRecorder) SingleRequest

func (mr *MockGorezUtilMockRecorder) SingleRequest(url, endpoint, endpointArgs interface{}) *gomock.Call

SingleRequest indicates an expected call of SingleRequest

type MockMatchInfo

type MockMatchInfo struct {
	// contains filtered or unexported fields
}

MockMatchInfo is a mock of MatchInfo interface

func NewMockMatchInfo

func NewMockMatchInfo(ctrl *gomock.Controller) *MockMatchInfo

NewMockMatchInfo creates a new mock instance

func (*MockMatchInfo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMatchInfo) GetMatchDetails

func (m *MockMatchInfo) GetMatchDetails(matchID string) ([]byte, error)

GetMatchDetails mocks base method

func (*MockMatchInfo) GetMatchDetailsBatch

func (m *MockMatchInfo) GetMatchDetailsBatch(matchIDs ...string) ([][]byte, []error)

GetMatchDetailsBatch mocks base method

func (*MockMatchInfo) GetMatchIDsByQueue

func (m *MockMatchInfo) GetMatchIDsByQueue(dateStrings []string, queueIDs []models.QueueID) ([]*[]models.MatchIDWithQueue, []error)

GetMatchIDsByQueue mocks base method

func (*MockMatchInfo) GetMatchPlayerDetails

func (m *MockMatchInfo) GetMatchPlayerDetails(matchID string) ([]byte, error)

GetMatchPlayerDetails mocks base method

type MockMatchInfoMockRecorder

type MockMatchInfoMockRecorder struct {
	// contains filtered or unexported fields
}

MockMatchInfoMockRecorder is the mock recorder for MockMatchInfo

func (*MockMatchInfoMockRecorder) GetMatchDetails

func (mr *MockMatchInfoMockRecorder) GetMatchDetails(matchID interface{}) *gomock.Call

GetMatchDetails indicates an expected call of GetMatchDetails

func (*MockMatchInfoMockRecorder) GetMatchDetailsBatch

func (mr *MockMatchInfoMockRecorder) GetMatchDetailsBatch(matchIDs ...interface{}) *gomock.Call

GetMatchDetailsBatch indicates an expected call of GetMatchDetailsBatch

func (*MockMatchInfoMockRecorder) GetMatchIDsByQueue

func (mr *MockMatchInfoMockRecorder) GetMatchIDsByQueue(dateStrings, queueIDs interface{}) *gomock.Call

GetMatchIDsByQueue indicates an expected call of GetMatchIDsByQueue

func (*MockMatchInfoMockRecorder) GetMatchPlayerDetails

func (mr *MockMatchInfoMockRecorder) GetMatchPlayerDetails(matchID interface{}) *gomock.Call

GetMatchPlayerDetails indicates an expected call of GetMatchPlayerDetails

type MockPlayerInfo

type MockPlayerInfo struct {
	// contains filtered or unexported fields
}

MockPlayerInfo is a mock of PlayerInfo interface

func NewMockPlayerInfo

func NewMockPlayerInfo(ctrl *gomock.Controller) *MockPlayerInfo

NewMockPlayerInfo creates a new mock instance

func (*MockPlayerInfo) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockPlayerInfo) GetMatchHistory

func (m *MockPlayerInfo) GetMatchHistory(playerID []int) ([][]byte, []error)

GetMatchHistory mocks base method

func (*MockPlayerInfo) GetPlayer

func (m *MockPlayerInfo) GetPlayer(playerID int) ([]byte, error)

GetPlayer mocks base method

func (*MockPlayerInfo) GetPlayerBatch

func (m *MockPlayerInfo) GetPlayerBatch(playerIDs []int) ([][]byte, []error)

GetPlayerBatch mocks base method

func (*MockPlayerInfo) GetPlayerIDByName

func (m *MockPlayerInfo) GetPlayerIDByName(playerName []string) ([]*models.PlayerIDWithName, error)

GetPlayerIDByName mocks base method

func (*MockPlayerInfo) GetQueueStats

func (m *MockPlayerInfo) GetQueueStats(playerID []int) ([]*models.QueueStat, []error)

GetQueueStats mocks base method

type MockPlayerInfoMockRecorder

type MockPlayerInfoMockRecorder struct {
	// contains filtered or unexported fields
}

MockPlayerInfoMockRecorder is the mock recorder for MockPlayerInfo

func (*MockPlayerInfoMockRecorder) GetMatchHistory

func (mr *MockPlayerInfoMockRecorder) GetMatchHistory(playerID interface{}) *gomock.Call

GetMatchHistory indicates an expected call of GetMatchHistory

func (*MockPlayerInfoMockRecorder) GetPlayer

func (mr *MockPlayerInfoMockRecorder) GetPlayer(playerID interface{}) *gomock.Call

GetPlayer indicates an expected call of GetPlayer

func (*MockPlayerInfoMockRecorder) GetPlayerBatch

func (mr *MockPlayerInfoMockRecorder) GetPlayerBatch(playerIDs interface{}) *gomock.Call

GetPlayerBatch indicates an expected call of GetPlayerBatch

func (*MockPlayerInfoMockRecorder) GetPlayerIDByName

func (mr *MockPlayerInfoMockRecorder) GetPlayerIDByName(playerName interface{}) *gomock.Call

GetPlayerIDByName indicates an expected call of GetPlayerIDByName

func (*MockPlayerInfoMockRecorder) GetQueueStats

func (mr *MockPlayerInfoMockRecorder) GetQueueStats(playerID interface{}) *gomock.Call

GetQueueStats indicates an expected call of GetQueueStats

type MockSessionCache

type MockSessionCache struct {
	// contains filtered or unexported fields
}

MockSessionCache is a mock of SessionCache interface

func NewMockSessionCache

func NewMockSessionCache(ctrl *gomock.Controller) *MockSessionCache

NewMockSessionCache creates a new mock instance

func (*MockSessionCache) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockSessionCache) ReadSessions

func (m *MockSessionCache) ReadSessions() ([]*models1.Session, error)

ReadSessions mocks base method

func (*MockSessionCache) SaveSessions

func (m *MockSessionCache) SaveSessions(arg0 []*models1.Session) error

SaveSessions mocks base method

type MockSessionCacheMockRecorder

type MockSessionCacheMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionCacheMockRecorder is the mock recorder for MockSessionCache

func (*MockSessionCacheMockRecorder) ReadSessions

func (mr *MockSessionCacheMockRecorder) ReadSessions() *gomock.Call

ReadSessions indicates an expected call of ReadSessions

func (*MockSessionCacheMockRecorder) SaveSessions

func (mr *MockSessionCacheMockRecorder) SaveSessions(arg0 interface{}) *gomock.Call

SaveSessions indicates an expected call of SaveSessions

Jump to

Keyboard shortcuts

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