Documentation ¶
Index ¶
- type MockSQSClient
- func (m *MockSQSClient) CreateQueue(ctx context.Context, i *sqs.CreateQueueInput, opts ...func(*sqs.Options)) (*sqs.CreateQueueOutput, error)
- func (m *MockSQSClient) DeleteQueue(ctx context.Context, i *sqs.DeleteQueueInput, opts ...func(*sqs.Options)) (*sqs.DeleteQueueOutput, error)
- func (m *MockSQSClient) GetQueueAttributes(ctx context.Context, i *sqs.GetQueueAttributesInput, ...) (*sqs.GetQueueAttributesOutput, error)
- func (m *MockSQSClient) GetQueueUrl(ctx context.Context, i *sqs.GetQueueUrlInput, opts ...func(*sqs.Options)) (*sqs.GetQueueUrlOutput, error)
- func (m *MockSQSClient) ListQueueTags(ctx context.Context, i *sqs.ListQueueTagsInput, opts ...func(*sqs.Options)) (*sqs.ListQueueTagsOutput, error)
- func (m *MockSQSClient) SetQueueAttributes(ctx context.Context, i *sqs.SetQueueAttributesInput, ...) (*sqs.SetQueueAttributesOutput, error)
- func (m *MockSQSClient) TagQueue(ctx context.Context, i *sqs.TagQueueInput, opts ...func(*sqs.Options)) (*sqs.TagQueueOutput, error)
- func (m *MockSQSClient) UntagQueue(ctx context.Context, i *sqs.UntagQueueInput, opts ...func(*sqs.Options)) (*sqs.UntagQueueOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSQSClient ¶
type MockSQSClient struct { MockCreateQueue func(ctx context.Context, input *sqs.CreateQueueInput, opts []func(*sqs.Options)) (*sqs.CreateQueueOutput, error) MockDeleteQueue func(ctx context.Context, input *sqs.DeleteQueueInput, opts []func(*sqs.Options)) (*sqs.DeleteQueueOutput, error) MockTagQueue func(ctx context.Context, input *sqs.TagQueueInput, opts []func(*sqs.Options)) (*sqs.TagQueueOutput, error) MockUntagQueue func(ctx context.Context, input *sqs.UntagQueueInput, opts []func(*sqs.Options)) (*sqs.UntagQueueOutput, error) MockListQueueTags func(ctx context.Context, input *sqs.ListQueueTagsInput, opts []func(*sqs.Options)) (*sqs.ListQueueTagsOutput, error) MockGetQueueAttributes func(ctx context.Context, input *sqs.GetQueueAttributesInput, opts []func(*sqs.Options)) (*sqs.GetQueueAttributesOutput, error) MockSetQueueAttributes func(ctx context.Context, input *sqs.SetQueueAttributesInput, opts []func(*sqs.Options)) (*sqs.SetQueueAttributesOutput, error) MockGetQueueURL func(ctx context.Context, input *sqs.GetQueueUrlInput, opts []func(*sqs.Options)) (*sqs.GetQueueUrlOutput, error) }
MockSQSClient for testing.
func (*MockSQSClient) CreateQueue ¶
func (m *MockSQSClient) CreateQueue(ctx context.Context, i *sqs.CreateQueueInput, opts ...func(*sqs.Options)) (*sqs.CreateQueueOutput, error)
CreateQueue mocks CreateQueue
func (*MockSQSClient) DeleteQueue ¶
func (m *MockSQSClient) DeleteQueue(ctx context.Context, i *sqs.DeleteQueueInput, opts ...func(*sqs.Options)) (*sqs.DeleteQueueOutput, error)
DeleteQueue mocks DeleteQueue
func (*MockSQSClient) GetQueueAttributes ¶
func (m *MockSQSClient) GetQueueAttributes(ctx context.Context, i *sqs.GetQueueAttributesInput, opts ...func(*sqs.Options)) (*sqs.GetQueueAttributesOutput, error)
GetQueueAttributes mocks GetQueueAttributes
func (*MockSQSClient) GetQueueUrl ¶
func (m *MockSQSClient) GetQueueUrl(ctx context.Context, i *sqs.GetQueueUrlInput, opts ...func(*sqs.Options)) (*sqs.GetQueueUrlOutput, error)
GetQueueUrl mocks GetQueueUrl
func (*MockSQSClient) ListQueueTags ¶
func (m *MockSQSClient) ListQueueTags(ctx context.Context, i *sqs.ListQueueTagsInput, opts ...func(*sqs.Options)) (*sqs.ListQueueTagsOutput, error)
ListQueueTags mocks ListQueueTags
func (*MockSQSClient) SetQueueAttributes ¶
func (m *MockSQSClient) SetQueueAttributes(ctx context.Context, i *sqs.SetQueueAttributesInput, opts ...func(*sqs.Options)) (*sqs.SetQueueAttributesOutput, error)
SetQueueAttributes mocks SetQueueAttributes
func (*MockSQSClient) TagQueue ¶
func (m *MockSQSClient) TagQueue(ctx context.Context, i *sqs.TagQueueInput, opts ...func(*sqs.Options)) (*sqs.TagQueueOutput, error)
TagQueue mocks TagQueue
func (*MockSQSClient) UntagQueue ¶
func (m *MockSQSClient) UntagQueue(ctx context.Context, i *sqs.UntagQueueInput, opts ...func(*sqs.Options)) (*sqs.UntagQueueOutput, error)
UntagQueue mocks UntagQueue
Click to show internal directories.
Click to hide internal directories.