mock

package
v0.1.0-dev8 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 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 MockController

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

MockController is a mock of Controller interface.

func NewMockController

func NewMockController(ctrl *gomock.Controller) *MockController

NewMockController creates a new mock instance.

func (*MockController) ConsumerGroup

func (m *MockController) ConsumerGroup() string

ConsumerGroup mocks base method.

func (*MockController) EXPECT

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

func (*MockController) Name

func (m *MockController) Name() string

Name mocks base method.

func (*MockController) Process

func (m *MockController) Process(ctx context.Context, delivery consumer.Delivery) error

Process mocks base method.

func (*MockController) TopicKey

func (m *MockController) TopicKey() consumer.TopicKey

TopicKey mocks base method.

type MockControllerMockRecorder

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

MockControllerMockRecorder is the mock recorder for MockController.

func (*MockControllerMockRecorder) ConsumerGroup

func (mr *MockControllerMockRecorder) ConsumerGroup() *gomock.Call

ConsumerGroup indicates an expected call of ConsumerGroup.

func (*MockControllerMockRecorder) Name

Name indicates an expected call of Name.

func (*MockControllerMockRecorder) Process

func (mr *MockControllerMockRecorder) Process(ctx, delivery any) *gomock.Call

Process indicates an expected call of Process.

func (*MockControllerMockRecorder) TopicKey

func (mr *MockControllerMockRecorder) TopicKey() *gomock.Call

TopicKey indicates an expected call of TopicKey.

type MockDelivery

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

MockDelivery is a mock of Delivery interface.

func NewMockDelivery

func NewMockDelivery(ctrl *gomock.Controller) *MockDelivery

NewMockDelivery creates a new mock instance.

func (*MockDelivery) Attempt

func (m *MockDelivery) Attempt() int

Attempt mocks base method.

func (*MockDelivery) DeliveryID

func (m *MockDelivery) DeliveryID() string

DeliveryID mocks base method.

func (*MockDelivery) EXPECT

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

func (*MockDelivery) ExtendVisibilityTimeout

func (m *MockDelivery) ExtendVisibilityTimeout(ctx context.Context, durationMillis int64) error

ExtendVisibilityTimeout mocks base method.

func (*MockDelivery) Message

func (m *MockDelivery) Message() messagequeue.Message

Message mocks base method.

func (*MockDelivery) Metadata

func (m *MockDelivery) Metadata() map[string]string

Metadata mocks base method.

func (*MockDelivery) ReceivedAt

func (m *MockDelivery) ReceivedAt() int64

ReceivedAt mocks base method.

type MockDeliveryMockRecorder

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

MockDeliveryMockRecorder is the mock recorder for MockDelivery.

func (*MockDeliveryMockRecorder) Attempt

func (mr *MockDeliveryMockRecorder) Attempt() *gomock.Call

Attempt indicates an expected call of Attempt.

func (*MockDeliveryMockRecorder) DeliveryID

func (mr *MockDeliveryMockRecorder) DeliveryID() *gomock.Call

DeliveryID indicates an expected call of DeliveryID.

func (*MockDeliveryMockRecorder) ExtendVisibilityTimeout

func (mr *MockDeliveryMockRecorder) ExtendVisibilityTimeout(ctx, durationMillis any) *gomock.Call

ExtendVisibilityTimeout indicates an expected call of ExtendVisibilityTimeout.

func (*MockDeliveryMockRecorder) Message

func (mr *MockDeliveryMockRecorder) Message() *gomock.Call

Message indicates an expected call of Message.

func (*MockDeliveryMockRecorder) Metadata

func (mr *MockDeliveryMockRecorder) Metadata() *gomock.Call

Metadata indicates an expected call of Metadata.

func (*MockDeliveryMockRecorder) ReceivedAt

func (mr *MockDeliveryMockRecorder) ReceivedAt() *gomock.Call

ReceivedAt indicates an expected call of ReceivedAt.

Jump to

Keyboard shortcuts

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