sqsdouble

package
v0.0.0-...-8548fdf Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00 For SDKVersion 1.28.13 Package sqsdouble contains test double implementation of sqsiface.SQSAPI

Package sqsdouble provides a TestDouble implementation of sqsiface.SQSAPI

Code generated by go awsdoublegen; DO NOT EDIT. This file was generated at 2020-01-29T21:22:05+11:00

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQSDouble

type SQSDouble struct {
	sqsiface.SQSAPI
	*awsdouble.AWSTestDouble
}

SQSDouble is TestDouble for sqsiface.SQSAPI

func NewDouble

func NewDouble(t godouble.T, configurators ...func(*awsdouble.AWSTestDouble)) *SQSDouble

Constructor for SQSDouble Default configuration will ensure

  • API operations not explicitly stubbed will return an empty output struct pointer, and nil error. To simulate long polling, "Poll" operations will return these values after a random delay of up to 100ms.

  • WithContext methods implement a 'Fake' method that returns a cancellation error if the context is cancelled before the method is called.

  • Pages and PagesWithContext methods similarly implement a 'Fake' method that paginates over the underlying method.

    This allows tests to only stub the simple api methods and be generally unconcerned whether the SUT is using the Context or Pagination forms of the API.

func (*SQSDouble) AddPermission

func (d *SQSDouble) AddPermission(i0 *sqs.AddPermissionInput) (r0 *sqs.AddPermissionOutput, r1 error)

func (*SQSDouble) AddPermissionRequest

func (d *SQSDouble) AddPermissionRequest(i0 *sqs.AddPermissionInput) (r0 *request.Request, r1 *sqs.AddPermissionOutput)

func (*SQSDouble) AddPermissionWithContext

func (d *SQSDouble) AddPermissionWithContext(i0 context.Context, i1 *sqs.AddPermissionInput, i2 ...request.Option) (r0 *sqs.AddPermissionOutput, r1 error)

func (*SQSDouble) ChangeMessageVisibility

func (d *SQSDouble) ChangeMessageVisibility(i0 *sqs.ChangeMessageVisibilityInput) (r0 *sqs.ChangeMessageVisibilityOutput, r1 error)

func (*SQSDouble) ChangeMessageVisibilityBatch

func (d *SQSDouble) ChangeMessageVisibilityBatch(i0 *sqs.ChangeMessageVisibilityBatchInput) (r0 *sqs.ChangeMessageVisibilityBatchOutput, r1 error)

func (*SQSDouble) ChangeMessageVisibilityBatchRequest

func (d *SQSDouble) ChangeMessageVisibilityBatchRequest(i0 *sqs.ChangeMessageVisibilityBatchInput) (r0 *request.Request, r1 *sqs.ChangeMessageVisibilityBatchOutput)

func (*SQSDouble) ChangeMessageVisibilityBatchWithContext

func (d *SQSDouble) ChangeMessageVisibilityBatchWithContext(i0 context.Context, i1 *sqs.ChangeMessageVisibilityBatchInput, i2 ...request.Option) (r0 *sqs.ChangeMessageVisibilityBatchOutput, r1 error)

func (*SQSDouble) ChangeMessageVisibilityRequest

func (d *SQSDouble) ChangeMessageVisibilityRequest(i0 *sqs.ChangeMessageVisibilityInput) (r0 *request.Request, r1 *sqs.ChangeMessageVisibilityOutput)

func (*SQSDouble) ChangeMessageVisibilityWithContext

func (d *SQSDouble) ChangeMessageVisibilityWithContext(i0 context.Context, i1 *sqs.ChangeMessageVisibilityInput, i2 ...request.Option) (r0 *sqs.ChangeMessageVisibilityOutput, r1 error)

func (*SQSDouble) CreateQueue

func (d *SQSDouble) CreateQueue(i0 *sqs.CreateQueueInput) (r0 *sqs.CreateQueueOutput, r1 error)

func (*SQSDouble) CreateQueueRequest

