mock

package
v0.5.0-nightly.20230126 Latest Latest
Warning

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

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

Documentation

Overview

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

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

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