Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) CheckDuplicate(arg0 context.Context, arg1 uint) (bool, error)
- func (m *MockService) Create(arg0 context.Context, arg1 *collection0.Collection) error
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Goa() collection.Service
- func (m *MockService) SetOriginalID(arg0 context.Context, arg1 uint, arg2 string) error
- func (m *MockService) SetStatus(arg0 context.Context, arg1 uint, arg2 collection0.Status) error
- func (m *MockService) SetStatusInProgress(arg0 context.Context, arg1 uint, arg2 time.Time) error
- func (m *MockService) SetStatusPending(arg0 context.Context, arg1 uint, arg2 []byte) error
- func (m *MockService) UpdateWorkflowStatus(arg0 context.Context, arg1 uint, arg2, arg3, arg4, arg5, arg6, arg7 string, ...) error
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) CheckDuplicate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) Goa() *gomock.Call
- func (mr *MockServiceMockRecorder) SetOriginalID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SetStatusInProgress(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SetStatusPending(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) UpdateWorkflowStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) CheckDuplicate ¶ added in v0.39.0
CheckDuplicate mocks base method.
func (*MockService) Create ¶
func (m *MockService) Create(arg0 context.Context, arg1 *collection0.Collection) error
Create mocks base method.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) SetOriginalID ¶ added in v0.19.3
SetOriginalID mocks base method.
func (*MockService) SetStatus ¶ added in v0.19.0
func (m *MockService) SetStatus(arg0 context.Context, arg1 uint, arg2 collection0.Status) error
SetStatus mocks base method.
func (*MockService) SetStatusInProgress ¶ added in v0.19.0
SetStatusInProgress mocks base method.
func (*MockService) SetStatusPending ¶ added in v0.22.0
SetStatusPending mocks base method.
func (*MockService) UpdateWorkflowStatus ¶
func (m *MockService) UpdateWorkflowStatus(arg0 context.Context, arg1 uint, arg2, arg3, arg4, arg5, arg6, arg7 string, arg8 collection0.Status, arg9 time.Time) error
UpdateWorkflowStatus mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) CheckDuplicate ¶ added in v0.39.0
func (mr *MockServiceMockRecorder) CheckDuplicate(arg0, arg1 interface{}) *gomock.Call
CheckDuplicate indicates an expected call of CheckDuplicate.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) Goa ¶
func (mr *MockServiceMockRecorder) Goa() *gomock.Call
Goa indicates an expected call of Goa.
func (*MockServiceMockRecorder) SetOriginalID ¶ added in v0.19.3
func (mr *MockServiceMockRecorder) SetOriginalID(arg0, arg1, arg2 interface{}) *gomock.Call
SetOriginalID indicates an expected call of SetOriginalID.
func (*MockServiceMockRecorder) SetStatus ¶ added in v0.19.0
func (mr *MockServiceMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetStatus indicates an expected call of SetStatus.
func (*MockServiceMockRecorder) SetStatusInProgress ¶ added in v0.19.0
func (mr *MockServiceMockRecorder) SetStatusInProgress(arg0, arg1, arg2 interface{}) *gomock.Call
SetStatusInProgress indicates an expected call of SetStatusInProgress.
func (*MockServiceMockRecorder) SetStatusPending ¶ added in v0.22.0
func (mr *MockServiceMockRecorder) SetStatusPending(arg0, arg1, arg2 interface{}) *gomock.Call
SetStatusPending indicates an expected call of SetStatusPending.
func (*MockServiceMockRecorder) UpdateWorkflowStatus ¶
func (mr *MockServiceMockRecorder) UpdateWorkflowStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *gomock.Call
UpdateWorkflowStatus indicates an expected call of UpdateWorkflowStatus.