Documentation ¶
Index ¶
- type SQSClientInterface
- func (_m *SQSClientInterface) GetQueueUrl() *string
- func (_m *SQSClientInterface) GetQueues(prefix string) []*string
- func (_m *SQSClientInterface) Poll()
- func (_m *SQSClientInterface) ProcessMessage(message *sqs.Message, queueUrl string)
- func (_m *SQSClientInterface) ReceiveMessages(queueUrl string, ch chan *sqs.Message) error
- func (_m *SQSClientInterface) Start()
- type SQSService
- func (_m *SQSService) ChangeMessageVisibility(input *sqs.ChangeMessageVisibilityInput) (*sqs.ChangeMessageVisibilityOutput, error)
- func (_m *SQSService) DeleteMessage(input *sqs.DeleteMessageInput) (*sqs.DeleteMessageOutput, error)
- func (_m *SQSService) GetQueueUrl(input *sqs.GetQueueUrlInput) (*sqs.GetQueueUrlOutput, error)
- func (_m *SQSService) ListQueues(input *sqs.ListQueuesInput) (*sqs.ListQueuesOutput, error)
- func (_m *SQSService) ReceiveMessage(input *sqs.ReceiveMessageInput) (*sqs.ReceiveMessageOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQSClientInterface ¶
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 ¶
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