Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type ConnectorPluginService
- type ConnectorPluginServiceMockRecorder
- type ConnectorPluginServiceNewDispenserCall
- func (c *ConnectorPluginServiceNewDispenserCall) Do(f func(log.CtxLogger, string, string) (connector0.Dispenser, error)) *ConnectorPluginServiceNewDispenserCall
- func (c *ConnectorPluginServiceNewDispenserCall) DoAndReturn(f func(log.CtxLogger, string, string) (connector0.Dispenser, error)) *ConnectorPluginServiceNewDispenserCall
- func (c *ConnectorPluginServiceNewDispenserCall) Return(arg0 connector0.Dispenser, arg1 error) *ConnectorPluginServiceNewDispenserCall
- type ConnectorService
- func (m *ConnectorService) AddProcessor(arg0 context.Context, arg1, arg2 string) (*connector.Instance, error)
- func (m *ConnectorService) Create(arg0 context.Context, arg1 string, arg2 connector.Type, arg3, arg4 string, ...) (*connector.Instance, error)
- func (m *ConnectorService) Delete(arg0 context.Context, arg1 string, arg2 connector.PluginDispenserFetcher) error
- func (m *ConnectorService) EXPECT() *ConnectorServiceMockRecorder
- func (m *ConnectorService) Get(arg0 context.Context, arg1 string) (*connector.Instance, error)
- func (m *ConnectorService) RemoveProcessor(arg0 context.Context, arg1, arg2 string) (*connector.Instance, error)
- func (m *ConnectorService) Update(arg0 context.Context, arg1 string, arg2 connector.Config) (*connector.Instance, error)
- type ConnectorServiceAddProcessorCall
- func (c *ConnectorServiceAddProcessorCall) Do(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceAddProcessorCall
- func (c *ConnectorServiceAddProcessorCall) DoAndReturn(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceAddProcessorCall
- func (c *ConnectorServiceAddProcessorCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceAddProcessorCall
- type ConnectorServiceCreateCall
- type ConnectorServiceDeleteCall
- func (c *ConnectorServiceDeleteCall) Do(f func(context.Context, string, connector.PluginDispenserFetcher) error) *ConnectorServiceDeleteCall
- func (c *ConnectorServiceDeleteCall) DoAndReturn(f func(context.Context, string, connector.PluginDispenserFetcher) error) *ConnectorServiceDeleteCall
- func (c *ConnectorServiceDeleteCall) Return(arg0 error) *ConnectorServiceDeleteCall
- type ConnectorServiceGetCall
- func (c *ConnectorServiceGetCall) Do(f func(context.Context, string) (*connector.Instance, error)) *ConnectorServiceGetCall
- func (c *ConnectorServiceGetCall) DoAndReturn(f func(context.Context, string) (*connector.Instance, error)) *ConnectorServiceGetCall
- func (c *ConnectorServiceGetCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceGetCall
- type ConnectorServiceMockRecorder
- func (mr *ConnectorServiceMockRecorder) AddProcessor(arg0, arg1, arg2 any) *ConnectorServiceAddProcessorCall
- func (mr *ConnectorServiceMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *ConnectorServiceCreateCall
- func (mr *ConnectorServiceMockRecorder) CreateWithInstance(ctx interface{}, instance *connector.Instance) *ConnectorServiceCreateCall
- func (mr *ConnectorServiceMockRecorder) Delete(arg0, arg1, arg2 any) *ConnectorServiceDeleteCall
- func (mr *ConnectorServiceMockRecorder) Get(arg0, arg1 any) *ConnectorServiceGetCall
- func (mr *ConnectorServiceMockRecorder) RemoveProcessor(arg0, arg1, arg2 any) *ConnectorServiceRemoveProcessorCall
- func (mr *ConnectorServiceMockRecorder) Update(arg0, arg1, arg2 any) *ConnectorServiceUpdateCall
- type ConnectorServiceRemoveProcessorCall
- func (c *ConnectorServiceRemoveProcessorCall) Do(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceRemoveProcessorCall
- func (c *ConnectorServiceRemoveProcessorCall) DoAndReturn(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceRemoveProcessorCall
- func (c *ConnectorServiceRemoveProcessorCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceRemoveProcessorCall
- type ConnectorServiceUpdateCall
- func (c *ConnectorServiceUpdateCall) Do(f func(context.Context, string, connector.Config) (*connector.Instance, error)) *ConnectorServiceUpdateCall
- func (c *ConnectorServiceUpdateCall) DoAndReturn(f func(context.Context, string, connector.Config) (*connector.Instance, error)) *ConnectorServiceUpdateCall
- func (c *ConnectorServiceUpdateCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceUpdateCall
- type PipelineService
- func (m *PipelineService) AddConnector(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
- func (m *PipelineService) AddProcessor(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
- func (m *PipelineService) Create(arg0 context.Context, arg1 string, arg2 pipeline.Config, ...) (*pipeline.Instance, error)
- func (m *PipelineService) Delete(arg0 context.Context, arg1 string) error
- func (m *PipelineService) EXPECT() *PipelineServiceMockRecorder
- func (m *PipelineService) Get(arg0 context.Context, arg1 string) (*pipeline.Instance, error)
- func (m *PipelineService) List(arg0 context.Context) map[string]*pipeline.Instance
- func (m *PipelineService) RemoveConnector(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
- func (m *PipelineService) RemoveProcessor(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
- func (m *PipelineService) Start(arg0 context.Context, arg1 pipeline.ConnectorFetcher, ...) error
- func (m *PipelineService) Stop(arg0 context.Context, arg1 string, arg2 bool) error
- func (m *PipelineService) Update(arg0 context.Context, arg1 string, arg2 pipeline.Config) (*pipeline.Instance, error)
- func (m *PipelineService) UpdateDLQ(arg0 context.Context, arg1 string, arg2 pipeline.DLQ) (*pipeline.Instance, error)
- type PipelineServiceAddConnectorCall
- func (c *PipelineServiceAddConnectorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddConnectorCall
- func (c *PipelineServiceAddConnectorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddConnectorCall
- func (c *PipelineServiceAddConnectorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceAddConnectorCall
- type PipelineServiceAddProcessorCall
- func (c *PipelineServiceAddProcessorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddProcessorCall
- func (c *PipelineServiceAddProcessorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddProcessorCall
- func (c *PipelineServiceAddProcessorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceAddProcessorCall
- type PipelineServiceCreateCall
- type PipelineServiceDeleteCall
- func (c *PipelineServiceDeleteCall) Do(f func(context.Context, string) error) *PipelineServiceDeleteCall
- func (c *PipelineServiceDeleteCall) DoAndReturn(f func(context.Context, string) error) *PipelineServiceDeleteCall
- func (c *PipelineServiceDeleteCall) Return(arg0 error) *PipelineServiceDeleteCall
- type PipelineServiceGetCall
- func (c *PipelineServiceGetCall) Do(f func(context.Context, string) (*pipeline.Instance, error)) *PipelineServiceGetCall
- func (c *PipelineServiceGetCall) DoAndReturn(f func(context.Context, string) (*pipeline.Instance, error)) *PipelineServiceGetCall
- func (c *PipelineServiceGetCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceGetCall
- type PipelineServiceListCall
- func (c *PipelineServiceListCall) Do(f func(context.Context) map[string]*pipeline.Instance) *PipelineServiceListCall
- func (c *PipelineServiceListCall) DoAndReturn(f func(context.Context) map[string]*pipeline.Instance) *PipelineServiceListCall
- func (c *PipelineServiceListCall) Return(arg0 map[string]*pipeline.Instance) *PipelineServiceListCall
- type PipelineServiceMockRecorder
- func (mr *PipelineServiceMockRecorder) AddConnector(arg0, arg1, arg2 any) *PipelineServiceAddConnectorCall
- func (mr *PipelineServiceMockRecorder) AddProcessor(arg0, arg1, arg2 any) *PipelineServiceAddProcessorCall
- func (mr *PipelineServiceMockRecorder) Create(arg0, arg1, arg2, arg3 any) *PipelineServiceCreateCall
- func (mr *PipelineServiceMockRecorder) CreateWithInstance(ctx interface{}, instance *pipeline.Instance) *PipelineServiceCreateCall
- func (mr *PipelineServiceMockRecorder) Delete(arg0, arg1 any) *PipelineServiceDeleteCall
- func (mr *PipelineServiceMockRecorder) Get(arg0, arg1 any) *PipelineServiceGetCall
- func (mr *PipelineServiceMockRecorder) List(arg0 any) *PipelineServiceListCall
- func (mr *PipelineServiceMockRecorder) RemoveConnector(arg0, arg1, arg2 any) *PipelineServiceRemoveConnectorCall
- func (mr *PipelineServiceMockRecorder) RemoveProcessor(arg0, arg1, arg2 any) *PipelineServiceRemoveProcessorCall
- func (mr *PipelineServiceMockRecorder) Start(arg0, arg1, arg2, arg3, arg4 any) *PipelineServiceStartCall
- func (mr *PipelineServiceMockRecorder) Stop(arg0, arg1, arg2 any) *PipelineServiceStopCall
- func (mr *PipelineServiceMockRecorder) Update(arg0, arg1, arg2 any) *PipelineServiceUpdateCall
- func (mr *PipelineServiceMockRecorder) UpdateDLQ(arg0, arg1, arg2 any) *PipelineServiceUpdateDLQCall
- type PipelineServiceRemoveConnectorCall
- func (c *PipelineServiceRemoveConnectorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveConnectorCall
- func (c *PipelineServiceRemoveConnectorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveConnectorCall
- func (c *PipelineServiceRemoveConnectorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceRemoveConnectorCall
- type PipelineServiceRemoveProcessorCall
- func (c *PipelineServiceRemoveProcessorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveProcessorCall
- func (c *PipelineServiceRemoveProcessorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveProcessorCall
- func (c *PipelineServiceRemoveProcessorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceRemoveProcessorCall
- type PipelineServiceStartCall
- type PipelineServiceStopCall
- func (c *PipelineServiceStopCall) Do(f func(context.Context, string, bool) error) *PipelineServiceStopCall
- func (c *PipelineServiceStopCall) DoAndReturn(f func(context.Context, string, bool) error) *PipelineServiceStopCall
- func (c *PipelineServiceStopCall) Return(arg0 error) *PipelineServiceStopCall
- type PipelineServiceUpdateCall
- func (c *PipelineServiceUpdateCall) Do(f func(context.Context, string, pipeline.Config) (*pipeline.Instance, error)) *PipelineServiceUpdateCall
- func (c *PipelineServiceUpdateCall) DoAndReturn(f func(context.Context, string, pipeline.Config) (*pipeline.Instance, error)) *PipelineServiceUpdateCall
- func (c *PipelineServiceUpdateCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceUpdateCall
- type PipelineServiceUpdateDLQCall
- func (c *PipelineServiceUpdateDLQCall) Do(f func(context.Context, string, pipeline.DLQ) (*pipeline.Instance, error)) *PipelineServiceUpdateDLQCall
- func (c *PipelineServiceUpdateDLQCall) DoAndReturn(f func(context.Context, string, pipeline.DLQ) (*pipeline.Instance, error)) *PipelineServiceUpdateDLQCall
- func (c *PipelineServiceUpdateDLQCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceUpdateDLQCall
- type ProcessorService
- func (m *ProcessorService) Create(arg0 context.Context, arg1, arg2 string, arg3 processor.Parent, ...) (*processor.Instance, error)
- func (m *ProcessorService) Delete(arg0 context.Context, arg1 string) error
- func (m *ProcessorService) EXPECT() *ProcessorServiceMockRecorder
- func (m *ProcessorService) Get(arg0 context.Context, arg1 string) (*processor.Instance, error)
- func (m *ProcessorService) MakeRunnableProcessor(arg0 context.Context, arg1 *processor.Instance) (*processor.RunnableProcessor, error)
- func (m *ProcessorService) Update(arg0 context.Context, arg1 string, arg2 processor.Config) (*processor.Instance, error)
- type ProcessorServiceCreateCall
- type ProcessorServiceDeleteCall
- func (c *ProcessorServiceDeleteCall) Do(f func(context.Context, string) error) *ProcessorServiceDeleteCall
- func (c *ProcessorServiceDeleteCall) DoAndReturn(f func(context.Context, string) error) *ProcessorServiceDeleteCall
- func (c *ProcessorServiceDeleteCall) Return(arg0 error) *ProcessorServiceDeleteCall
- type ProcessorServiceGetCall
- func (c *ProcessorServiceGetCall) Do(f func(context.Context, string) (*processor.Instance, error)) *ProcessorServiceGetCall
- func (c *ProcessorServiceGetCall) DoAndReturn(f func(context.Context, string) (*processor.Instance, error)) *ProcessorServiceGetCall
- func (c *ProcessorServiceGetCall) Return(arg0 *processor.Instance, arg1 error) *ProcessorServiceGetCall
- type ProcessorServiceMakeRunnableProcessorCall
- func (c *ProcessorServiceMakeRunnableProcessorCall) Do(...) *ProcessorServiceMakeRunnableProcessorCall
- func (c *ProcessorServiceMakeRunnableProcessorCall) DoAndReturn(...) *ProcessorServiceMakeRunnableProcessorCall
- func (c *ProcessorServiceMakeRunnableProcessorCall) Return(arg0 *processor.RunnableProcessor, arg1 error) *ProcessorServiceMakeRunnableProcessorCall
- type ProcessorServiceMockRecorder
- func (mr *ProcessorServiceMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *ProcessorServiceCreateCall
- func (mr *ProcessorServiceMockRecorder) CreateWithInstance(ctx interface{}, instance *processor.Instance) *ProcessorServiceCreateCall
- func (mr *ProcessorServiceMockRecorder) Delete(arg0, arg1 any) *ProcessorServiceDeleteCall
- func (mr *ProcessorServiceMockRecorder) Get(arg0, arg1 any) *ProcessorServiceGetCall
- func (mr *ProcessorServiceMockRecorder) MakeRunnableProcessor(arg0, arg1 any) *ProcessorServiceMakeRunnableProcessorCall
- func (mr *ProcessorServiceMockRecorder) Update(arg0, arg1, arg2 any) *ProcessorServiceUpdateCall
- type ProcessorServiceUpdateCall
- func (c *ProcessorServiceUpdateCall) Do(f func(context.Context, string, processor.Config) (*processor.Instance, error)) *ProcessorServiceUpdateCall
- func (c *ProcessorServiceUpdateCall) DoAndReturn(f func(context.Context, string, processor.Config) (*processor.Instance, error)) *ProcessorServiceUpdateCall
- func (c *ProcessorServiceUpdateCall) Return(arg0 *processor.Instance, arg1 error) *ProcessorServiceUpdateCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectorPluginService ¶ added in v0.9.0
type ConnectorPluginService struct {
// contains filtered or unexported fields
}
ConnectorPluginService is a mock of ConnectorPluginService interface.
func NewConnectorPluginService ¶ added in v0.9.0
func NewConnectorPluginService(ctrl *gomock.Controller) *ConnectorPluginService
NewConnectorPluginService creates a new mock instance.
func (*ConnectorPluginService) EXPECT ¶ added in v0.9.0
func (m *ConnectorPluginService) EXPECT() *ConnectorPluginServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*ConnectorPluginService) NewDispenser ¶ added in v0.9.0
func (m *ConnectorPluginService) NewDispenser(arg0 log.CtxLogger, arg1, arg2 string) (connector0.Dispenser, error)
NewDispenser mocks base method.
type ConnectorPluginServiceMockRecorder ¶ added in v0.9.0
type ConnectorPluginServiceMockRecorder struct {
// contains filtered or unexported fields
}
ConnectorPluginServiceMockRecorder is the mock recorder for ConnectorPluginService.
func (*ConnectorPluginServiceMockRecorder) NewDispenser ¶ added in v0.9.0
func (mr *ConnectorPluginServiceMockRecorder) NewDispenser(arg0, arg1, arg2 any) *ConnectorPluginServiceNewDispenserCall
NewDispenser indicates an expected call of NewDispenser.
type ConnectorPluginServiceNewDispenserCall ¶ added in v0.11.0
ConnectorPluginServiceNewDispenserCall wrap *gomock.Call
func (*ConnectorPluginServiceNewDispenserCall) Do ¶ added in v0.11.0
func (c *ConnectorPluginServiceNewDispenserCall) Do(f func(log.CtxLogger, string, string) (connector0.Dispenser, error)) *ConnectorPluginServiceNewDispenserCall
Do rewrite *gomock.Call.Do
func (*ConnectorPluginServiceNewDispenserCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorPluginServiceNewDispenserCall) DoAndReturn(f func(log.CtxLogger, string, string) (connector0.Dispenser, error)) *ConnectorPluginServiceNewDispenserCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorPluginServiceNewDispenserCall) Return ¶ added in v0.11.0
func (c *ConnectorPluginServiceNewDispenserCall) Return(arg0 connector0.Dispenser, arg1 error) *ConnectorPluginServiceNewDispenserCall
Return rewrite *gomock.Call.Return
type ConnectorService ¶
type ConnectorService struct {
// contains filtered or unexported fields
}
ConnectorService is a mock of ConnectorService interface.
func NewConnectorService ¶
func NewConnectorService(ctrl *gomock.Controller) *ConnectorService
NewConnectorService creates a new mock instance.
func (*ConnectorService) AddProcessor ¶
func (m *ConnectorService) AddProcessor(arg0 context.Context, arg1, arg2 string) (*connector.Instance, error)
AddProcessor mocks base method.
func (*ConnectorService) Create ¶
func (m *ConnectorService) Create(arg0 context.Context, arg1 string, arg2 connector.Type, arg3, arg4 string, arg5 connector.Config, arg6 connector.ProvisionType) (*connector.Instance, error)
Create mocks base method.
func (*ConnectorService) Delete ¶
func (m *ConnectorService) Delete(arg0 context.Context, arg1 string, arg2 connector.PluginDispenserFetcher) error
Delete mocks base method.
func (*ConnectorService) EXPECT ¶
func (m *ConnectorService) EXPECT() *ConnectorServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*ConnectorService) RemoveProcessor ¶
func (m *ConnectorService) RemoveProcessor(arg0 context.Context, arg1, arg2 string) (*connector.Instance, error)
RemoveProcessor mocks base method.
type ConnectorServiceAddProcessorCall ¶ added in v0.11.0
ConnectorServiceAddProcessorCall wrap *gomock.Call
func (*ConnectorServiceAddProcessorCall) Do ¶ added in v0.11.0
func (c *ConnectorServiceAddProcessorCall) Do(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceAddProcessorCall
Do rewrite *gomock.Call.Do
func (*ConnectorServiceAddProcessorCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorServiceAddProcessorCall) DoAndReturn(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceAddProcessorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorServiceAddProcessorCall) Return ¶ added in v0.11.0
func (c *ConnectorServiceAddProcessorCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceAddProcessorCall
Return rewrite *gomock.Call.Return
type ConnectorServiceCreateCall ¶ added in v0.11.0
ConnectorServiceCreateCall wrap *gomock.Call
func (*ConnectorServiceCreateCall) Do ¶ added in v0.11.0
func (c *ConnectorServiceCreateCall) Do(f func(context.Context, string, connector.Type, string, string, connector.Config, connector.ProvisionType) (*connector.Instance, error)) *ConnectorServiceCreateCall
Do rewrite *gomock.Call.Do
func (*ConnectorServiceCreateCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorServiceCreateCall) DoAndReturn(f func(context.Context, string, connector.Type, string, string, connector.Config, connector.ProvisionType) (*connector.Instance, error)) *ConnectorServiceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorServiceCreateCall) Return ¶ added in v0.11.0
func (c *ConnectorServiceCreateCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceCreateCall
Return rewrite *gomock.Call.Return
type ConnectorServiceDeleteCall ¶ added in v0.11.0
ConnectorServiceDeleteCall wrap *gomock.Call
func (*ConnectorServiceDeleteCall) Do ¶ added in v0.11.0
func (c *ConnectorServiceDeleteCall) Do(f func(context.Context, string, connector.PluginDispenserFetcher) error) *ConnectorServiceDeleteCall
Do rewrite *gomock.Call.Do
func (*ConnectorServiceDeleteCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorServiceDeleteCall) DoAndReturn(f func(context.Context, string, connector.PluginDispenserFetcher) error) *ConnectorServiceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorServiceDeleteCall) Return ¶ added in v0.11.0
func (c *ConnectorServiceDeleteCall) Return(arg0 error) *ConnectorServiceDeleteCall
Return rewrite *gomock.Call.Return
type ConnectorServiceGetCall ¶ added in v0.11.0
ConnectorServiceGetCall wrap *gomock.Call
func (*ConnectorServiceGetCall) Do ¶ added in v0.11.0
func (c *ConnectorServiceGetCall) Do(f func(context.Context, string) (*connector.Instance, error)) *ConnectorServiceGetCall
Do rewrite *gomock.Call.Do
func (*ConnectorServiceGetCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorServiceGetCall) DoAndReturn(f func(context.Context, string) (*connector.Instance, error)) *ConnectorServiceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorServiceGetCall) Return ¶ added in v0.11.0
func (c *ConnectorServiceGetCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceGetCall
Return rewrite *gomock.Call.Return
type ConnectorServiceMockRecorder ¶
type ConnectorServiceMockRecorder struct {
// contains filtered or unexported fields
}
ConnectorServiceMockRecorder is the mock recorder for ConnectorService.
func (*ConnectorServiceMockRecorder) AddProcessor ¶
func (mr *ConnectorServiceMockRecorder) AddProcessor(arg0, arg1, arg2 any) *ConnectorServiceAddProcessorCall
AddProcessor indicates an expected call of AddProcessor.
func (*ConnectorServiceMockRecorder) Create ¶
func (mr *ConnectorServiceMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *ConnectorServiceCreateCall
Create indicates an expected call of Create.
func (*ConnectorServiceMockRecorder) CreateWithInstance ¶ added in v0.6.0
func (mr *ConnectorServiceMockRecorder) CreateWithInstance(ctx interface{}, instance *connector.Instance) *ConnectorServiceCreateCall
CreateWithInstance is a utility function that lets you declare an expected call to Create with arguments taken from the supplied instance.
func (*ConnectorServiceMockRecorder) Delete ¶
func (mr *ConnectorServiceMockRecorder) Delete(arg0, arg1, arg2 any) *ConnectorServiceDeleteCall
Delete indicates an expected call of Delete.
func (*ConnectorServiceMockRecorder) Get ¶
func (mr *ConnectorServiceMockRecorder) Get(arg0, arg1 any) *ConnectorServiceGetCall
Get indicates an expected call of Get.
func (*ConnectorServiceMockRecorder) RemoveProcessor ¶
func (mr *ConnectorServiceMockRecorder) RemoveProcessor(arg0, arg1, arg2 any) *ConnectorServiceRemoveProcessorCall
RemoveProcessor indicates an expected call of RemoveProcessor.
func (*ConnectorServiceMockRecorder) Update ¶ added in v0.6.0
func (mr *ConnectorServiceMockRecorder) Update(arg0, arg1, arg2 any) *ConnectorServiceUpdateCall
Update indicates an expected call of Update.
type ConnectorServiceRemoveProcessorCall ¶ added in v0.11.0
ConnectorServiceRemoveProcessorCall wrap *gomock.Call
func (*ConnectorServiceRemoveProcessorCall) Do ¶ added in v0.11.0
func (c *ConnectorServiceRemoveProcessorCall) Do(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceRemoveProcessorCall
Do rewrite *gomock.Call.Do
func (*ConnectorServiceRemoveProcessorCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorServiceRemoveProcessorCall) DoAndReturn(f func(context.Context, string, string) (*connector.Instance, error)) *ConnectorServiceRemoveProcessorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorServiceRemoveProcessorCall) Return ¶ added in v0.11.0
func (c *ConnectorServiceRemoveProcessorCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceRemoveProcessorCall
Return rewrite *gomock.Call.Return
type ConnectorServiceUpdateCall ¶ added in v0.11.0
ConnectorServiceUpdateCall wrap *gomock.Call
func (*ConnectorServiceUpdateCall) Do ¶ added in v0.11.0
func (c *ConnectorServiceUpdateCall) Do(f func(context.Context, string, connector.Config) (*connector.Instance, error)) *ConnectorServiceUpdateCall
Do rewrite *gomock.Call.Do
func (*ConnectorServiceUpdateCall) DoAndReturn ¶ added in v0.11.0
func (c *ConnectorServiceUpdateCall) DoAndReturn(f func(context.Context, string, connector.Config) (*connector.Instance, error)) *ConnectorServiceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ConnectorServiceUpdateCall) Return ¶ added in v0.11.0
func (c *ConnectorServiceUpdateCall) Return(arg0 *connector.Instance, arg1 error) *ConnectorServiceUpdateCall
Return rewrite *gomock.Call.Return
type PipelineService ¶
type PipelineService struct {
// contains filtered or unexported fields
}
PipelineService is a mock of PipelineService interface.
func NewPipelineService ¶
func NewPipelineService(ctrl *gomock.Controller) *PipelineService
NewPipelineService creates a new mock instance.
func (*PipelineService) AddConnector ¶
func (m *PipelineService) AddConnector(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
AddConnector mocks base method.
func (*PipelineService) AddProcessor ¶
func (m *PipelineService) AddProcessor(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
AddProcessor mocks base method.
func (*PipelineService) Create ¶
func (m *PipelineService) Create(arg0 context.Context, arg1 string, arg2 pipeline.Config, arg3 pipeline.ProvisionType) (*pipeline.Instance, error)
Create mocks base method.
func (*PipelineService) Delete ¶
func (m *PipelineService) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*PipelineService) EXPECT ¶
func (m *PipelineService) EXPECT() *PipelineServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*PipelineService) RemoveConnector ¶
func (m *PipelineService) RemoveConnector(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
RemoveConnector mocks base method.
func (*PipelineService) RemoveProcessor ¶
func (m *PipelineService) RemoveProcessor(arg0 context.Context, arg1, arg2 string) (*pipeline.Instance, error)
RemoveProcessor mocks base method.
func (*PipelineService) Start ¶
func (m *PipelineService) Start(arg0 context.Context, arg1 pipeline.ConnectorFetcher, arg2 pipeline.ProcessorService, arg3 pipeline.PluginDispenserFetcher, arg4 string) error
Start mocks base method.
type PipelineServiceAddConnectorCall ¶ added in v0.11.0
PipelineServiceAddConnectorCall wrap *gomock.Call
func (*PipelineServiceAddConnectorCall) Do ¶ added in v0.11.0
func (c *PipelineServiceAddConnectorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddConnectorCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceAddConnectorCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceAddConnectorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddConnectorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceAddConnectorCall) Return ¶ added in v0.11.0
func (c *PipelineServiceAddConnectorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceAddConnectorCall
Return rewrite *gomock.Call.Return
type PipelineServiceAddProcessorCall ¶ added in v0.11.0
PipelineServiceAddProcessorCall wrap *gomock.Call
func (*PipelineServiceAddProcessorCall) Do ¶ added in v0.11.0
func (c *PipelineServiceAddProcessorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddProcessorCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceAddProcessorCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceAddProcessorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceAddProcessorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceAddProcessorCall) Return ¶ added in v0.11.0
func (c *PipelineServiceAddProcessorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceAddProcessorCall
Return rewrite *gomock.Call.Return
type PipelineServiceCreateCall ¶ added in v0.11.0
PipelineServiceCreateCall wrap *gomock.Call
func (*PipelineServiceCreateCall) Do ¶ added in v0.11.0
func (c *PipelineServiceCreateCall) Do(f func(context.Context, string, pipeline.Config, pipeline.ProvisionType) (*pipeline.Instance, error)) *PipelineServiceCreateCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceCreateCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceCreateCall) DoAndReturn(f func(context.Context, string, pipeline.Config, pipeline.ProvisionType) (*pipeline.Instance, error)) *PipelineServiceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceCreateCall) Return ¶ added in v0.11.0
func (c *PipelineServiceCreateCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceCreateCall
Return rewrite *gomock.Call.Return
type PipelineServiceDeleteCall ¶ added in v0.11.0
PipelineServiceDeleteCall wrap *gomock.Call
func (*PipelineServiceDeleteCall) Do ¶ added in v0.11.0
func (c *PipelineServiceDeleteCall) Do(f func(context.Context, string) error) *PipelineServiceDeleteCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceDeleteCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceDeleteCall) DoAndReturn(f func(context.Context, string) error) *PipelineServiceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceDeleteCall) Return ¶ added in v0.11.0
func (c *PipelineServiceDeleteCall) Return(arg0 error) *PipelineServiceDeleteCall
Return rewrite *gomock.Call.Return
type PipelineServiceGetCall ¶ added in v0.11.0
PipelineServiceGetCall wrap *gomock.Call
func (*PipelineServiceGetCall) Do ¶ added in v0.11.0
func (c *PipelineServiceGetCall) Do(f func(context.Context, string) (*pipeline.Instance, error)) *PipelineServiceGetCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceGetCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceGetCall) DoAndReturn(f func(context.Context, string) (*pipeline.Instance, error)) *PipelineServiceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceGetCall) Return ¶ added in v0.11.0
func (c *PipelineServiceGetCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceGetCall
Return rewrite *gomock.Call.Return
type PipelineServiceListCall ¶ added in v0.11.0
PipelineServiceListCall wrap *gomock.Call
func (*PipelineServiceListCall) Do ¶ added in v0.11.0
func (c *PipelineServiceListCall) Do(f func(context.Context) map[string]*pipeline.Instance) *PipelineServiceListCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceListCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceListCall) DoAndReturn(f func(context.Context) map[string]*pipeline.Instance) *PipelineServiceListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceListCall) Return ¶ added in v0.11.0
func (c *PipelineServiceListCall) Return(arg0 map[string]*pipeline.Instance) *PipelineServiceListCall
Return rewrite *gomock.Call.Return
type PipelineServiceMockRecorder ¶
type PipelineServiceMockRecorder struct {
// contains filtered or unexported fields
}
PipelineServiceMockRecorder is the mock recorder for PipelineService.
func (*PipelineServiceMockRecorder) AddConnector ¶
func (mr *PipelineServiceMockRecorder) AddConnector(arg0, arg1, arg2 any) *PipelineServiceAddConnectorCall
AddConnector indicates an expected call of AddConnector.
func (*PipelineServiceMockRecorder) AddProcessor ¶
func (mr *PipelineServiceMockRecorder) AddProcessor(arg0, arg1, arg2 any) *PipelineServiceAddProcessorCall
AddProcessor indicates an expected call of AddProcessor.
func (*PipelineServiceMockRecorder) Create ¶
func (mr *PipelineServiceMockRecorder) Create(arg0, arg1, arg2, arg3 any) *PipelineServiceCreateCall
Create indicates an expected call of Create.
func (*PipelineServiceMockRecorder) CreateWithInstance ¶ added in v0.6.0
func (mr *PipelineServiceMockRecorder) CreateWithInstance(ctx interface{}, instance *pipeline.Instance) *PipelineServiceCreateCall
CreateWithInstance is a utility function that lets you declare an expected call to Create with arguments taken from the supplied instance.
func (*PipelineServiceMockRecorder) Delete ¶
func (mr *PipelineServiceMockRecorder) Delete(arg0, arg1 any) *PipelineServiceDeleteCall
Delete indicates an expected call of Delete.
func (*PipelineServiceMockRecorder) Get ¶
func (mr *PipelineServiceMockRecorder) Get(arg0, arg1 any) *PipelineServiceGetCall
Get indicates an expected call of Get.
func (*PipelineServiceMockRecorder) List ¶
func (mr *PipelineServiceMockRecorder) List(arg0 any) *PipelineServiceListCall
List indicates an expected call of List.
func (*PipelineServiceMockRecorder) RemoveConnector ¶
func (mr *PipelineServiceMockRecorder) RemoveConnector(arg0, arg1, arg2 any) *PipelineServiceRemoveConnectorCall
RemoveConnector indicates an expected call of RemoveConnector.
func (*PipelineServiceMockRecorder) RemoveProcessor ¶
func (mr *PipelineServiceMockRecorder) RemoveProcessor(arg0, arg1, arg2 any) *PipelineServiceRemoveProcessorCall
RemoveProcessor indicates an expected call of RemoveProcessor.
func (*PipelineServiceMockRecorder) Start ¶
func (mr *PipelineServiceMockRecorder) Start(arg0, arg1, arg2, arg3, arg4 any) *PipelineServiceStartCall
Start indicates an expected call of Start.
func (*PipelineServiceMockRecorder) Stop ¶
func (mr *PipelineServiceMockRecorder) Stop(arg0, arg1, arg2 any) *PipelineServiceStopCall
Stop indicates an expected call of Stop.
func (*PipelineServiceMockRecorder) Update ¶ added in v0.6.0
func (mr *PipelineServiceMockRecorder) Update(arg0, arg1, arg2 any) *PipelineServiceUpdateCall
Update indicates an expected call of Update.
func (*PipelineServiceMockRecorder) UpdateDLQ ¶ added in v0.4.0
func (mr *PipelineServiceMockRecorder) UpdateDLQ(arg0, arg1, arg2 any) *PipelineServiceUpdateDLQCall
UpdateDLQ indicates an expected call of UpdateDLQ.
type PipelineServiceRemoveConnectorCall ¶ added in v0.11.0
PipelineServiceRemoveConnectorCall wrap *gomock.Call
func (*PipelineServiceRemoveConnectorCall) Do ¶ added in v0.11.0
func (c *PipelineServiceRemoveConnectorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveConnectorCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceRemoveConnectorCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceRemoveConnectorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveConnectorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceRemoveConnectorCall) Return ¶ added in v0.11.0
func (c *PipelineServiceRemoveConnectorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceRemoveConnectorCall
Return rewrite *gomock.Call.Return
type PipelineServiceRemoveProcessorCall ¶ added in v0.11.0
PipelineServiceRemoveProcessorCall wrap *gomock.Call
func (*PipelineServiceRemoveProcessorCall) Do ¶ added in v0.11.0
func (c *PipelineServiceRemoveProcessorCall) Do(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveProcessorCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceRemoveProcessorCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceRemoveProcessorCall) DoAndReturn(f func(context.Context, string, string) (*pipeline.Instance, error)) *PipelineServiceRemoveProcessorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceRemoveProcessorCall) Return ¶ added in v0.11.0
func (c *PipelineServiceRemoveProcessorCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceRemoveProcessorCall
Return rewrite *gomock.Call.Return
type PipelineServiceStartCall ¶ added in v0.11.0
PipelineServiceStartCall wrap *gomock.Call
func (*PipelineServiceStartCall) Do ¶ added in v0.11.0
func (c *PipelineServiceStartCall) Do(f func(context.Context, pipeline.ConnectorFetcher, pipeline.ProcessorService, pipeline.PluginDispenserFetcher, string) error) *PipelineServiceStartCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceStartCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceStartCall) DoAndReturn(f func(context.Context, pipeline.ConnectorFetcher, pipeline.ProcessorService, pipeline.PluginDispenserFetcher, string) error) *PipelineServiceStartCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceStartCall) Return ¶ added in v0.11.0
func (c *PipelineServiceStartCall) Return(arg0 error) *PipelineServiceStartCall
Return rewrite *gomock.Call.Return
type PipelineServiceStopCall ¶ added in v0.11.0
PipelineServiceStopCall wrap *gomock.Call
func (*PipelineServiceStopCall) Do ¶ added in v0.11.0
func (c *PipelineServiceStopCall) Do(f func(context.Context, string, bool) error) *PipelineServiceStopCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceStopCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceStopCall) DoAndReturn(f func(context.Context, string, bool) error) *PipelineServiceStopCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceStopCall) Return ¶ added in v0.11.0
func (c *PipelineServiceStopCall) Return(arg0 error) *PipelineServiceStopCall
Return rewrite *gomock.Call.Return
type PipelineServiceUpdateCall ¶ added in v0.11.0
PipelineServiceUpdateCall wrap *gomock.Call
func (*PipelineServiceUpdateCall) Do ¶ added in v0.11.0
func (c *PipelineServiceUpdateCall) Do(f func(context.Context, string, pipeline.Config) (*pipeline.Instance, error)) *PipelineServiceUpdateCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceUpdateCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceUpdateCall) DoAndReturn(f func(context.Context, string, pipeline.Config) (*pipeline.Instance, error)) *PipelineServiceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceUpdateCall) Return ¶ added in v0.11.0
func (c *PipelineServiceUpdateCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceUpdateCall
Return rewrite *gomock.Call.Return
type PipelineServiceUpdateDLQCall ¶ added in v0.11.0
PipelineServiceUpdateDLQCall wrap *gomock.Call
func (*PipelineServiceUpdateDLQCall) Do ¶ added in v0.11.0
func (c *PipelineServiceUpdateDLQCall) Do(f func(context.Context, string, pipeline.DLQ) (*pipeline.Instance, error)) *PipelineServiceUpdateDLQCall
Do rewrite *gomock.Call.Do
func (*PipelineServiceUpdateDLQCall) DoAndReturn ¶ added in v0.11.0
func (c *PipelineServiceUpdateDLQCall) DoAndReturn(f func(context.Context, string, pipeline.DLQ) (*pipeline.Instance, error)) *PipelineServiceUpdateDLQCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*PipelineServiceUpdateDLQCall) Return ¶ added in v0.11.0
func (c *PipelineServiceUpdateDLQCall) Return(arg0 *pipeline.Instance, arg1 error) *PipelineServiceUpdateDLQCall
Return rewrite *gomock.Call.Return
type ProcessorService ¶
type ProcessorService struct {
// contains filtered or unexported fields
}
ProcessorService is a mock of ProcessorService interface.
func NewProcessorService ¶
func NewProcessorService(ctrl *gomock.Controller) *ProcessorService
NewProcessorService creates a new mock instance.
func (*ProcessorService) Create ¶
func (m *ProcessorService) Create(arg0 context.Context, arg1, arg2 string, arg3 processor.Parent, arg4 processor.Config, arg5 processor.ProvisionType, arg6 string) (*processor.Instance, error)
Create mocks base method.
func (*ProcessorService) Delete ¶
func (m *ProcessorService) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*ProcessorService) EXPECT ¶
func (m *ProcessorService) EXPECT() *ProcessorServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*ProcessorService) MakeRunnableProcessor ¶ added in v0.9.0
func (m *ProcessorService) MakeRunnableProcessor(arg0 context.Context, arg1 *processor.Instance) (*processor.RunnableProcessor, error)
MakeRunnableProcessor mocks base method.
type ProcessorServiceCreateCall ¶ added in v0.11.0
ProcessorServiceCreateCall wrap *gomock.Call
func (*ProcessorServiceCreateCall) Do ¶ added in v0.11.0
func (c *ProcessorServiceCreateCall) Do(f func(context.Context, string, string, processor.Parent, processor.Config, processor.ProvisionType, string) (*processor.Instance, error)) *ProcessorServiceCreateCall
Do rewrite *gomock.Call.Do
func (*ProcessorServiceCreateCall) DoAndReturn ¶ added in v0.11.0
func (c *ProcessorServiceCreateCall) DoAndReturn(f func(context.Context, string, string, processor.Parent, processor.Config, processor.ProvisionType, string) (*processor.Instance, error)) *ProcessorServiceCreateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ProcessorServiceCreateCall) Return ¶ added in v0.11.0
func (c *ProcessorServiceCreateCall) Return(arg0 *processor.Instance, arg1 error) *ProcessorServiceCreateCall
Return rewrite *gomock.Call.Return
type ProcessorServiceDeleteCall ¶ added in v0.11.0
ProcessorServiceDeleteCall wrap *gomock.Call
func (*ProcessorServiceDeleteCall) Do ¶ added in v0.11.0
func (c *ProcessorServiceDeleteCall) Do(f func(context.Context, string) error) *ProcessorServiceDeleteCall
Do rewrite *gomock.Call.Do
func (*ProcessorServiceDeleteCall) DoAndReturn ¶ added in v0.11.0
func (c *ProcessorServiceDeleteCall) DoAndReturn(f func(context.Context, string) error) *ProcessorServiceDeleteCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ProcessorServiceDeleteCall) Return ¶ added in v0.11.0
func (c *ProcessorServiceDeleteCall) Return(arg0 error) *ProcessorServiceDeleteCall
Return rewrite *gomock.Call.Return
type ProcessorServiceGetCall ¶ added in v0.11.0
ProcessorServiceGetCall wrap *gomock.Call
func (*ProcessorServiceGetCall) Do ¶ added in v0.11.0
func (c *ProcessorServiceGetCall) Do(f func(context.Context, string) (*processor.Instance, error)) *ProcessorServiceGetCall
Do rewrite *gomock.Call.Do
func (*ProcessorServiceGetCall) DoAndReturn ¶ added in v0.11.0
func (c *ProcessorServiceGetCall) DoAndReturn(f func(context.Context, string) (*processor.Instance, error)) *ProcessorServiceGetCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ProcessorServiceGetCall) Return ¶ added in v0.11.0
func (c *ProcessorServiceGetCall) Return(arg0 *processor.Instance, arg1 error) *ProcessorServiceGetCall
Return rewrite *gomock.Call.Return
type ProcessorServiceMakeRunnableProcessorCall ¶ added in v0.11.0
ProcessorServiceMakeRunnableProcessorCall wrap *gomock.Call
func (*ProcessorServiceMakeRunnableProcessorCall) Do ¶ added in v0.11.0
func (c *ProcessorServiceMakeRunnableProcessorCall) Do(f func(context.Context, *processor.Instance) (*processor.RunnableProcessor, error)) *ProcessorServiceMakeRunnableProcessorCall
Do rewrite *gomock.Call.Do
func (*ProcessorServiceMakeRunnableProcessorCall) DoAndReturn ¶ added in v0.11.0
func (c *ProcessorServiceMakeRunnableProcessorCall) DoAndReturn(f func(context.Context, *processor.Instance) (*processor.RunnableProcessor, error)) *ProcessorServiceMakeRunnableProcessorCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ProcessorServiceMakeRunnableProcessorCall) Return ¶ added in v0.11.0
func (c *ProcessorServiceMakeRunnableProcessorCall) Return(arg0 *processor.RunnableProcessor, arg1 error) *ProcessorServiceMakeRunnableProcessorCall
Return rewrite *gomock.Call.Return
type ProcessorServiceMockRecorder ¶
type ProcessorServiceMockRecorder struct {
// contains filtered or unexported fields
}
ProcessorServiceMockRecorder is the mock recorder for ProcessorService.
func (*ProcessorServiceMockRecorder) Create ¶
func (mr *ProcessorServiceMockRecorder) Create(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *ProcessorServiceCreateCall
Create indicates an expected call of Create.
func (*ProcessorServiceMockRecorder) CreateWithInstance ¶ added in v0.6.0
func (mr *ProcessorServiceMockRecorder) CreateWithInstance(ctx interface{}, instance *processor.Instance) *ProcessorServiceCreateCall
CreateWithInstance is a utility function that lets you declare an expected call to Create with arguments taken from the supplied instance.
func (*ProcessorServiceMockRecorder) Delete ¶
func (mr *ProcessorServiceMockRecorder) Delete(arg0, arg1 any) *ProcessorServiceDeleteCall
Delete indicates an expected call of Delete.
func (*ProcessorServiceMockRecorder) Get ¶
func (mr *ProcessorServiceMockRecorder) Get(arg0, arg1 any) *ProcessorServiceGetCall
Get indicates an expected call of Get.
func (*ProcessorServiceMockRecorder) MakeRunnableProcessor ¶ added in v0.9.0
func (mr *ProcessorServiceMockRecorder) MakeRunnableProcessor(arg0, arg1 any) *ProcessorServiceMakeRunnableProcessorCall
MakeRunnableProcessor indicates an expected call of MakeRunnableProcessor.
func (*ProcessorServiceMockRecorder) Update ¶ added in v0.6.0
func (mr *ProcessorServiceMockRecorder) Update(arg0, arg1, arg2 any) *ProcessorServiceUpdateCall
Update indicates an expected call of Update.
type ProcessorServiceUpdateCall ¶ added in v0.11.0
ProcessorServiceUpdateCall wrap *gomock.Call
func (*ProcessorServiceUpdateCall) Do ¶ added in v0.11.0
func (c *ProcessorServiceUpdateCall) Do(f func(context.Context, string, processor.Config) (*processor.Instance, error)) *ProcessorServiceUpdateCall
Do rewrite *gomock.Call.Do
func (*ProcessorServiceUpdateCall) DoAndReturn ¶ added in v0.11.0
func (c *ProcessorServiceUpdateCall) DoAndReturn(f func(context.Context, string, processor.Config) (*processor.Instance, error)) *ProcessorServiceUpdateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ProcessorServiceUpdateCall) Return ¶ added in v0.11.0
func (c *ProcessorServiceUpdateCall) Return(arg0 *processor.Instance, arg1 error) *ProcessorServiceUpdateCall
Return rewrite *gomock.Call.Return