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{}) *ServiceCheckDuplicateCall
- func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *ServiceCreateCall
- func (mr *MockServiceMockRecorder) Goa() *ServiceGoaCall
- func (mr *MockServiceMockRecorder) SetOriginalID(arg0, arg1, arg2 interface{}) *ServiceSetOriginalIDCall
- func (mr *MockServiceMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *ServiceSetStatusCall
- func (mr *MockServiceMockRecorder) SetStatusInProgress(arg0, arg1, arg2 interface{}) *ServiceSetStatusInProgressCall
- func (mr *MockServiceMockRecorder) SetStatusPending(arg0, arg1, arg2 interface{}) *ServiceSetStatusPendingCall
- func (mr *MockServiceMockRecorder) UpdateWorkflowStatus(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 interface{}) *ServiceUpdateWorkflowStatusCall
- type ServiceCheckDuplicateCall
- func (c *ServiceCheckDuplicateCall) Do(f func(context.Context, uint) (bool, error)) *ServiceCheckDuplicateCall
- func (c *ServiceCheckDuplicateCall) DoAndReturn(f func(context.Context, uint) (bool, error)) *ServiceCheckDuplicateCall
- func (c *ServiceCheckDuplicateCall) Return(arg0 bool, arg1 error) *ServiceCheckDuplicateCall
- type ServiceCreateCall
- type ServiceGoaCall
- type ServiceSetOriginalIDCall
- func (c *ServiceSetOriginalIDCall) Do(f func(context.Context, uint, string) error) *ServiceSetOriginalIDCall
- func (c *ServiceSetOriginalIDCall) DoAndReturn(f func(context.Context, uint, string) error) *ServiceSetOriginalIDCall
- func (c *ServiceSetOriginalIDCall) Return(arg0 error) *ServiceSetOriginalIDCall
- type ServiceSetStatusCall
- func (c *ServiceSetStatusCall) Do(f func(context.Context, uint, collection0.Status) error) *ServiceSetStatusCall
- func (c *ServiceSetStatusCall) DoAndReturn(f func(context.Context, uint, collection0.Status) error) *ServiceSetStatusCall
- func (c *ServiceSetStatusCall) Return(arg0 error) *ServiceSetStatusCall
- type ServiceSetStatusInProgressCall
- func (c *ServiceSetStatusInProgressCall) Do(f func(context.Context, uint, time.Time) error) *ServiceSetStatusInProgressCall
- func (c *ServiceSetStatusInProgressCall) DoAndReturn(f func(context.Context, uint, time.Time) error) *ServiceSetStatusInProgressCall
- func (c *ServiceSetStatusInProgressCall) Return(arg0 error) *ServiceSetStatusInProgressCall
- type ServiceSetStatusPendingCall
- func (c *ServiceSetStatusPendingCall) Do(f func(context.Context, uint, []byte) error) *ServiceSetStatusPendingCall
- func (c *ServiceSetStatusPendingCall) DoAndReturn(f func(context.Context, uint, []byte) error) *ServiceSetStatusPendingCall
- func (c *ServiceSetStatusPendingCall) Return(arg0 error) *ServiceSetStatusPendingCall
- type ServiceUpdateWorkflowStatusCall
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{}) *ServiceCheckDuplicateCall
CheckDuplicate indicates an expected call of CheckDuplicate.
func (*MockServiceMockRecorder) Create ¶
func (mr *MockServiceMockRecorder) Create(arg0, arg1 interface{}) *ServiceCreateCall
Create indicates an expected call of Create.
func (*MockServiceMockRecorder) Goa ¶
func (mr *MockServiceMockRecorder) Goa() *ServiceGoaCall
Goa indicates an expected call of Goa.
func (*MockServiceMockRecorder) SetOriginalID ¶ added in v0.19.3
func (mr *MockServiceMockRecorder) SetOriginalID(arg0, arg1, arg2 interface{}) *ServiceSetOriginalIDCall
SetOriginalID indicates an expected call of SetOriginalID.
func (*MockServiceMockRecorder) SetStatus ¶ added in v0.19.0
func (mr *MockServiceMockRecorder) SetStatus(arg0, arg1, arg2 interface{}) *ServiceSetStatusCall
SetStatus indicates an expected call of SetStatus.
func (*MockServiceMockRecorder) SetStatusInProgress ¶ added in v0.19.0
func (mr *MockServiceMockRecorder) SetStatusInProgress(arg0, arg1, arg2 interface{}) *ServiceSetStatusInProgressCall
SetStatusInProgress indicates an expected call of SetStatusInProgress.
func (*MockServiceMockRecorder) SetStatusPending ¶ added in v0.22.0
func (mr *MockServiceMockRecorder) SetStatusPending(arg0, arg1, arg2 interface{}) *ServiceSetStatusPendingCall
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{}) *ServiceUpdateWorkflowStatusCall
UpdateWorkflowStatus indicates an expected call of UpdateWorkflowStatus.
type ServiceCheckDuplicateCall ¶ added in v0.41.0
ServiceCheckDuplicateCall wrap *gomock.Call
func (*ServiceCheckDuplicateCall) Do ¶ added in v0.41.0
func (c *ServiceCheckDuplicateCall) Do(f func(context.Context, uint) (bool, error)) *ServiceCheckDuplicateCall
Do rewrite *gomock.Call.Do
func (*ServiceCheckDuplicateCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceCheckDuplicateCall) DoAndReturn(f func(context.Context, uint) (bool, error)) *ServiceCheckDuplicateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceCheckDuplicateCall) Return ¶ added in v0.41.0
func (c *ServiceCheckDuplicateCall) Return(arg0 bool, arg1 error) *ServiceCheckDuplicateCall
Return rewrite *gomock.Call.Return
type ServiceCreateCall ¶ added in v0.41.0
ServiceCreateCall wrap *gomock.Call
func (*ServiceCreateCall) Do ¶ added in v0.41.0
func (c *ServiceCreateCall) Do(f func(context.Context, *collection0.Collection) error) *ServiceCreateCall
Do rewrite *gomock.Call.Do
func (*ServiceCreateCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceCreateCall) DoAndReturn(f func(context.Context, *collection0.Collection) error) *ServiceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceCreateCall) Return ¶ added in v0.41.0
func (c *ServiceCreateCall) Return(arg0 error) *ServiceCreateCall
Return rewrite *gomock.Call.Return
type ServiceGoaCall ¶ added in v0.41.0
ServiceGoaCall wrap *gomock.Call
func (*ServiceGoaCall) Do ¶ added in v0.41.0
func (c *ServiceGoaCall) Do(f func() collection.Service) *ServiceGoaCall
Do rewrite *gomock.Call.Do
func (*ServiceGoaCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceGoaCall) DoAndReturn(f func() collection.Service) *ServiceGoaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceGoaCall) Return ¶ added in v0.41.0
func (c *ServiceGoaCall) Return(arg0 collection.Service) *ServiceGoaCall
Return rewrite *gomock.Call.Return
type ServiceSetOriginalIDCall ¶ added in v0.41.0
ServiceSetOriginalIDCall wrap *gomock.Call
func (*ServiceSetOriginalIDCall) Do ¶ added in v0.41.0
func (c *ServiceSetOriginalIDCall) Do(f func(context.Context, uint, string) error) *ServiceSetOriginalIDCall
Do rewrite *gomock.Call.Do
func (*ServiceSetOriginalIDCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceSetOriginalIDCall) DoAndReturn(f func(context.Context, uint, string) error) *ServiceSetOriginalIDCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceSetOriginalIDCall) Return ¶ added in v0.41.0
func (c *ServiceSetOriginalIDCall) Return(arg0 error) *ServiceSetOriginalIDCall
Return rewrite *gomock.Call.Return
type ServiceSetStatusCall ¶ added in v0.41.0
ServiceSetStatusCall wrap *gomock.Call
func (*ServiceSetStatusCall) Do ¶ added in v0.41.0
func (c *ServiceSetStatusCall) Do(f func(context.Context, uint, collection0.Status) error) *ServiceSetStatusCall
Do rewrite *gomock.Call.Do
func (*ServiceSetStatusCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceSetStatusCall) DoAndReturn(f func(context.Context, uint, collection0.Status) error) *ServiceSetStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceSetStatusCall) Return ¶ added in v0.41.0
func (c *ServiceSetStatusCall) Return(arg0 error) *ServiceSetStatusCall
Return rewrite *gomock.Call.Return
type ServiceSetStatusInProgressCall ¶ added in v0.41.0
ServiceSetStatusInProgressCall wrap *gomock.Call
func (*ServiceSetStatusInProgressCall) Do ¶ added in v0.41.0
func (c *ServiceSetStatusInProgressCall) Do(f func(context.Context, uint, time.Time) error) *ServiceSetStatusInProgressCall
Do rewrite *gomock.Call.Do
func (*ServiceSetStatusInProgressCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceSetStatusInProgressCall) DoAndReturn(f func(context.Context, uint, time.Time) error) *ServiceSetStatusInProgressCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceSetStatusInProgressCall) Return ¶ added in v0.41.0
func (c *ServiceSetStatusInProgressCall) Return(arg0 error) *ServiceSetStatusInProgressCall
Return rewrite *gomock.Call.Return
type ServiceSetStatusPendingCall ¶ added in v0.41.0
ServiceSetStatusPendingCall wrap *gomock.Call
func (*ServiceSetStatusPendingCall) Do ¶ added in v0.41.0
func (c *ServiceSetStatusPendingCall) Do(f func(context.Context, uint, []byte) error) *ServiceSetStatusPendingCall
Do rewrite *gomock.Call.Do
func (*ServiceSetStatusPendingCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceSetStatusPendingCall) DoAndReturn(f func(context.Context, uint, []byte) error) *ServiceSetStatusPendingCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceSetStatusPendingCall) Return ¶ added in v0.41.0
func (c *ServiceSetStatusPendingCall) Return(arg0 error) *ServiceSetStatusPendingCall
Return rewrite *gomock.Call.Return
type ServiceUpdateWorkflowStatusCall ¶ added in v0.41.0
ServiceUpdateWorkflowStatusCall wrap *gomock.Call
func (*ServiceUpdateWorkflowStatusCall) Do ¶ added in v0.41.0
func (c *ServiceUpdateWorkflowStatusCall) Do(f func(context.Context, uint, string, string, string, string, string, string, collection0.Status, time.Time) error) *ServiceUpdateWorkflowStatusCall
Do rewrite *gomock.Call.Do
func (*ServiceUpdateWorkflowStatusCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceUpdateWorkflowStatusCall) DoAndReturn(f func(context.Context, uint, string, string, string, string, string, string, collection0.Status, time.Time) error) *ServiceUpdateWorkflowStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceUpdateWorkflowStatusCall) Return ¶ added in v0.41.0
func (c *ServiceUpdateWorkflowStatusCall) Return(arg0 error) *ServiceUpdateWorkflowStatusCall
Return rewrite *gomock.Call.Return