mock

package
v0.0.0-...-c39517e Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 5 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) AddAssignmentToTickets

func (m *MockManager) AddAssignmentToTickets(arg0 context.Context, arg1 *pb.Assignment, arg2 []*pb.Ticket) error

AddAssignmentToTickets mocks base method.

func (*MockManager) AssignTicketsToMatch

func (m *MockManager) AssignTicketsToMatch(arg0 context.Context, arg1 *pb.Match) (bool, error)

AssignTicketsToMatch mocks base method.

func (*MockManager) Close

func (m *MockManager) Close()

Close mocks base method.

func (*MockManager) CreateTicket

func (m *MockManager) CreateTicket(arg0 context.Context, arg1 *pb.Ticket, arg2 filter.Manager) (*pb.Ticket, error)

CreateTicket mocks base method.

func (*MockManager) DeleteTicket

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

DeleteTicket 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) GetTicket

func (m *MockManager) GetTicket(arg0 context.Context, arg1 string) (*pb.Ticket, error)

GetTicket mocks base method.

func (*MockManager) GetTickets

func (m *MockManager) GetTickets(arg0 context.Context, arg1 []string) ([]*pb.Ticket, error)

GetTickets mocks base method.

func (*MockManager) ReleaseTicketsFromMatch

func (m *MockManager) ReleaseTicketsFromMatch(arg0 context.Context, arg1 *pb.Match) error

ReleaseTicketsFromMatch mocks base method.

func (*MockManager) RequeueTickets

func (m *MockManager) RequeueTickets(arg0 context.Context, arg1 []*pb.Ticket, arg2 filter.Manager)

RequeueTickets mocks base method.

func (*MockManager) StreamTickets

func (m *MockManager) StreamTickets(arg0 context.Context, arg1 string, arg2 func(context.Context, *pb.StreamTicket, *pb.Ticket)) error

StreamTickets mocks base method.

func (*MockManager) WatchTicket

func (m *MockManager) WatchTicket(arg0 context.Context, arg1 string, arg2 func(context.Context, *pb.Ticket)) error

WatchTicket mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) AddAssignmentToTickets

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

AddAssignmentToTickets indicates an expected call of AddAssignmentToTickets.

func (*MockManagerMockRecorder) AssignTicketsToMatch

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

AssignTicketsToMatch indicates an expected call of AssignTicketsToMatch.

func (*MockManagerMockRecorder) Close

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

Close indicates an expected call of Close.

func (*MockManagerMockRecorder) CreateTicket

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

CreateTicket indicates an expected call of CreateTicket.

func (*MockManagerMockRecorder) DeleteTicket

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

DeleteTicket indicates an expected call of DeleteTicket.

func (*MockManagerMockRecorder) GetTicket

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

GetTicket indicates an expected call of GetTicket.

func (*MockManagerMockRecorder) GetTickets

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

GetTickets indicates an expected call of GetTickets.

func (*MockManagerMockRecorder) ReleaseTicketsFromMatch

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

ReleaseTicketsFromMatch indicates an expected call of ReleaseTicketsFromMatch.

func (*MockManagerMockRecorder) RequeueTickets

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

RequeueTickets indicates an expected call of RequeueTickets.

func (*MockManagerMockRecorder) StreamTickets

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

StreamTickets indicates an expected call of StreamTickets.

func (*MockManagerMockRecorder) WatchTicket

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

WatchTicket indicates an expected call of WatchTicket.

Jump to

Keyboard shortcuts

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