Documentation
¶
Index ¶
- func CreateSQSServiceMock(options ...SqsServiceMockOption) *sqsServiceMock
- type SqsServiceMockOption
- func WithCreateQueueError(err error) SqsServiceMockOption
- func WithCreateQueueOutput(output *sqs.CreateQueueOutput) SqsServiceMockOption
- func WithDeleteQueueError(err error) SqsServiceMockOption
- func WithDeleteQueueOutput(output *sqs.DeleteQueueOutput) SqsServiceMockOption
- func WithGetQueueAttributesError(err error) SqsServiceMockOption
- func WithGetQueueAttributesOutput(output *sqs.GetQueueAttributesOutput) SqsServiceMockOption
- func WithGetQueueUrlError(err error) SqsServiceMockOption
- func WithGetQueueUrlOutput(output *sqs.GetQueueUrlOutput) SqsServiceMockOption
- func WithListQueueTagsError(err error) SqsServiceMockOption
- func WithListQueueTagsOutput(output *sqs.ListQueueTagsOutput) SqsServiceMockOption
- func WithSetQueueAttributesError(err error) SqsServiceMockOption
- func WithSetQueueAttributesOutput(output *sqs.SetQueueAttributesOutput) SqsServiceMockOption
- func WithTagQueueError(err error) SqsServiceMockOption
- func WithTagQueueOutput(output *sqs.TagQueueOutput) SqsServiceMockOption
- func WithUntagQueueError(err error) SqsServiceMockOption
- func WithUntagQueueOutput(output *sqs.UntagQueueOutput) SqsServiceMockOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSQSServiceMock ¶
func CreateSQSServiceMock(options ...SqsServiceMockOption) *sqsServiceMock
CreateSQSServiceMock creates a new instance of the SQS service mock with the provided options.
Types ¶
type SqsServiceMockOption ¶
type SqsServiceMockOption func(*sqsServiceMock)
SqsServiceMockOption is a function type for configuring the SQS service mock.
func WithCreateQueueError ¶
func WithCreateQueueError(err error) SqsServiceMockOption
WithCreateQueueError sets the mock error for CreateQueue.
func WithCreateQueueOutput ¶
func WithCreateQueueOutput(output *sqs.CreateQueueOutput) SqsServiceMockOption
WithCreateQueueOutput sets the mock output for CreateQueue.
func WithDeleteQueueError ¶
func WithDeleteQueueError(err error) SqsServiceMockOption
WithDeleteQueueError sets the mock error for DeleteQueue.
func WithDeleteQueueOutput ¶
func WithDeleteQueueOutput(output *sqs.DeleteQueueOutput) SqsServiceMockOption
WithDeleteQueueOutput sets the mock output for DeleteQueue.
func WithGetQueueAttributesError ¶
func WithGetQueueAttributesError(err error) SqsServiceMockOption
WithGetQueueAttributesError sets the mock error for GetQueueAttributes.
func WithGetQueueAttributesOutput ¶
func WithGetQueueAttributesOutput(output *sqs.GetQueueAttributesOutput) SqsServiceMockOption
WithGetQueueAttributesOutput sets the mock output for GetQueueAttributes.
func WithGetQueueUrlError ¶
func WithGetQueueUrlError(err error) SqsServiceMockOption
WithGetQueueUrlError sets the mock error for GetQueueUrl.
func WithGetQueueUrlOutput ¶
func WithGetQueueUrlOutput(output *sqs.GetQueueUrlOutput) SqsServiceMockOption
WithGetQueueUrlOutput sets the mock output for GetQueueUrl.
func WithListQueueTagsError ¶
func WithListQueueTagsError(err error) SqsServiceMockOption
WithListQueueTagsError sets the mock error for ListQueueTags.
func WithListQueueTagsOutput ¶
func WithListQueueTagsOutput(output *sqs.ListQueueTagsOutput) SqsServiceMockOption
WithListQueueTagsOutput sets the mock output for ListQueueTags.
func WithSetQueueAttributesError ¶
func WithSetQueueAttributesError(err error) SqsServiceMockOption
WithSetQueueAttributesError sets the mock error for SetQueueAttributes.
func WithSetQueueAttributesOutput ¶
func WithSetQueueAttributesOutput(output *sqs.SetQueueAttributesOutput) SqsServiceMockOption
WithSetQueueAttributesOutput sets the mock output for SetQueueAttributes.
func WithTagQueueError ¶
func WithTagQueueError(err error) SqsServiceMockOption
WithTagQueueError sets the mock error for TagQueue.
func WithTagQueueOutput ¶
func WithTagQueueOutput(output *sqs.TagQueueOutput) SqsServiceMockOption
WithTagQueueOutput sets the mock output for TagQueue.
func WithUntagQueueError ¶
func WithUntagQueueError(err error) SqsServiceMockOption
WithUntagQueueError sets the mock error for UntagQueue.
func WithUntagQueueOutput ¶
func WithUntagQueueOutput(output *sqs.UntagQueueOutput) SqsServiceMockOption
WithUntagQueueOutput sets the mock output for UntagQueue.