mock

package
v0.10.0-nightly.20240320 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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

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

Configure mocks base method.

func (*Processor) EXPECT

func (m *Processor) EXPECT() *ProcessorMockRecorder

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

func (*Processor) Open

func (m *Processor) Open(arg0 context.Context) error

Open mocks base method.

func (*Processor) Process

func (m *Processor) Process(arg0 context.Context, arg1 []opencdc.Record) []sdk.ProcessedRecord

Process mocks base method.

func (*Processor) Specification

func (m *Processor) Specification() (sdk.Specification, error)

Specification mocks base method.

func (*Processor) Teardown

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

Teardown 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.

func (*ProcessorMockRecorder) Teardown

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

Teardown indicates an expected call of Teardown.

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.

func (*Registry) List

func (m *Registry) List() map[plugin.FullName]sdk.Specification

List mocks base method.

func (*Registry) NewProcessor

func (m *Registry) NewProcessor(ctx context.Context, fullName plugin.FullName, id string) (sdk.Processor, error)

NewProcessor mocks base method.

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.

Jump to

Keyboard shortcuts

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