Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) Hints(arg0 context.Context) (*batch.BatchHintsResult, error)
- func (m *MockService) InitProcessingWorkflow(arg0 context.Context, arg1 *collection.ProcessingWorkflowRequest) error
- func (m *MockService) Status(arg0 context.Context) (*batch.BatchStatusResult, error)
- func (m *MockService) Submit(arg0 context.Context, arg1 *batch.SubmitPayload) (*batch.BatchResult, error)
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) Hints(arg0 interface{}) *ServiceHintsCall
- func (mr *MockServiceMockRecorder) InitProcessingWorkflow(arg0, arg1 interface{}) *ServiceInitProcessingWorkflowCall
- func (mr *MockServiceMockRecorder) Status(arg0 interface{}) *ServiceStatusCall
- func (mr *MockServiceMockRecorder) Submit(arg0, arg1 interface{}) *ServiceSubmitCall
- type ServiceHintsCall
- func (c *ServiceHintsCall) Do(f func(context.Context) (*batch.BatchHintsResult, error)) *ServiceHintsCall
- func (c *ServiceHintsCall) DoAndReturn(f func(context.Context) (*batch.BatchHintsResult, error)) *ServiceHintsCall
- func (c *ServiceHintsCall) Return(arg0 *batch.BatchHintsResult, arg1 error) *ServiceHintsCall
- type ServiceInitProcessingWorkflowCall
- func (c *ServiceInitProcessingWorkflowCall) Do(f func(context.Context, *collection.ProcessingWorkflowRequest) error) *ServiceInitProcessingWorkflowCall
- func (c *ServiceInitProcessingWorkflowCall) DoAndReturn(f func(context.Context, *collection.ProcessingWorkflowRequest) error) *ServiceInitProcessingWorkflowCall
- func (c *ServiceInitProcessingWorkflowCall) Return(arg0 error) *ServiceInitProcessingWorkflowCall
- type ServiceStatusCall
- func (c *ServiceStatusCall) Do(f func(context.Context) (*batch.BatchStatusResult, error)) *ServiceStatusCall
- func (c *ServiceStatusCall) DoAndReturn(f func(context.Context) (*batch.BatchStatusResult, error)) *ServiceStatusCall
- func (c *ServiceStatusCall) Return(arg0 *batch.BatchStatusResult, arg1 error) *ServiceStatusCall
- type ServiceSubmitCall
- func (c *ServiceSubmitCall) Do(f func(context.Context, *batch.SubmitPayload) (*batch.BatchResult, error)) *ServiceSubmitCall
- func (c *ServiceSubmitCall) DoAndReturn(f func(context.Context, *batch.SubmitPayload) (*batch.BatchResult, error)) *ServiceSubmitCall
- func (c *ServiceSubmitCall) Return(arg0 *batch.BatchResult, arg1 error) *ServiceSubmitCall
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) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockService) Hints ¶ added in v0.35.0
func (m *MockService) Hints(arg0 context.Context) (*batch.BatchHintsResult, error)
Hints mocks base method.
func (*MockService) InitProcessingWorkflow ¶
func (m *MockService) InitProcessingWorkflow(arg0 context.Context, arg1 *collection.ProcessingWorkflowRequest) error
InitProcessingWorkflow mocks base method.
func (*MockService) Status ¶
func (m *MockService) Status(arg0 context.Context) (*batch.BatchStatusResult, error)
Status mocks base method.
func (*MockService) Submit ¶
func (m *MockService) Submit(arg0 context.Context, arg1 *batch.SubmitPayload) (*batch.BatchResult, error)
Submit mocks base method.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Hints ¶ added in v0.35.0
func (mr *MockServiceMockRecorder) Hints(arg0 interface{}) *ServiceHintsCall
Hints indicates an expected call of Hints.
func (*MockServiceMockRecorder) InitProcessingWorkflow ¶
func (mr *MockServiceMockRecorder) InitProcessingWorkflow(arg0, arg1 interface{}) *ServiceInitProcessingWorkflowCall
InitProcessingWorkflow indicates an expected call of InitProcessingWorkflow.
func (*MockServiceMockRecorder) Status ¶
func (mr *MockServiceMockRecorder) Status(arg0 interface{}) *ServiceStatusCall
Status indicates an expected call of Status.
func (*MockServiceMockRecorder) Submit ¶
func (mr *MockServiceMockRecorder) Submit(arg0, arg1 interface{}) *ServiceSubmitCall
Submit indicates an expected call of Submit.
type ServiceHintsCall ¶ added in v0.41.0
ServiceHintsCall wrap *gomock.Call
func (*ServiceHintsCall) Do ¶ added in v0.41.0
func (c *ServiceHintsCall) Do(f func(context.Context) (*batch.BatchHintsResult, error)) *ServiceHintsCall
Do rewrite *gomock.Call.Do
func (*ServiceHintsCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceHintsCall) DoAndReturn(f func(context.Context) (*batch.BatchHintsResult, error)) *ServiceHintsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceHintsCall) Return ¶ added in v0.41.0
func (c *ServiceHintsCall) Return(arg0 *batch.BatchHintsResult, arg1 error) *ServiceHintsCall
Return rewrite *gomock.Call.Return
type ServiceInitProcessingWorkflowCall ¶ added in v0.41.0
ServiceInitProcessingWorkflowCall wrap *gomock.Call
func (*ServiceInitProcessingWorkflowCall) Do ¶ added in v0.41.0
func (c *ServiceInitProcessingWorkflowCall) Do(f func(context.Context, *collection.ProcessingWorkflowRequest) error) *ServiceInitProcessingWorkflowCall
Do rewrite *gomock.Call.Do
func (*ServiceInitProcessingWorkflowCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceInitProcessingWorkflowCall) DoAndReturn(f func(context.Context, *collection.ProcessingWorkflowRequest) error) *ServiceInitProcessingWorkflowCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceInitProcessingWorkflowCall) Return ¶ added in v0.41.0
func (c *ServiceInitProcessingWorkflowCall) Return(arg0 error) *ServiceInitProcessingWorkflowCall
Return rewrite *gomock.Call.Return
type ServiceStatusCall ¶ added in v0.41.0
ServiceStatusCall wrap *gomock.Call
func (*ServiceStatusCall) Do ¶ added in v0.41.0
func (c *ServiceStatusCall) Do(f func(context.Context) (*batch.BatchStatusResult, error)) *ServiceStatusCall
Do rewrite *gomock.Call.Do
func (*ServiceStatusCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceStatusCall) DoAndReturn(f func(context.Context) (*batch.BatchStatusResult, error)) *ServiceStatusCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceStatusCall) Return ¶ added in v0.41.0
func (c *ServiceStatusCall) Return(arg0 *batch.BatchStatusResult, arg1 error) *ServiceStatusCall
Return rewrite *gomock.Call.Return
type ServiceSubmitCall ¶ added in v0.41.0
ServiceSubmitCall wrap *gomock.Call
func (*ServiceSubmitCall) Do ¶ added in v0.41.0
func (c *ServiceSubmitCall) Do(f func(context.Context, *batch.SubmitPayload) (*batch.BatchResult, error)) *ServiceSubmitCall
Do rewrite *gomock.Call.Do
func (*ServiceSubmitCall) DoAndReturn ¶ added in v0.41.0
func (c *ServiceSubmitCall) DoAndReturn(f func(context.Context, *batch.SubmitPayload) (*batch.BatchResult, error)) *ServiceSubmitCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ServiceSubmitCall) Return ¶ added in v0.41.0
func (c *ServiceSubmitCall) Return(arg0 *batch.BatchResult, arg1 error) *ServiceSubmitCall
Return rewrite *gomock.Call.Return