mocks

package
v0.19.1 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	mock.Mock
}

Writer is an autogenerated mock type for the Writer type

func NewWriter

func NewWriter(t mockConstructorTestingTNewWriter) *Writer

NewWriter creates a new instance of Writer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Writer) Close

func (_m *Writer) Close() error

Close provides a mock function with given fields:

func (*Writer) Stats

func (_m *Writer) Stats() kafka.WriterStats

Stats provides a mock function with given fields:

func (*Writer) WriteMessages

func (_m *Writer) WriteMessages(ctx context.Context, msgs ...kafka.Message) error

WriteMessages provides a mock function with given fields: ctx, msgs

Jump to

Keyboard shortcuts

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