Documentation ¶
Overview ¶
Package mockstore is a generated GoMock package.
Index ¶
- 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 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 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 ¶ added in v0.0.31
func (mr *MockOperationRepositoryMockRecorder) FindByVIN(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FindByVIN indicates an expected call of FindByVIN.
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.