mocks

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IClient

type IClient struct {
	mock.Mock
}

IClient is an autogenerated mock type for the IClient type

func NewIClient

func NewIClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *IClient

NewIClient creates a new instance of IClient. 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 (*IClient) AddPermission

func (_m *IClient) AddPermission(ctx context.Context, params *sqs.AddPermissionInput, optFns ...func(*sqs.Options)) (*sqs.AddPermissionOutput, error)

AddPermission provides a mock function with given fields: ctx, params, optFns

func (*IClient) CancelMessageMoveTask

func (_m *IClient) CancelMessageMoveTask(ctx context.Context, params *sqs.CancelMessageMoveTaskInput, optFns ...func(*sqs.Options)) (*sqs.CancelMessageMoveTaskOutput, error)

CancelMessageMoveTask provides a mock function with given fields: ctx, params, optFns

func (*IClient) ChangeMessageVisibility

func (_m *IClient) ChangeMessageVisibility(ctx context.Context, params *sqs.ChangeMessageVisibilityInput, optFns ...func(*sqs.Options)) (*sqs.ChangeMessageVisibilityOutput, error)

ChangeMessageVisibility provides a mock function with given fields: ctx, params, optFns

func (*IClient) ChangeMessageVisibilityBatch

func (_m *IClient) ChangeMessageVisibilityBatch(ctx context.Context, params *sqs.ChangeMessageVisibilityBatchInput, optFns ...func(*sqs.Options)) (*sqs.ChangeMessageVisibilityBatchOutput, error)

ChangeMessageVisibilityBatch provides a mock function with given fields: ctx, params, optFns

func (*IClient) CreateQueue

func (_m *IClient) CreateQueue(ctx context.Context, params *sqs.CreateQueueInput, optFns ...func(*sqs.Options)) (*sqs.CreateQueueOutput, error)

CreateQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteMessage

func (_m *IClient) DeleteMessage(ctx context.Context, params *sqs.DeleteMessageInput, optFns ...func(*sqs.Options)) (*sqs.DeleteMessageOutput, error)

DeleteMessage provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteMessageBatch

func (_m *IClient) DeleteMessageBatch(ctx context.Context, params *sqs.DeleteMessageBatchInput, optFns ...func(*sqs.Options)) (*sqs.DeleteMessageBatchOutput, error)

DeleteMessageBatch provides a mock function with given fields: ctx, params, optFns

func (*IClient) DeleteQueue

func (_m *IClient) DeleteQueue(ctx context.Context, params *sqs.DeleteQueueInput, optFns ...func(*sqs.Options)) (*sqs.DeleteQueueOutput, error)

DeleteQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetQueueAttributes

func (_m *IClient) GetQueueAttributes(ctx context.Context, params *sqs.GetQueueAttributesInput, optFns ...func(*sqs.Options)) (*sqs.GetQueueAttributesOutput, error)

GetQueueAttributes provides a mock function with given fields: ctx, params, optFns

func (*IClient) GetQueueUrl

func (_m *IClient) GetQueueUrl(ctx context.Context, params *sqs.GetQueueUrlInput, optFns ...func(*sqs.Options)) (*sqs.GetQueueUrlOutput, error)

GetQueueUrl provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListDeadLetterSourceQueues

func (_m *IClient) ListDeadLetterSourceQueues(ctx context.Context, params *sqs.ListDeadLetterSourceQueuesInput, optFns ...func(*sqs.Options)) (*sqs.ListDeadLetterSourceQueuesOutput, error)

ListDeadLetterSourceQueues provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListMessageMoveTasks

func (_m *IClient) ListMessageMoveTasks(ctx context.Context, params *sqs.ListMessageMoveTasksInput, optFns ...func(*sqs.Options)) (*sqs.ListMessageMoveTasksOutput, error)

ListMessageMoveTasks provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListQueueTags

func (_m *IClient) ListQueueTags(ctx context.Context, params *sqs.ListQueueTagsInput, optFns ...func(*sqs.Options)) (*sqs.ListQueueTagsOutput, error)

ListQueueTags provides a mock function with given fields: ctx, params, optFns

func (*IClient) ListQueues

func (_m *IClient) ListQueues(ctx context.Context, params *sqs.ListQueuesInput, optFns ...func(*sqs.Options)) (*sqs.ListQueuesOutput, error)

ListQueues provides a mock function with given fields: ctx, params, optFns

func (*IClient) Options

func (_m *IClient) Options() sqs.Options

Options provides a mock function with given fields:

func (*IClient) PurgeQueue

func (_m *IClient) PurgeQueue(ctx context.Context, params *sqs.PurgeQueueInput, optFns ...func(*sqs.Options)) (*sqs.PurgeQueueOutput, error)

PurgeQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) ReceiveMessage

func (_m *IClient) ReceiveMessage(ctx context.Context, params *sqs.ReceiveMessageInput, optFns ...func(*sqs.Options)) (*sqs.ReceiveMessageOutput, error)

ReceiveMessage provides a mock function with given fields: ctx, params, optFns

func (*IClient) RemovePermission

func (_m *IClient) RemovePermission(ctx context.Context, params *sqs.RemovePermissionInput, optFns ...func(*sqs.Options)) (*sqs.RemovePermissionOutput, error)

RemovePermission provides a mock function with given fields: ctx, params, optFns

func (*IClient) SendMessage

func (_m *IClient) SendMessage(ctx context.Context, params *sqs.SendMessageInput, optFns ...func(*sqs.Options)) (*sqs.SendMessageOutput, error)

SendMessage provides a mock function with given fields: ctx, params, optFns

func (*IClient) SendMessageBatch

func (_m *IClient) SendMessageBatch(ctx context.Context, params *sqs.SendMessageBatchInput, optFns ...func(*sqs.Options)) (*sqs.SendMessageBatchOutput, error)

SendMessageBatch provides a mock function with given fields: ctx, params, optFns

func (*IClient) SetQueueAttributes

func (_m *IClient) SetQueueAttributes(ctx context.Context, params *sqs.SetQueueAttributesInput, optFns ...func(*sqs.Options)) (*sqs.SetQueueAttributesOutput, error)

SetQueueAttributes provides a mock function with given fields: ctx, params, optFns

func (*IClient) StartMessageMoveTask

func (_m *IClient) StartMessageMoveTask(ctx context.Context, params *sqs.StartMessageMoveTaskInput, optFns ...func(*sqs.Options)) (*sqs.StartMessageMoveTaskOutput, error)

StartMessageMoveTask provides a mock function with given fields: ctx, params, optFns

func (*IClient) TagQueue

func (_m *IClient) TagQueue(ctx context.Context, params *sqs.TagQueueInput, optFns ...func(*sqs.Options)) (*sqs.TagQueueOutput, error)

TagQueue provides a mock function with given fields: ctx, params, optFns

func (*IClient) UntagQueue

func (_m *IClient) UntagQueue(ctx context.Context, params *sqs.UntagQueueInput, optFns ...func(*sqs.Options)) (*sqs.UntagQueueOutput, error)

UntagQueue provides a mock function with given fields: ctx, params, optFns

Jump to

Keyboard shortcuts

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