mock

package
v0.0.0-...-cf826ce Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) AddAssignmentToMatchRequests

func (m *MockManager) AddAssignmentToMatchRequests(arg0 context.Context, arg1 *v1.GameServer, arg2 *v1.Match) error

AddAssignmentToMatchRequests mocks base method.

func (*MockManager) AssignMatchRequestsToMatch

func (m *MockManager) AssignMatchRequestsToMatch(arg0 context.Context, arg1 *v1.Match) (bool, error)

AssignMatchRequestsToMatch mocks base method.

func (*MockManager) Close

func (m *MockManager) Close()

Close mocks base method.

func (*MockManager) CreateMatchRequest

func (m *MockManager) CreateMatchRequest(arg0 context.Context, arg1 *v1.MatchRequest) error

CreateMatchRequest mocks base method.

func (*MockManager) DeleteMatchRequest

func (m *MockManager) DeleteMatchRequest(arg0 context.Context, arg1 string) error

DeleteMatchRequest mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetMatchRequest

func (m *MockManager) GetMatchRequest(arg0 context.Context, arg1 string) (*v10.MatchRequest, error)

GetMatchRequest mocks base method.

func (*MockManager) GetMatchRequests

func (m *MockManager) GetMatchRequests(arg0 context.Context, arg1 []string) ([]*v10.MatchRequest, error)

GetMatchRequests mocks base method.

func (*MockManager) PublishAccumulatedMatchRequests

func (m *MockManager) PublishAccumulatedMatchRequests(arg0 context.Context, arg1 string, arg2 []*v11.StreamTicket) error

PublishAccumulatedMatchRequests mocks base method.

func (*MockManager) ReleaseMatchRequestsFromMatch

func (m *MockManager) ReleaseMatchRequestsFromMatch(arg0 context.Context, arg1 *v1.Match) error

ReleaseMatchRequestsFromMatch mocks base method.

func (*MockManager) RequeueMatchRequests

func (m *MockManager) RequeueMatchRequests(arg0 context.Context, arg1 []*v11.StreamTicket)

RequeueMatchRequests mocks base method.

func (*MockManager) StreamAccumulatedMatchRequests

func (m *MockManager) StreamAccumulatedMatchRequests(arg0 context.Context, arg1 string, arg2 func(context.Context, []*v11.StreamTicket)) error

StreamAccumulatedMatchRequests mocks base method.

func (*MockManager) StreamMatchRequests

func (m *MockManager) StreamMatchRequests(arg0 context.Context, arg1 string, arg2 func(context.Context, *v11.StreamTicket)) error

StreamMatchRequests mocks base method.

func (*MockManager) WatchMatchRequest

func (m *MockManager) WatchMatchRequest(arg0 context.Context, arg1 string, arg2 func(context.Context, *v10.MatchRequest)) error

WatchMatchRequest mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) AddAssignmentToMatchRequests

func (mr *MockManagerMockRecorder) AddAssignmentToMatchRequests(arg0, arg1, arg2 interface{}) *gomock.Call

AddAssignmentToMatchRequests indicates an expected call of AddAssignmentToMatchRequests.

func (*MockManagerMockRecorder) AssignMatchRequestsToMatch

func (mr *MockManagerMockRecorder) AssignMatchRequestsToMatch(arg0, arg1 interface{}) *gomock.Call

AssignMatchRequestsToMatch indicates an expected call of AssignMatchRequestsToMatch.

func (*MockManagerMockRecorder) Close

func (mr *MockManagerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockManagerMockRecorder) CreateMatchRequest

func (mr *MockManagerMockRecorder) CreateMatchRequest(arg0, arg1 interface{}) *gomock.Call

CreateMatchRequest indicates an expected call of CreateMatchRequest.

func (*MockManagerMockRecorder) DeleteMatchRequest

func (mr *MockManagerMockRecorder) DeleteMatchRequest(arg0, arg1 interface{}) *gomock.Call

DeleteMatchRequest indicates an expected call of DeleteMatchRequest.

func (*MockManagerMockRecorder) GetMatchRequest

func (mr *MockManagerMockRecorder) GetMatchRequest(arg0, arg1 interface{}) *gomock.Call

GetMatchRequest indicates an expected call of GetMatchRequest.

func (*MockManagerMockRecorder) GetMatchRequests

func (mr *MockManagerMockRecorder) GetMatchRequests(arg0, arg1 interface{}) *gomock.Call

GetMatchRequests indicates an expected call of GetMatchRequests.

func (*MockManagerMockRecorder) PublishAccumulatedMatchRequests

func (mr *MockManagerMockRecorder) PublishAccumulatedMatchRequests(arg0, arg1, arg2 interface{}) *gomock.Call

PublishAccumulatedMatchRequests indicates an expected call of PublishAccumulatedMatchRequests.

func (*MockManagerMockRecorder) ReleaseMatchRequestsFromMatch

func (mr *MockManagerMockRecorder) ReleaseMatchRequestsFromMatch(arg0, arg1 interface{}) *gomock.Call

ReleaseMatchRequestsFromMatch indicates an expected call of ReleaseMatchRequestsFromMatch.

func (*MockManagerMockRecorder) RequeueMatchRequests

func (mr *MockManagerMockRecorder) RequeueMatchRequests(arg0, arg1 interface{}) *gomock.Call

RequeueMatchRequests indicates an expected call of RequeueMatchRequests.

func (*MockManagerMockRecorder) StreamAccumulatedMatchRequests

func (mr *MockManagerMockRecorder) StreamAccumulatedMatchRequests(arg0, arg1, arg2 interface{}) *gomock.Call

StreamAccumulatedMatchRequests indicates an expected call of StreamAccumulatedMatchRequests.

func (*MockManagerMockRecorder) StreamMatchRequests

func (mr *MockManagerMockRecorder) StreamMatchRequests(arg0, arg1, arg2 interface{}) *gomock.Call

StreamMatchRequests indicates an expected call of StreamMatchRequests.

func (*MockManagerMockRecorder) WatchMatchRequest

func (mr *MockManagerMockRecorder) WatchMatchRequest(arg0, arg1, arg2 interface{}) *gomock.Call

WatchMatchRequest indicates an expected call of WatchMatchRequest.

Jump to

Keyboard shortcuts

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