sqsmock

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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