mocks

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 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 SQSClientInterface

type SQSClientInterface struct {
	mock.Mock
}

SQSClientInterface is an autogenerated mock type for the SQSClientInterface type

func NewSQSClientInterface

func NewSQSClientInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *SQSClientInterface

NewSQSClientInterface creates a new instance of SQSClientInterface. 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 (*SQSClientInterface) GetQueueUrl

func (_m *SQSClientInterface) GetQueueUrl() *string

GetQueueUrl provides a mock function with given fields:

func (*SQSClientInterface) GetQueues

func (_m *SQSClientInterface) GetQueues(prefix string) []*string

GetQueues provides a mock function with given fields: prefix

func (*SQSClientInterface) Poll

func (_m *SQSClientInterface) Poll()

Poll provides a mock function with given fields:

func (*SQSClientInterface) ProcessMessage

func (_m *SQSClientInterface) ProcessMessage(message *sqs.Message, queueUrl string)

ProcessMessage provides a mock function with given fields: message, queueUrl

func (*SQSClientInterface) ReceiveMessages

func (_m *SQSClientInterface) ReceiveMessages(queueUrl string, ch chan *sqs.Message) error

ReceiveMessages provides a mock function with given fields: queueUrl, ch

func (*SQSClientInterface) Start

func (_m *SQSClientInterface) Start()

Start provides a mock function with given fields:

type SQSService

type SQSService struct {
	mock.Mock
}

SQSService is an autogenerated mock type for the SQSService type

func NewSQSService

func NewSQSService(t interface {
	mock.TestingT
	Cleanup(func())
}) *SQSService

NewSQSService creates a new instance of SQSService. 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 (*SQSService) ChangeMessageVisibility

func (_m *SQSService) ChangeMessageVisibility(input *sqs.ChangeMessageVisibilityInput) (*sqs.ChangeMessageVisibilityOutput, error)

ChangeMessageVisibility provides a mock function with given fields: input

func (*SQSService) DeleteMessage

func (_m *SQSService) DeleteMessage(input *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)

DeleteMessage provides a mock function with given fields: input

func (*SQSService) GetQueueUrl

func (_m *SQSService) GetQueueUrl(input *sqs.GetQueueUrlInput) (*sqs.GetQueueUrlOutput, error)

GetQueueUrl provides a mock function with given fields: input

func (*SQSService) ListQueues

func (_m *SQSService) ListQueues(input *sqs.ListQueuesInput) (*sqs.ListQueuesOutput, error)

ListQueues provides a mock function with given fields: input

func (*SQSService) ReceiveMessage

func (_m *SQSService) ReceiveMessage(input *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)

ReceiveMessage provides a mock function with given fields: input

Jump to

Keyboard shortcuts

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