fake

package
v0.50.6 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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