Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type Processor
- func (m *Processor) Configure(arg0 context.Context, arg1 map[string]string) error
- func (m *Processor) EXPECT() *ProcessorMockRecorder
- func (m *Processor) Open(arg0 context.Context) error
- func (m *Processor) Process(arg0 context.Context, arg1 []opencdc.Record) []sdk.ProcessedRecord
- func (m *Processor) Specification() (sdk.Specification, error)
- func (m *Processor) Teardown(arg0 context.Context) error
- type ProcessorMockRecorder
- func (mr *ProcessorMockRecorder) Configure(arg0, arg1 any) *gomock.Call
- func (mr *ProcessorMockRecorder) Open(arg0 any) *gomock.Call
- func (mr *ProcessorMockRecorder) Process(arg0, arg1 any) *gomock.Call
- func (mr *ProcessorMockRecorder) Specification() *gomock.Call
- func (mr *ProcessorMockRecorder) Teardown(arg0 any) *gomock.Call
- type Registry
- type RegistryMockRecorder
- type StandaloneRegistry
- func (m *StandaloneRegistry) EXPECT() *StandaloneRegistryMockRecorder
- func (m *StandaloneRegistry) List() map[plugin.FullName]sdk.Specification
- func (m *StandaloneRegistry) NewProcessor(ctx context.Context, fullName plugin.FullName, id string) (sdk.Processor, error)
- func (m *StandaloneRegistry) Register(ctx context.Context, path string) (plugin.FullName, error)
- type StandaloneRegistryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor struct { sdk.UnimplementedProcessor // contains filtered or unexported fields }
Processor is a mock of Processor interface.
func NewProcessor ¶
func NewProcessor(ctrl *gomock.Controller) *Processor
NewProcessor creates a new mock instance.
func (*Processor) EXPECT ¶
func (m *Processor) EXPECT() *ProcessorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*Processor) Specification ¶
func (m *Processor) Specification() (sdk.Specification, error)
Specification mocks base method.
type ProcessorMockRecorder ¶
type ProcessorMockRecorder struct {
// contains filtered or unexported fields
}
ProcessorMockRecorder is the mock recorder for Processor.
func (*ProcessorMockRecorder) Configure ¶
func (mr *ProcessorMockRecorder) Configure(arg0, arg1 any) *gomock.Call
Configure indicates an expected call of Configure.
func (*ProcessorMockRecorder) Open ¶
func (mr *ProcessorMockRecorder) Open(arg0 any) *gomock.Call
Open indicates an expected call of Open.
func (*ProcessorMockRecorder) Process ¶
func (mr *ProcessorMockRecorder) Process(arg0, arg1 any) *gomock.Call
Process indicates an expected call of Process.
func (*ProcessorMockRecorder) Specification ¶
func (mr *ProcessorMockRecorder) Specification() *gomock.Call
Specification indicates an expected call of Specification.
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is a mock of registry interface.
func NewRegistry ¶
func NewRegistry(ctrl *gomock.Controller) *Registry
NewRegistry creates a new mock instance.
func (*Registry) EXPECT ¶
func (m *Registry) EXPECT() *RegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type RegistryMockRecorder ¶
type RegistryMockRecorder struct {
// contains filtered or unexported fields
}
RegistryMockRecorder is the mock recorder for Registry.
func (*RegistryMockRecorder) List ¶
func (mr *RegistryMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*RegistryMockRecorder) NewProcessor ¶
func (mr *RegistryMockRecorder) NewProcessor(ctx, fullName, id any) *gomock.Call
NewProcessor indicates an expected call of NewProcessor.
type StandaloneRegistry ¶ added in v0.9.1
type StandaloneRegistry struct {
// contains filtered or unexported fields
}
StandaloneRegistry is a mock of standaloneRegistry interface.
func NewStandaloneRegistry ¶ added in v0.9.1
func NewStandaloneRegistry(ctrl *gomock.Controller) *StandaloneRegistry
NewStandaloneRegistry creates a new mock instance.
func (*StandaloneRegistry) EXPECT ¶ added in v0.9.1
func (m *StandaloneRegistry) EXPECT() *StandaloneRegistryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*StandaloneRegistry) List ¶ added in v0.9.1
func (m *StandaloneRegistry) List() map[plugin.FullName]sdk.Specification
List mocks base method.
type StandaloneRegistryMockRecorder ¶ added in v0.9.1
type StandaloneRegistryMockRecorder struct {
// contains filtered or unexported fields
}
StandaloneRegistryMockRecorder is the mock recorder for StandaloneRegistry.
func (*StandaloneRegistryMockRecorder) List ¶ added in v0.9.1
func (mr *StandaloneRegistryMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*StandaloneRegistryMockRecorder) NewProcessor ¶ added in v0.9.1
func (mr *StandaloneRegistryMockRecorder) NewProcessor(ctx, fullName, id any) *gomock.Call
NewProcessor indicates an expected call of NewProcessor.