func (d *SQSDouble) CreateQueueRequest(i0 *sqs.CreateQueueInput) (r0 *request.Request, r1 *sqs.CreateQueueOutput)

func (*SQSDouble) CreateQueueWithContext

func (d *SQSDouble) CreateQueueWithContext(i0 context.Context, i1 *sqs.CreateQueueInput, i2 ...request.Option) (r0 *sqs.CreateQueueOutput, r1 error)

func (*SQSDouble) DeleteMessage

func (d *SQSDouble) DeleteMessage(i0 *sqs.DeleteMessageInput) (r0 *sqs.DeleteMessageOutput, r1 error)

func (*SQSDouble) DeleteMessageBatch

func (d *SQSDouble) DeleteMessageBatch(i0 *sqs.DeleteMessageBatchInput) (r0 *sqs.DeleteMessageBatchOutput, r1 error)

func (*SQSDouble) DeleteMessageBatchRequest

func (d *SQSDouble) DeleteMessageBatchRequest(i0 *sqs.DeleteMessageBatchInput) (r0 *request.Request, r1 *sqs.DeleteMessageBatchOutput)

func (*SQSDouble) DeleteMessageBatchWithContext

func (d *SQSDouble) DeleteMessageBatchWithContext(i0 context.Context, i1 *sqs.DeleteMessageBatchInput, i2 ...request.Option) (r0 *sqs.DeleteMessageBatchOutput, r1 error)

func (*SQSDouble) DeleteMessageRequest

func (d *SQSDouble) DeleteMessageRequest(i0 *sqs.DeleteMessageInput) (r0 *request.Request, r1 *sqs.DeleteMessageOutput)

func (*SQSDouble) DeleteMessageWithContext

func (d *SQSDouble) DeleteMessageWithContext(i0 context.Context, i1 *sqs.DeleteMessageInput, i2 ...request.Option) (r0 *sqs.DeleteMessageOutput, r1 error)

func (*SQSDouble) DeleteQueue

func (d *SQSDouble) DeleteQueue(i0 *sqs.DeleteQueueInput) (r0 *sqs.DeleteQueueOutput, r1 error)

func (*SQSDouble) DeleteQueueRequest

func (d *SQSDouble) DeleteQueueRequest(i0 *sqs.DeleteQueueInput) (r0 *request.Request, r1 *sqs.DeleteQueueOutput)

func (*SQSDouble) DeleteQueueWithContext

func (d *SQSDouble) DeleteQueueWithContext(i0 context.Context, i1 *sqs.DeleteQueueInput, i2 ...request.Option) (r0 *sqs.DeleteQueueOutput, r1 error)

func (*SQSDouble) GetQueueAttributes

func (d *SQSDouble) GetQueueAttributes(i0 *sqs.GetQueueAttributesInput) (r0 *sqs.GetQueueAttributesOutput, r1 error)

func (*SQSDouble) GetQueueAttributesRequest

func (d *SQSDouble) GetQueueAttributesRequest(i0 *sqs.GetQueueAttributesInput) (r0 *request.Request, r1 *sqs.GetQueueAttributesOutput)

func (*SQSDouble) GetQueueAttributesWithContext

func (d *SQSDouble) GetQueueAttributesWithContext(i0 context.Context, i1 *sqs.GetQueueAttributesInput, i2 ...request.Option) (r0 *sqs.GetQueueAttributesOutput, r1 error)

func (*SQSDouble) GetQueueUrl

func (d *SQSDouble) GetQueueUrl(i0 *sqs.GetQueueUrlInput) (r0 *sqs.GetQueueUrlOutput, r1 error)

func (*SQSDouble) GetQueueUrlRequest

func (d *SQSDouble) GetQueueUrlRequest(i0 *sqs.GetQueueUrlInput) (r0 *request.Request, r1 *sqs.GetQueueUrlOutput)

func (*SQSDouble) GetQueueUrlWithContext

func (d *SQSDouble) GetQueueUrlWithContext(i0 context.Context, i1 *sqs.GetQueueUrlInput, i2 ...request.Option) (r0 *sqs.GetQueueUrlOutput, r1 error)

