Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type DestinationPlugin
- func (m *DestinationPlugin) Ack(arg0 context.Context) (record.Position, error)
- func (m *DestinationPlugin) Configure(arg0 context.Context, arg1 map[string]string) error
- func (m *DestinationPlugin) EXPECT() *DestinationPluginMockRecorder
- func (m *DestinationPlugin) Start(arg0 context.Context) error
- func (m *DestinationPlugin) Stop(arg0 context.Context, arg1 record.Position) error
- func (m *DestinationPlugin) Teardown(arg0 context.Context) error
- func (m *DestinationPlugin) Write(arg0 context.Context, arg1 record.Record) error
- type DestinationPluginMockRecorder
- func (mr *DestinationPluginMockRecorder) Ack(arg0 interface{}) *gomock.Call
- func (mr *DestinationPluginMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call
- func (mr *DestinationPluginMockRecorder) Start(arg0 interface{}) *gomock.Call
- func (mr *DestinationPluginMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
- func (mr *DestinationPluginMockRecorder) Teardown(arg0 interface{}) *gomock.Call
- func (mr *DestinationPluginMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
- type Dispenser
- type DispenserMockRecorder
- type SourcePlugin
- func (m *SourcePlugin) Ack(arg0 context.Context, arg1 record.Position) error
- func (m *SourcePlugin) Configure(arg0 context.Context, arg1 map[string]string) error
- func (m *SourcePlugin) EXPECT() *SourcePluginMockRecorder
- func (m *SourcePlugin) Read(arg0 context.Context) (record.Record, error)
- func (m *SourcePlugin) Start(arg0 context.Context, arg1 record.Position) error
- func (m *SourcePlugin) Stop(arg0 context.Context) (record.Position, error)
- func (m *SourcePlugin) Teardown(arg0 context.Context) error
- type SourcePluginMockRecorder
- func (mr *SourcePluginMockRecorder) Ack(arg0, arg1 interface{}) *gomock.Call
- func (mr *SourcePluginMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call
- func (mr *SourcePluginMockRecorder) Read(arg0 interface{}) *gomock.Call
- func (mr *SourcePluginMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *SourcePluginMockRecorder) Stop(arg0 interface{}) *gomock.Call
- func (mr *SourcePluginMockRecorder) Teardown(arg0 interface{}) *gomock.Call
- type SpecifierPlugin
- type SpecifierPluginMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationPlugin ¶
type DestinationPlugin struct {
// contains filtered or unexported fields
}
DestinationPlugin is a mock of DestinationPlugin interface.
func NewDestinationPlugin ¶
func NewDestinationPlugin(ctrl *gomock.Controller) *DestinationPlugin
NewDestinationPlugin creates a new mock instance.
func (*DestinationPlugin) EXPECT ¶
func (m *DestinationPlugin) EXPECT() *DestinationPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*DestinationPlugin) Start ¶
func (m *DestinationPlugin) Start(arg0 context.Context) error
Start mocks base method.
type DestinationPluginMockRecorder ¶
type DestinationPluginMockRecorder struct {
// contains filtered or unexported fields
}
DestinationPluginMockRecorder is the mock recorder for DestinationPlugin.
func (*DestinationPluginMockRecorder) Ack ¶
func (mr *DestinationPluginMockRecorder) Ack(arg0 interface{}) *gomock.Call
Ack indicates an expected call of Ack.
func (*DestinationPluginMockRecorder) Configure ¶
func (mr *DestinationPluginMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call
Configure indicates an expected call of Configure.
func (*DestinationPluginMockRecorder) Start ¶
func (mr *DestinationPluginMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*DestinationPluginMockRecorder) Stop ¶
func (mr *DestinationPluginMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*DestinationPluginMockRecorder) Teardown ¶
func (mr *DestinationPluginMockRecorder) Teardown(arg0 interface{}) *gomock.Call
Teardown indicates an expected call of Teardown.
func (*DestinationPluginMockRecorder) Write ¶
func (mr *DestinationPluginMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call
Write indicates an expected call of Write.
type Dispenser ¶
type Dispenser struct {
// contains filtered or unexported fields
}
Dispenser is a mock of Dispenser interface.
func NewDispenser ¶
func NewDispenser(ctrl *gomock.Controller) *Dispenser
NewDispenser creates a new mock instance.
func (*Dispenser) DispenseDestination ¶
func (m *Dispenser) DispenseDestination() (plugin.DestinationPlugin, error)
DispenseDestination mocks base method.
func (*Dispenser) DispenseSource ¶
func (m *Dispenser) DispenseSource() (plugin.SourcePlugin, error)
DispenseSource mocks base method.
func (*Dispenser) DispenseSpecifier ¶
func (m *Dispenser) DispenseSpecifier() (plugin.SpecifierPlugin, error)
DispenseSpecifier mocks base method.
func (*Dispenser) EXPECT ¶
func (m *Dispenser) EXPECT() *DispenserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type DispenserMockRecorder ¶
type DispenserMockRecorder struct {
// contains filtered or unexported fields
}
DispenserMockRecorder is the mock recorder for Dispenser.
func (*DispenserMockRecorder) DispenseDestination ¶
func (mr *DispenserMockRecorder) DispenseDestination() *gomock.Call
DispenseDestination indicates an expected call of DispenseDestination.
func (*DispenserMockRecorder) DispenseSource ¶
func (mr *DispenserMockRecorder) DispenseSource() *gomock.Call
DispenseSource indicates an expected call of DispenseSource.
func (*DispenserMockRecorder) DispenseSpecifier ¶
func (mr *DispenserMockRecorder) DispenseSpecifier() *gomock.Call
DispenseSpecifier indicates an expected call of DispenseSpecifier.
type SourcePlugin ¶
type SourcePlugin struct {
// contains filtered or unexported fields
}
SourcePlugin is a mock of SourcePlugin interface.
func NewSourcePlugin ¶
func NewSourcePlugin(ctrl *gomock.Controller) *SourcePlugin
NewSourcePlugin creates a new mock instance.
func (*SourcePlugin) EXPECT ¶
func (m *SourcePlugin) EXPECT() *SourcePluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type SourcePluginMockRecorder ¶
type SourcePluginMockRecorder struct {
// contains filtered or unexported fields
}
SourcePluginMockRecorder is the mock recorder for SourcePlugin.
func (*SourcePluginMockRecorder) Ack ¶
func (mr *SourcePluginMockRecorder) Ack(arg0, arg1 interface{}) *gomock.Call
Ack indicates an expected call of Ack.
func (*SourcePluginMockRecorder) Configure ¶
func (mr *SourcePluginMockRecorder) Configure(arg0, arg1 interface{}) *gomock.Call
Configure indicates an expected call of Configure.
func (*SourcePluginMockRecorder) Read ¶
func (mr *SourcePluginMockRecorder) Read(arg0 interface{}) *gomock.Call
Read indicates an expected call of Read.
func (*SourcePluginMockRecorder) Start ¶
func (mr *SourcePluginMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*SourcePluginMockRecorder) Stop ¶
func (mr *SourcePluginMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop.
func (*SourcePluginMockRecorder) Teardown ¶
func (mr *SourcePluginMockRecorder) Teardown(arg0 interface{}) *gomock.Call
Teardown indicates an expected call of Teardown.
type SpecifierPlugin ¶
type SpecifierPlugin struct {
// contains filtered or unexported fields
}
SpecifierPlugin is a mock of SpecifierPlugin interface.
func NewSpecifierPlugin ¶
func NewSpecifierPlugin(ctrl *gomock.Controller) *SpecifierPlugin
NewSpecifierPlugin creates a new mock instance.
func (*SpecifierPlugin) EXPECT ¶
func (m *SpecifierPlugin) EXPECT() *SpecifierPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*SpecifierPlugin) Specify ¶
func (m *SpecifierPlugin) Specify() (plugin.Specification, error)
Specify mocks base method.
type SpecifierPluginMockRecorder ¶
type SpecifierPluginMockRecorder struct {
// contains filtered or unexported fields
}
SpecifierPluginMockRecorder is the mock recorder for SpecifierPlugin.
func (*SpecifierPluginMockRecorder) Specify ¶
func (mr *SpecifierPluginMockRecorder) Specify() *gomock.Call
Specify indicates an expected call of Specify.