Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockCustomerService
- func (m *MockCustomerService) EXPECT() *MockCustomerServiceMockRecorder
- func (m *MockCustomerService) FindByNumber(arg0 context.Context, arg1 *query.ListByNumber) ([]model.Operation, error)
- func (m *MockCustomerService) FindByVIN(arg0 context.Context, arg1 *query.ListByVIN) ([]model.Operation, error)
- type MockCustomerServiceMockRecorder
- type MockOperationRepository
- func (m *MockOperationRepository) Create(arg0 context.Context, arg1 ...*model.Operation) error
- func (m *MockOperationRepository) DeleteByResourceID(arg0 context.Context, arg1 int64) (int64, error)
- func (m *MockOperationRepository) EXPECT() *MockOperationRepositoryMockRecorder
- func (m *MockOperationRepository) FindByNumber(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) ([]model.Operation, error)
- func (m *MockOperationRepository) FindByVIN(arg0 context.Context, arg1 string, arg2 uint64, arg3 string) ([]model.Operation, error)
- type MockOperationRepositoryMockRecorder
- func (mr *MockOperationRepositoryMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockOperationRepositoryMockRecorder) DeleteByResourceID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOperationRepositoryMockRecorder) FindByNumber(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockOperationRepositoryMockRecorder) FindByVIN(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockProducer
- type MockProducerMockRecorder
- type MockResourceRepository
- func (m *MockResourceRepository) All(arg0 context.Context) ([]model.Resource, error)
- func (m *MockResourceRepository) Create(arg0 context.Context, arg1 *model.Resource) error
- func (m *MockResourceRepository) EXPECT() *MockResourceRepositoryMockRecorder
- func (m *MockResourceRepository) FindByUID(arg0 context.Context, arg1 string) (*model.Resource, error)
- func (m *MockResourceRepository) Update(arg0 context.Context, arg1 *model.Resource) error
- type MockResourceRepositoryMockRecorder
- func (mr *MockResourceRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call
- func (mr *MockResourceRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceRepositoryMockRecorder) FindByUID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockResourceRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCustomerService ¶
type MockCustomerService struct {
// contains filtered or unexported fields
}
MockCustomerService is a mock of CustomerService interface.
func NewMockCustomerService ¶
func NewMockCustomerService(ctrl *gomock.Controller) *MockCustomerService
NewMockCustomerService creates a new mock instance.
func (*MockCustomerService) EXPECT ¶
func (m *MockCustomerService) EXPECT() *MockCustomerServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCustomerService) FindByNumber ¶
func (m *MockCustomerService) FindByNumber(arg0 context.Context, arg1 *query.ListByNumber) ([]model.Operation, error)
FindByNumber mocks base method.
type MockCustomerServiceMockRecorder ¶
type MockCustomerServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCustomerServiceMockRecorder is the mock recorder for MockCustomerService.
func (*MockCustomerServiceMockRecorder) FindByNumber ¶
func (mr *MockCustomerServiceMockRecorder) FindByNumber(arg0, arg1 interface{}) *gomock.Call
FindByNumber indicates an expected call of FindByNumber.
func (*MockCustomerServiceMockRecorder) FindByVIN ¶
func (mr *MockCustomerServiceMockRecorder) FindByVIN(arg0, arg1 interface{}) *gomock.Call
FindByVIN indicates an expected call of FindByVIN.
type MockOperationRepository ¶
type MockOperationRepository struct {
// contains filtered or unexported fields
}
MockOperationRepository is a mock of OperationRepository interface.
func NewMockOperationRepository ¶
func NewMockOperationRepository(ctrl *gomock.Controller) *MockOperationRepository
NewMockOperationRepository creates a new mock instance.
func (*MockOperationRepository) DeleteByResourceID ¶
func (m *MockOperationRepository) DeleteByResourceID(arg0 context.Context, arg1 int64) (int64, error)
DeleteByResourceID mocks base method.
func (*MockOperationRepository) EXPECT ¶
func (m *MockOperationRepository) EXPECT() *MockOperationRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockOperationRepositoryMockRecorder ¶
type MockOperationRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockOperationRepositoryMockRecorder is the mock recorder for MockOperationRepository.
func (*MockOperationRepositoryMockRecorder) Create ¶
func (mr *MockOperationRepositoryMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockOperationRepositoryMockRecorder) DeleteByResourceID ¶
func (mr *MockOperationRepositoryMockRecorder) DeleteByResourceID(arg0, arg1 interface{}) *gomock.Call
DeleteByResourceID indicates an expected call of DeleteByResourceID.
func (*MockOperationRepositoryMockRecorder) FindByNumber ¶
func (mr *MockOperationRepositoryMockRecorder) FindByNumber(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindByNumber indicates an expected call of FindByNumber.
func (*MockOperationRepositoryMockRecorder) FindByVIN ¶
func (mr *MockOperationRepositoryMockRecorder) FindByVIN(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindByVIN indicates an expected call of FindByVIN.
type MockProducer ¶
type MockProducer struct {
// contains filtered or unexported fields
}
MockProducer is a mock of Producer interface.
func NewMockProducer ¶
func NewMockProducer(ctrl *gomock.Controller) *MockProducer
NewMockProducer creates a new mock instance.
func (*MockProducer) EXPECT ¶
func (m *MockProducer) EXPECT() *MockProducerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProducer) Produce ¶
func (m *MockProducer) Produce(arg0 context.Context, arg1 ...schema.Producable) error
Produce mocks base method.
type MockProducerMockRecorder ¶
type MockProducerMockRecorder struct {
// contains filtered or unexported fields
}
MockProducerMockRecorder is the mock recorder for MockProducer.
func (*MockProducerMockRecorder) Produce ¶
func (mr *MockProducerMockRecorder) Produce(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Produce indicates an expected call of Produce.
type MockResourceRepository ¶
type MockResourceRepository struct {
// contains filtered or unexported fields
}
MockResourceRepository is a mock of ResourceRepository interface.
func NewMockResourceRepository ¶
func NewMockResourceRepository(ctrl *gomock.Controller) *MockResourceRepository
NewMockResourceRepository creates a new mock instance.
func (*MockResourceRepository) EXPECT ¶
func (m *MockResourceRepository) EXPECT() *MockResourceRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockResourceRepositoryMockRecorder ¶
type MockResourceRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceRepositoryMockRecorder is the mock recorder for MockResourceRepository.
func (*MockResourceRepositoryMockRecorder) All ¶
func (mr *MockResourceRepositoryMockRecorder) All(arg0 interface{}) *gomock.Call
All indicates an expected call of All.
func (*MockResourceRepositoryMockRecorder) Create ¶
func (mr *MockResourceRepositoryMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockResourceRepositoryMockRecorder) FindByUID ¶
func (mr *MockResourceRepositoryMockRecorder) FindByUID(arg0, arg1 interface{}) *gomock.Call
FindByUID indicates an expected call of FindByUID.
func (*MockResourceRepositoryMockRecorder) Update ¶
func (mr *MockResourceRepositoryMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.