func (*SQSDouble) ListDeadLetterSourceQueues

func (d *SQSDouble) ListDeadLetterSourceQueues(i0 *sqs.ListDeadLetterSourceQueuesInput) (r0 *sqs.ListDeadLetterSourceQueuesOutput, r1 error)

func (*SQSDouble) ListDeadLetterSourceQueuesRequest

func (d *SQSDouble) ListDeadLetterSourceQueuesRequest(i0 *sqs.ListDeadLetterSourceQueuesInput) (r0 *request.Request, r1 *sqs.ListDeadLetterSourceQueuesOutput)

func (*SQSDouble) ListDeadLetterSourceQueuesWithContext

func (d *SQSDouble) ListDeadLetterSourceQueuesWithContext(i0 context.Context, i1 *sqs.ListDeadLetterSourceQueuesInput, i2 ...request.Option) (r0 *sqs.ListDeadLetterSourceQueuesOutput, r1 error)

func (*SQSDouble) ListQueueTags

func (d *SQSDouble) ListQueueTags(i0 *sqs.ListQueueTagsInput) (r0 *sqs.ListQueueTagsOutput, r1 error)

func (*SQSDouble) ListQueueTagsRequest

func (d *SQSDouble) ListQueueTagsRequest(i0 *sqs.ListQueueTagsInput) (r0 *request.Request, r1 *sqs.ListQueueTagsOutput)

func (*SQSDouble) ListQueueTagsWithContext

func (d *SQSDouble) ListQueueTagsWithContext(i0 context.Context, i1 *sqs.ListQueueTagsInput, i2 ...request.Option) (r0 *sqs.ListQueueTagsOutput, r1 error)

func (*SQSDouble) ListQueues

func (d *SQSDouble) ListQueues(i0 *sqs.ListQueuesInput) (r0 *sqs.ListQueuesOutput, r1 error)

func (*SQSDouble) ListQueuesRequest

func (d *SQSDouble) ListQueuesRequest(i0 *sqs.ListQueuesInput) (r0 *request.Request, r1 *sqs.ListQueuesOutput)

func (*SQSDouble) ListQueuesWithContext

func (d *SQSDouble) ListQueuesWithContext(i0 context.Context, i1 *sqs.ListQueuesInput, i2 ...request.Option) (r0 *sqs.ListQueuesOutput, r1 error)

func (*SQSDouble) PurgeQueue

func (d *SQSDouble) PurgeQueue(i0 *sqs.PurgeQueueInput) (r0 *sqs.PurgeQueueOutput, r1 error)

func (*SQSDouble) PurgeQueueRequest

func (d *SQSDouble) PurgeQueueRequest(i0 *sqs.PurgeQueueInput) (r0 *request.Request, r1 *sqs.PurgeQueueOutput)

func (*SQSDouble) PurgeQueueWithContext

func (d *SQSDouble) PurgeQueueWithContext(i0 context.Context, i1 *sqs.PurgeQueueInput, i2 ...request.Option) (r0 *sqs.PurgeQueueOutput, r1 error)

func (*SQSDouble) ReceiveMessage

func (d *SQSDouble) ReceiveMessage(i0 *sqs.ReceiveMessageInput) (r0 *sqs.ReceiveMessageOutput, r1 error)

func (*SQSDouble) ReceiveMessageRequest

func (d *SQSDouble) ReceiveMessageRequest(i0 *sqs.ReceiveMessageInput) (r0 *request.Request, r1 *sqs.ReceiveMessageOutput)

func (*SQSDouble) ReceiveMessageWithContext

func (d *SQSDouble) ReceiveMessageWithContext(i0 context.Context, i1 *sqs.ReceiveMessageInput, i2 ...request.Option) (r0 *sqs.ReceiveMessageOutput, r1 error)

func (*SQSDouble) RemovePermission

func (d *SQSDouble) RemovePermission(i0 *sqs.RemovePermissionInput) (r0 *sqs.RemovePermissionOutput, r1 error)

