Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockController
- type MockControllerMockRecorder
- type MockDelivery
- func (m *MockDelivery) Attempt() int
- func (m *MockDelivery) DeliveryID() string
- func (m *MockDelivery) EXPECT() *MockDeliveryMockRecorder
- func (m *MockDelivery) ExtendVisibilityTimeout(ctx context.Context, durationMillis int64) error
- func (m *MockDelivery) Message() queue.Message
- func (m *MockDelivery) Metadata() map[string]string
- func (m *MockDelivery) ReceivedAt() int64
- type MockDeliveryMockRecorder
- func (mr *MockDeliveryMockRecorder) Attempt() *gomock.Call
- func (mr *MockDeliveryMockRecorder) DeliveryID() *gomock.Call
- func (mr *MockDeliveryMockRecorder) ExtendVisibilityTimeout(ctx, durationMillis any) *gomock.Call
- func (mr *MockDeliveryMockRecorder) Message() *gomock.Call
- func (mr *MockDeliveryMockRecorder) Metadata() *gomock.Call
- func (mr *MockDeliveryMockRecorder) ReceivedAt() *gomock.Call
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 ¶
func (m *MockController) EXPECT() *MockControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockControllerMockRecorder) Name() *gomock.Call
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) DeliveryID ¶
func (m *MockDelivery) DeliveryID() string
DeliveryID mocks base method.
func (*MockDelivery) EXPECT ¶
func (m *MockDelivery) EXPECT() *MockDeliveryMockRecorder
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() queue.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.