Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) AddAssignmentToTickets(arg0 context.Context, arg1 *pb.Assignment, arg2 []*pb.Ticket) error
- func (m *MockManager) AssignTicketsToMatch(arg0 context.Context, arg1 *pb.Match) (bool, error)
- func (m *MockManager) Close()
- func (m *MockManager) CreateTicket(arg0 context.Context, arg1 *pb.Ticket, arg2 filter.Manager) (*pb.Ticket, error)
- func (m *MockManager) DeleteTicket(arg0 context.Context, arg1 string) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) GetTicket(arg0 context.Context, arg1 string) (*pb.Ticket, error)
- func (m *MockManager) GetTickets(arg0 context.Context, arg1 []string) ([]*pb.Ticket, error)
- func (m *MockManager) ReleaseTicketsFromMatch(arg0 context.Context, arg1 *pb.Match) error
- func (m *MockManager) RequeueTickets(arg0 context.Context, arg1 []*pb.Ticket, arg2 filter.Manager)
- func (m *MockManager) StreamTickets(arg0 context.Context, arg1 string, ...) error
- func (m *MockManager) WatchTicket(arg0 context.Context, arg1 string, arg2 func(context.Context, *pb.Ticket)) error
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AddAssignmentToTickets(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) AssignTicketsToMatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Close() *gomock.Call
- func (mr *MockManagerMockRecorder) CreateTicket(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteTicket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetTicket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) GetTickets(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ReleaseTicketsFromMatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) RequeueTickets(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) StreamTickets(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) WatchTicket(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
AssignTicketsToMatch 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) GetTickets ¶
GetTickets mocks base method.
func (*MockManager) ReleaseTicketsFromMatch ¶
ReleaseTicketsFromMatch mocks base method.
func (*MockManager) RequeueTickets ¶
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.
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.