func (*SQSDouble) RemovePermissionRequest

func (d *SQSDouble) RemovePermissionRequest(i0 *sqs.RemovePermissionInput) (r0 *request.Request, r1 *sqs.RemovePermissionOutput)

func (*SQSDouble) RemovePermissionWithContext

func (d *SQSDouble) RemovePermissionWithContext(i0 context.Context, i1 *sqs.RemovePermissionInput, i2 ...request.Option) (r0 *sqs.RemovePermissionOutput, r1 error)

func (*SQSDouble) SendMessage

func (d *SQSDouble) SendMessage(i0 *sqs.SendMessageInput) (r0 *sqs.SendMessageOutput, r1 error)

func (*SQSDouble) SendMessageBatch

func (d *SQSDouble) SendMessageBatch(i0 *sqs.SendMessageBatchInput) (r0 *sqs.SendMessageBatchOutput, r1 error)

func (*SQSDouble) SendMessageBatchRequest

func (d *SQSDouble) SendMessageBatchRequest(i0 *sqs.SendMessageBatchInput) (r0 *request.Request, r1 *sqs.SendMessageBatchOutput)

func (*SQSDouble) SendMessageBatchWithContext

func (d *SQSDouble) SendMessageBatchWithContext(i0 context.Context, i1 *sqs.SendMessageBatchInput, i2 ...request.Option) (r0 *sqs.SendMessageBatchOutput, r1 error)

func (*SQSDouble) SendMessageRequest

func (d *SQSDouble) SendMessageRequest(i0 *sqs.SendMessageInput) (r0 *request.Request, r1 *sqs.SendMessageOutput)

func (*SQSDouble) SendMessageWithContext

func (d *SQSDouble) SendMessageWithContext(i0 context.Context, i1 *sqs.SendMessageInput, i2 ...request.Option) (r0 *sqs.SendMessageOutput, r1 error)

func (*SQSDouble) SetQueueAttributes

func (d *SQSDouble) SetQueueAttributes(i0 *sqs.SetQueueAttributesInput) (r0 *sqs.SetQueueAttributesOutput, r1 error)

func (*SQSDouble) SetQueueAttributesRequest

func (d *SQSDouble) SetQueueAttributesRequest(i0 *sqs.SetQueueAttributesInput) (r0 *request.Request, r1 *sqs.SetQueueAttributesOutput)

func (*SQSDouble) SetQueueAttributesWithContext

func (d *SQSDouble) SetQueueAttributesWithContext(i0 context.Context, i1 *sqs.SetQueueAttributesInput, i2 ...request.Option) (r0 *sqs.SetQueueAttributesOutput, r1 error)

func (*SQSDouble) TagQueue

func (d *SQSDouble) TagQueue(i0 *sqs.TagQueueInput) (r0 *sqs.TagQueueOutput, r1 error)

func (*SQSDouble) TagQueueRequest

func (d *SQSDouble) TagQueueRequest(i0 *sqs.TagQueueInput) (r0 *request.Request, r1 *sqs.TagQueueOutput)

func (*SQSDouble) TagQueueWithContext

func (d *SQSDouble) TagQueueWithContext(i0 context.Context, i1 *sqs.TagQueueInput, i2 ...request.Option) (r0 *sqs.TagQueueOutput, r1 error)

func (*SQSDouble) UntagQueue

func (d *SQSDouble) UntagQueue(i0 *sqs.UntagQueueInput) (r0 *sqs.UntagQueueOutput, r1 error)

func (*SQSDouble) UntagQueueRequest

func (d *SQSDouble) UntagQueueRequest(i0 *sqs.UntagQueueInput) (r0 *request.Request, r1 *sqs.UntagQueueOutput)

func (*SQSDouble) UntagQueueWithContext

func (d *SQSDouble) UntagQueueWithContext(i0 context.Context, i1 *sqs.UntagQueueInput, i2 ...request.Option) (r0 *sqs.UntagQueueOutput, r1 error)

Jump to

Keyboard shortcuts

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