mock

package
v0.9.0-nightly.20231128 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/conduitio/conduit/pkg/plugin (interfaces: Dispenser,DestinationPlugin,SourcePlugin,SpecifierPlugin)

Generated by this command:

mockgen -destination=mock/plugin.go -package=mock -mock_names=Dispenser=Dispenser,SourcePlugin=SourcePlugin,DestinationPlugin=DestinationPlugin,SpecifierPlugin=SpecifierPlugin . Dispenser,DestinationPlugin,SourcePlugin,SpecifierPlugin

Package mock is a generated GoMock package.

Index

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) Ack

Ack mocks base method.

func (*DestinationPlugin) Configure

func (m *DestinationPlugin) Configure(arg0 context.Context, arg1 map[string]string) error

Configure mocks base method.

func (*DestinationPlugin) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*DestinationPlugin) LifecycleOnCreated added in v0.6.0

func (m *DestinationPlugin) LifecycleOnCreated(arg0 context.Context, arg1 map[string]string) error

LifecycleOnCreated mocks base method.

func (*DestinationPlugin) LifecycleOnDeleted added in v0.6.0

func (m *DestinationPlugin) LifecycleOnDeleted(arg0 context.Context, arg1 map[string]string) error

LifecycleOnDeleted mocks base method.

func (*DestinationPlugin) LifecycleOnUpdated added in v0.6.0

func (m *DestinationPlugin) LifecycleOnUpdated(arg0 context.Context, arg1, arg2 map[string]string) error

LifecycleOnUpdated mocks base method.

func (*DestinationPlugin) Start

func (m *DestinationPlugin) Start(arg0 context.Context) error

Start mocks base method.

func (*DestinationPlugin) Stop

func (m *DestinationPlugin) Stop(arg0 context.Context, arg1 record.Position) error

Stop mocks base method.

func (*DestinationPlugin) Teardown

func (m *DestinationPlugin) Teardown(arg0 context.Context) error

Teardown mocks base method.

func (*DestinationPlugin) Write

func (m *DestinationPlugin) Write(arg0 context.Context, arg1 record.Record) error

Write mocks base method.

type DestinationPluginMockRecorder

type DestinationPluginMockRecorder struct {
	// contains filtered or unexported fields
}

DestinationPluginMockRecorder is the mock recorder for DestinationPlugin.

func (*DestinationPluginMockRecorder) Ack

Ack indicates an expected call of Ack.

func (*DestinationPluginMockRecorder) Configure

func (mr *DestinationPluginMockRecorder) Configure(arg0, arg1 any) *gomock.Call

Configure indicates an expected call of Configure.

func (*DestinationPluginMockRecorder) LifecycleOnCreated added in v0.6.0

func (mr *DestinationPluginMockRecorder) LifecycleOnCreated(arg0, arg1 any) *gomock.Call

LifecycleOnCreated indicates an expected call of LifecycleOnCreated.

func (*DestinationPluginMockRecorder) LifecycleOnDeleted added in v0.6.0

func (mr *DestinationPluginMockRecorder) LifecycleOnDeleted(arg0, arg1 any) *gomock.Call

LifecycleOnDeleted indicates an expected call of LifecycleOnDeleted.

func (*DestinationPluginMockRecorder) LifecycleOnUpdated added in v0.6.0

func (mr *DestinationPluginMockRecorder) LifecycleOnUpdated(arg0, arg1, arg2 any) *gomock.Call

LifecycleOnUpdated indicates an expected call of LifecycleOnUpdated.

func (*DestinationPluginMockRecorder) Start

func (mr *DestinationPluginMockRecorder) Start(arg0 any) *gomock.Call

Start indicates an expected call of Start.

func (*DestinationPluginMockRecorder) Stop

func (mr *DestinationPluginMockRecorder) Stop(arg0, arg1 any) *gomock.Call

Stop indicates an expected call of Stop.

func (*DestinationPluginMockRecorder) Teardown

func (mr *DestinationPluginMockRecorder) Teardown(arg0 any) *gomock.Call

Teardown indicates an expected call of Teardown.

func (*DestinationPluginMockRecorder) Write

func (mr *DestinationPluginMockRecorder) Write(arg0, arg1 any) *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) Ack

func (m *SourcePlugin) Ack(arg0 context.Context, arg1 record.Position) error

Ack mocks base method.

func (*SourcePlugin) Configure

func (m *SourcePlugin) Configure(arg0 context.Context, arg1 map[string]string) error

Configure mocks base method.

func (*SourcePlugin) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*SourcePlugin) LifecycleOnCreated added in v0.6.0

func (m *SourcePlugin) LifecycleOnCreated(arg0 context.Context, arg1 map[string]string) error

LifecycleOnCreated mocks base method.

func (*SourcePlugin) LifecycleOnDeleted added in v0.6.0

func (m *SourcePlugin) LifecycleOnDeleted(arg0 context.Context, arg1 map[string]string) error

LifecycleOnDeleted mocks base method.

func (*SourcePlugin) LifecycleOnUpdated added in v0.6.0

func (m *SourcePlugin) LifecycleOnUpdated(arg0 context.Context, arg1, arg2 map[string]string) error

LifecycleOnUpdated mocks base method.

func (*SourcePlugin) Read

func (m *SourcePlugin) Read(arg0 context.Context) (record.Record, error)

Read mocks base method.

func (*SourcePlugin) Start

func (m *SourcePlugin) Start(arg0 context.Context, arg1 record.Position) error

Start mocks base method.

func (*SourcePlugin) Stop

func (m *SourcePlugin) Stop(arg0 context.Context) (record.Position, error)

Stop mocks base method.

func (*SourcePlugin) Teardown

func (m *SourcePlugin) Teardown(arg0 context.Context) error

Teardown mocks base method.

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 any) *gomock.Call

Ack indicates an expected call of Ack.

func (*SourcePluginMockRecorder) Configure

func (mr *SourcePluginMockRecorder) Configure(arg0, arg1 any) *gomock.Call

Configure indicates an expected call of Configure.

func (*SourcePluginMockRecorder) LifecycleOnCreated added in v0.6.0

func (mr *SourcePluginMockRecorder) LifecycleOnCreated(arg0, arg1 any) *gomock.Call

LifecycleOnCreated indicates an expected call of LifecycleOnCreated.

func (*SourcePluginMockRecorder) LifecycleOnDeleted added in v0.6.0

func (mr *SourcePluginMockRecorder) LifecycleOnDeleted(arg0, arg1 any) *gomock.Call

LifecycleOnDeleted indicates an expected call of LifecycleOnDeleted.

func (*SourcePluginMockRecorder) LifecycleOnUpdated added in v0.6.0

func (mr *SourcePluginMockRecorder) LifecycleOnUpdated(arg0, arg1, arg2 any) *gomock.Call

LifecycleOnUpdated indicates an expected call of LifecycleOnUpdated.

func (*SourcePluginMockRecorder) Read

func (mr *SourcePluginMockRecorder) Read(arg0 any) *gomock.Call

Read indicates an expected call of Read.

func (*SourcePluginMockRecorder) Start

func (mr *SourcePluginMockRecorder) Start(arg0, arg1 any) *gomock.Call

Start indicates an expected call of Start.

func (*SourcePluginMockRecorder) Stop

func (mr *SourcePluginMockRecorder) Stop(arg0 any) *gomock.Call

Stop indicates an expected call of Stop.

func (*SourcePluginMockRecorder) Teardown

func (mr *SourcePluginMockRecorder) Teardown(arg0 any) *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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL