mocks

package
v1.59.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	mock.Mock
}

Message is an autogenerated mock type for the Message type

func NewMessage added in v1.59.0

func NewMessage(t interface {
	mock.TestingT
	Cleanup(func())
}) *Message

NewMessage creates a new instance of Message. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Message) Key

func (_m *Message) Key() []byte

Key provides a mock function with given fields:

func (*Message) Offset

func (_m *Message) Offset() int64

Offset provides a mock function with given fields:

func (*Message) Partition

func (_m *Message) Partition() int32

Partition provides a mock function with given fields:

func (*Message) Topic

func (_m *Message) Topic() string

Topic provides a mock function with given fields:

func (*Message) Value

func (_m *Message) Value() []byte

Value provides a mock function with given fields:

Jump to

Keyboard shortcuts

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