mocks

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. 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 (*Client) CreateQueue

func (_m *Client) 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 (*Client) DeleteMessage

func (_m *Client) 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 (*Client) DeleteMessageBatch

func (_m *Client) 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 (*Client) EXPECT

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) GetQueueAttributes

func (_m *Client) 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 (*Client) GetQueueUrl

func (_m *Client) 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 (*Client) PurgeQueue

func (_m *Client) 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 (*Client) ReceiveMessage

func (_m *Client) 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 (*Client) SendMessage

func (_m *Client) 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 (*Client) SendMessageBatch

func (_m *Client) 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 (*Client) SetQueueAttributes

func (_m *Client) 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

type Client_CreateQueue_Call

type Client_CreateQueue_Call struct {
	*mock.Call
}

Client_CreateQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateQueue'

func (*Client_CreateQueue_Call) Return

func (*Client_CreateQueue_Call) Run

func (_c *Client_CreateQueue_Call) Run(run func(ctx context.Context, params *sqs.CreateQueueInput, optFns ...func(*sqs.Options))) *Client_CreateQueue_Call

func (*Client_CreateQueue_Call) RunAndReturn

type Client_DeleteMessageBatch_Call

type Client_DeleteMessageBatch_Call struct {
	*mock.Call
}

Client_DeleteMessageBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMessageBatch'

func (*Client_DeleteMessageBatch_Call) Return

func (*Client_DeleteMessageBatch_Call) Run

func (*Client_DeleteMessageBatch_Call) RunAndReturn

type Client_DeleteMessage_Call

type Client_DeleteMessage_Call struct {
	*mock.Call
}

Client_DeleteMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMessage'

func (*Client_DeleteMessage_Call) Return

func (*Client_DeleteMessage_Call) Run

func (_c *Client_DeleteMessage_Call) Run(run func(ctx context.Context, params *sqs.DeleteMessageInput, optFns ...func(*sqs.Options))) *Client_DeleteMessage_Call

func (*Client_DeleteMessage_Call) RunAndReturn

type Client_Expecter

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) CreateQueue

func (_e *Client_Expecter) CreateQueue(ctx interface{}, params interface{}, optFns ...interface{}) *Client_CreateQueue_Call

CreateQueue is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.CreateQueueInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) DeleteMessage

func (_e *Client_Expecter) DeleteMessage(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteMessage_Call

DeleteMessage is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.DeleteMessageInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) DeleteMessageBatch

func (_e *Client_Expecter) DeleteMessageBatch(ctx interface{}, params interface{}, optFns ...interface{}) *Client_DeleteMessageBatch_Call

DeleteMessageBatch is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.DeleteMessageBatchInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) GetQueueAttributes

func (_e *Client_Expecter) GetQueueAttributes(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetQueueAttributes_Call

GetQueueAttributes is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.GetQueueAttributesInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) GetQueueUrl

func (_e *Client_Expecter) GetQueueUrl(ctx interface{}, params interface{}, optFns ...interface{}) *Client_GetQueueUrl_Call

GetQueueUrl is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.GetQueueUrlInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) PurgeQueue

func (_e *Client_Expecter) PurgeQueue(ctx interface{}, params interface{}, optFns ...interface{}) *Client_PurgeQueue_Call

PurgeQueue is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.PurgeQueueInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) ReceiveMessage

func (_e *Client_Expecter) ReceiveMessage(ctx interface{}, params interface{}, optFns ...interface{}) *Client_ReceiveMessage_Call

ReceiveMessage is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.ReceiveMessageInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) SendMessage

func (_e *Client_Expecter) SendMessage(ctx interface{}, params interface{}, optFns ...interface{}) *Client_SendMessage_Call

SendMessage is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.SendMessageInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) SendMessageBatch

func (_e *Client_Expecter) SendMessageBatch(ctx interface{}, params interface{}, optFns ...interface{}) *Client_SendMessageBatch_Call

SendMessageBatch is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.SendMessageBatchInput
  • optFns ...func(*sqs.Options)

func (*Client_Expecter) SetQueueAttributes

func (_e *Client_Expecter) SetQueueAttributes(ctx interface{}, params interface{}, optFns ...interface{}) *Client_SetQueueAttributes_Call

SetQueueAttributes is a helper method to define mock.On call

  • ctx context.Context
  • params *sqs.SetQueueAttributesInput
  • optFns ...func(*sqs.Options)

type Client_GetQueueAttributes_Call

type Client_GetQueueAttributes_Call struct {
	*mock.Call
}

Client_GetQueueAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueueAttributes'

func (*Client_GetQueueAttributes_Call) Return

func (*Client_GetQueueAttributes_Call) Run

func (*Client_GetQueueAttributes_Call) RunAndReturn

type Client_GetQueueUrl_Call

type Client_GetQueueUrl_Call struct {
	*mock.Call
}

Client_GetQueueUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetQueueUrl'

func (*Client_GetQueueUrl_Call) Return

func (*Client_GetQueueUrl_Call) Run

func (_c *Client_GetQueueUrl_Call) Run(run func(ctx context.Context, params *sqs.GetQueueUrlInput, optFns ...func(*sqs.Options))) *Client_GetQueueUrl_Call

func (*Client_GetQueueUrl_Call) RunAndReturn

type Client_PurgeQueue_Call

type Client_PurgeQueue_Call struct {
	*mock.Call
}

Client_PurgeQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PurgeQueue'

func (*Client_PurgeQueue_Call) Return

func (*Client_PurgeQueue_Call) Run

func (_c *Client_PurgeQueue_Call) Run(run func(ctx context.Context, params *sqs.PurgeQueueInput, optFns ...func(*sqs.Options))) *Client_PurgeQueue_Call

func (*Client_PurgeQueue_Call) RunAndReturn

type Client_ReceiveMessage_Call

type Client_ReceiveMessage_Call struct {
	*mock.Call
}

Client_ReceiveMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReceiveMessage'

func (*Client_ReceiveMessage_Call) Return

func (*Client_ReceiveMessage_Call) Run

func (_c *Client_ReceiveMessage_Call) Run(run func(ctx context.Context, params *sqs.ReceiveMessageInput, optFns ...func(*sqs.Options))) *Client_ReceiveMessage_Call

func (*Client_ReceiveMessage_Call) RunAndReturn

type Client_SendMessageBatch_Call

type Client_SendMessageBatch_Call struct {
	*mock.Call
}

Client_SendMessageBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMessageBatch'

func (*Client_SendMessageBatch_Call) Return

func (*Client_SendMessageBatch_Call) Run

func (*Client_SendMessageBatch_Call) RunAndReturn

type Client_SendMessage_Call

type Client_SendMessage_Call struct {
	*mock.Call
}

Client_SendMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendMessage'

func (*Client_SendMessage_Call) Return

func (*Client_SendMessage_Call) Run

func (_c *Client_SendMessage_Call) Run(run func(ctx context.Context, params *sqs.SendMessageInput, optFns ...func(*sqs.Options))) *Client_SendMessage_Call

func (*Client_SendMessage_Call) RunAndReturn

type Client_SetQueueAttributes_Call

type Client_SetQueueAttributes_Call struct {
	*mock.Call
}

Client_SetQueueAttributes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetQueueAttributes'

func (*Client_SetQueueAttributes_Call) Return

func (*Client_SetQueueAttributes_Call) Run

func (*Client_SetQueueAttributes_Call) RunAndReturn

type Queue

type Queue struct {
	mock.Mock
}

Queue is an autogenerated mock type for the Queue type

func NewQueue

func NewQueue(t interface {
	mock.TestingT
	Cleanup(func())
}) *Queue

NewQueue creates a new instance of Queue. 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 (*Queue) DeleteMessage

func (_m *Queue) DeleteMessage(ctx context.Context, receiptHandle string) error

DeleteMessage provides a mock function with given fields: ctx, receiptHandle

func (*Queue) DeleteMessageBatch

func (_m *Queue) DeleteMessageBatch(ctx context.Context, receiptHandles []string) error

DeleteMessageBatch provides a mock function with given fields: ctx, receiptHandles

func (*Queue) EXPECT

func (_m *Queue) EXPECT() *Queue_Expecter

func (*Queue) GetArn

func (_m *Queue) GetArn() string

GetArn provides a mock function with given fields:

func (*Queue) GetName

func (_m *Queue) GetName() string

GetName provides a mock function with given fields:

func (*Queue) GetUrl

func (_m *Queue) GetUrl() string

GetUrl provides a mock function with given fields:

func (*Queue) Receive

func (_m *Queue) Receive(ctx context.Context, maxNumberOfMessages int32, waitTime int32) ([]types.Message, error)

Receive provides a mock function with given fields: ctx, maxNumberOfMessages, waitTime

func (*Queue) Send

func (_m *Queue) Send(ctx context.Context, msg *sqs.Message) error

Send provides a mock function with given fields: ctx, msg

func (*Queue) SendBatch

func (_m *Queue) SendBatch(ctx context.Context, messages []*sqs.Message) error

SendBatch provides a mock function with given fields: ctx, messages

type Queue_DeleteMessageBatch_Call

type Queue_DeleteMessageBatch_Call struct {
	*mock.Call
}

Queue_DeleteMessageBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMessageBatch'

func (*Queue_DeleteMessageBatch_Call) Return

func (*Queue_DeleteMessageBatch_Call) Run

func (_c *Queue_DeleteMessageBatch_Call) Run(run func(ctx context.Context, receiptHandles []string)) *Queue_DeleteMessageBatch_Call

func (*Queue_DeleteMessageBatch_Call) RunAndReturn

type Queue_DeleteMessage_Call

type Queue_DeleteMessage_Call struct {
	*mock.Call
}

Queue_DeleteMessage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteMessage'

func (*Queue_DeleteMessage_Call) Return

func (*Queue_DeleteMessage_Call) Run

func (_c *Queue_DeleteMessage_Call) Run(run func(ctx context.Context, receiptHandle string)) *Queue_DeleteMessage_Call

func (*Queue_DeleteMessage_Call) RunAndReturn

type Queue_Expecter

type Queue_Expecter struct {
	// contains filtered or unexported fields
}

func (*Queue_Expecter) DeleteMessage

func (_e *Queue_Expecter) DeleteMessage(ctx interface{}, receiptHandle interface{}) *Queue_DeleteMessage_Call

DeleteMessage is a helper method to define mock.On call

  • ctx context.Context
  • receiptHandle string

func (*Queue_Expecter) DeleteMessageBatch

func (_e *Queue_Expecter) DeleteMessageBatch(ctx interface{}, receiptHandles interface{}) *Queue_DeleteMessageBatch_Call

DeleteMessageBatch is a helper method to define mock.On call

  • ctx context.Context
  • receiptHandles []string

func (*Queue_Expecter) GetArn

func (_e *Queue_Expecter) GetArn() *Queue_GetArn_Call

GetArn is a helper method to define mock.On call

func (*Queue_Expecter) GetName

func (_e *Queue_Expecter) GetName() *Queue_GetName_Call

GetName is a helper method to define mock.On call

func (*Queue_Expecter) GetUrl

func (_e *Queue_Expecter) GetUrl() *Queue_GetUrl_Call

GetUrl is a helper method to define mock.On call

func (*Queue_Expecter) Receive

func (_e *Queue_Expecter) Receive(ctx interface{}, maxNumberOfMessages interface{}, waitTime interface{}) *Queue_Receive_Call

Receive is a helper method to define mock.On call

  • ctx context.Context
  • maxNumberOfMessages int32
  • waitTime int32

func (*Queue_Expecter) Send

func (_e *Queue_Expecter) Send(ctx interface{}, msg interface{}) *Queue_Send_Call

Send is a helper method to define mock.On call

  • ctx context.Context
  • msg *sqs.Message

func (*Queue_Expecter) SendBatch

func (_e *Queue_Expecter) SendBatch(ctx interface{}, messages interface{}) *Queue_SendBatch_Call

SendBatch is a helper method to define mock.On call

  • ctx context.Context
  • messages []*sqs.Message

type Queue_GetArn_Call

type Queue_GetArn_Call struct {
	*mock.Call
}

Queue_GetArn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetArn'

func (*Queue_GetArn_Call) Return

func (_c *Queue_GetArn_Call) Return(_a0 string) *Queue_GetArn_Call

func (*Queue_GetArn_Call) Run

func (_c *Queue_GetArn_Call) Run(run func()) *Queue_GetArn_Call

func (*Queue_GetArn_Call) RunAndReturn

func (_c *Queue_GetArn_Call) RunAndReturn(run func() string) *Queue_GetArn_Call

type Queue_GetName_Call

type Queue_GetName_Call struct {
	*mock.Call
}

Queue_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'

func (*Queue_GetName_Call) Return

func (_c *Queue_GetName_Call) Return(_a0 string) *Queue_GetName_Call

func (*Queue_GetName_Call) Run

func (_c *Queue_GetName_Call) Run(run func()) *Queue_GetName_Call

func (*Queue_GetName_Call) RunAndReturn

func (_c *Queue_GetName_Call) RunAndReturn(run func() string) *Queue_GetName_Call

type Queue_GetUrl_Call

type Queue_GetUrl_Call struct {
	*mock.Call
}

Queue_GetUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUrl'

func (*Queue_GetUrl_Call) Return

func (_c *Queue_GetUrl_Call) Return(_a0 string) *Queue_GetUrl_Call

func (*Queue_GetUrl_Call) Run

func (_c *Queue_GetUrl_Call) Run(run func()) *Queue_GetUrl_Call

func (*Queue_GetUrl_Call) RunAndReturn

func (_c *Queue_GetUrl_Call) RunAndReturn(run func() string) *Queue_GetUrl_Call

type Queue_Receive_Call

type Queue_Receive_Call struct {
	*mock.Call
}

Queue_Receive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Receive'

func (*Queue_Receive_Call) Return

func (_c *Queue_Receive_Call) Return(_a0 []types.Message, _a1 error) *Queue_Receive_Call

func (*Queue_Receive_Call) Run

func (_c *Queue_Receive_Call) Run(run func(ctx context.Context, maxNumberOfMessages int32, waitTime int32)) *Queue_Receive_Call

func (*Queue_Receive_Call) RunAndReturn

func (_c *Queue_Receive_Call) RunAndReturn(run func(context.Context, int32, int32) ([]types.Message, error)) *Queue_Receive_Call

type Queue_SendBatch_Call

type Queue_SendBatch_Call struct {
	*mock.Call
}

Queue_SendBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendBatch'

func (*Queue_SendBatch_Call) Return

func (*Queue_SendBatch_Call) Run

func (_c *Queue_SendBatch_Call) Run(run func(ctx context.Context, messages []*sqs.Message)) *Queue_SendBatch_Call

func (*Queue_SendBatch_Call) RunAndReturn

func (_c *Queue_SendBatch_Call) RunAndReturn(run func(context.Context, []*sqs.Message) error) *Queue_SendBatch_Call

type Queue_Send_Call

type Queue_Send_Call struct {
	*mock.Call
}

Queue_Send_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Send'

func (*Queue_Send_Call) Return

func (_c *Queue_Send_Call) Return(_a0 error) *Queue_Send_Call

func (*Queue_Send_Call) Run

func (_c *Queue_Send_Call) Run(run func(ctx context.Context, msg *sqs.Message)) *Queue_Send_Call

func (*Queue_Send_Call) RunAndReturn

func (_c *Queue_Send_Call) RunAndReturn(run func(context.Context, *sqs.Message) error) *Queue_Send_Call

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func NewService

func NewService(t interface {
	mock.TestingT
	Cleanup(func())
}) *Service

NewService creates a new instance of Service. 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 (*Service) CreateQueue

func (_m *Service) CreateQueue(ctx context.Context, settings *sqs.Settings) (*sqs.Properties, error)

CreateQueue provides a mock function with given fields: ctx, settings

func (*Service) EXPECT

func (_m *Service) EXPECT() *Service_Expecter

func (*Service) GetArn

func (_m *Service) GetArn(ctx context.Context, url string) (string, error)

GetArn provides a mock function with given fields: ctx, url

func (*Service) GetPropertiesByArn

func (_m *Service) GetPropertiesByArn(ctx context.Context, arn string) (*sqs.Properties, error)

GetPropertiesByArn provides a mock function with given fields: ctx, arn

func (*Service) GetPropertiesByName

func (_m *Service) GetPropertiesByName(ctx context.Context, name string) (*sqs.Properties, error)

GetPropertiesByName provides a mock function with given fields: ctx, name

func (*Service) GetUrl

func (_m *Service) GetUrl(ctx context.Context, name string) (string, error)

GetUrl provides a mock function with given fields: ctx, name

func (*Service) Purge

func (_m *Service) Purge(ctx context.Context, url string) error

Purge provides a mock function with given fields: ctx, url

func (*Service) QueueExists

func (_m *Service) QueueExists(ctx context.Context, name string) (bool, error)

QueueExists provides a mock function with given fields: ctx, name

type Service_CreateQueue_Call

type Service_CreateQueue_Call struct {
	*mock.Call
}

Service_CreateQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateQueue'

func (*Service_CreateQueue_Call) Return

func (*Service_CreateQueue_Call) Run

func (_c *Service_CreateQueue_Call) Run(run func(ctx context.Context, settings *sqs.Settings)) *Service_CreateQueue_Call

func (*Service_CreateQueue_Call) RunAndReturn

type Service_Expecter

type Service_Expecter struct {
	// contains filtered or unexported fields
}

func (*Service_Expecter) CreateQueue

func (_e *Service_Expecter) CreateQueue(ctx interface{}, settings interface{}) *Service_CreateQueue_Call

CreateQueue is a helper method to define mock.On call

  • ctx context.Context
  • settings *sqs.Settings

func (*Service_Expecter) GetArn

func (_e *Service_Expecter) GetArn(ctx interface{}, url interface{}) *Service_GetArn_Call

GetArn is a helper method to define mock.On call

  • ctx context.Context
  • url string

func (*Service_Expecter) GetPropertiesByArn

func (_e *Service_Expecter) GetPropertiesByArn(ctx interface{}, arn interface{}) *Service_GetPropertiesByArn_Call

GetPropertiesByArn is a helper method to define mock.On call

  • ctx context.Context
  • arn string

func (*Service_Expecter) GetPropertiesByName

func (_e *Service_Expecter) GetPropertiesByName(ctx interface{}, name interface{}) *Service_GetPropertiesByName_Call

GetPropertiesByName is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*Service_Expecter) GetUrl

func (_e *Service_Expecter) GetUrl(ctx interface{}, name interface{}) *Service_GetUrl_Call

GetUrl is a helper method to define mock.On call

  • ctx context.Context
  • name string

func (*Service_Expecter) Purge

func (_e *Service_Expecter) Purge(ctx interface{}, url interface{}) *Service_Purge_Call

Purge is a helper method to define mock.On call

  • ctx context.Context
  • url string

func (*Service_Expecter) QueueExists

func (_e *Service_Expecter) QueueExists(ctx interface{}, name interface{}) *Service_QueueExists_Call

QueueExists is a helper method to define mock.On call

  • ctx context.Context
  • name string

type Service_GetArn_Call

type Service_GetArn_Call struct {
	*mock.Call
}

Service_GetArn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetArn'

func (*Service_GetArn_Call) Return

func (_c *Service_GetArn_Call) Return(_a0 string, _a1 error) *Service_GetArn_Call

func (*Service_GetArn_Call) Run

func (_c *Service_GetArn_Call) Run(run func(ctx context.Context, url string)) *Service_GetArn_Call

func (*Service_GetArn_Call) RunAndReturn

func (_c *Service_GetArn_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Service_GetArn_Call

type Service_GetPropertiesByArn_Call

type Service_GetPropertiesByArn_Call struct {
	*mock.Call
}

Service_GetPropertiesByArn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPropertiesByArn'

func (*Service_GetPropertiesByArn_Call) Return

func (*Service_GetPropertiesByArn_Call) Run

func (*Service_GetPropertiesByArn_Call) RunAndReturn

type Service_GetPropertiesByName_Call

type Service_GetPropertiesByName_Call struct {
	*mock.Call
}

Service_GetPropertiesByName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPropertiesByName'

func (*Service_GetPropertiesByName_Call) Return

func (*Service_GetPropertiesByName_Call) Run

func (*Service_GetPropertiesByName_Call) RunAndReturn

type Service_GetUrl_Call

type Service_GetUrl_Call struct {
	*mock.Call
}

Service_GetUrl_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUrl'

func (*Service_GetUrl_Call) Return

func (_c *Service_GetUrl_Call) Return(_a0 string, _a1 error) *Service_GetUrl_Call

func (*Service_GetUrl_Call) Run

func (_c *Service_GetUrl_Call) Run(run func(ctx context.Context, name string)) *Service_GetUrl_Call

func (*Service_GetUrl_Call) RunAndReturn

func (_c *Service_GetUrl_Call) RunAndReturn(run func(context.Context, string) (string, error)) *Service_GetUrl_Call

type Service_Purge_Call

type Service_Purge_Call struct {
	*mock.Call
}

Service_Purge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Purge'

func (*Service_Purge_Call) Return

func (_c *Service_Purge_Call) Return(_a0 error) *Service_Purge_Call

func (*Service_Purge_Call) Run

func (_c *Service_Purge_Call) Run(run func(ctx context.Context, url string)) *Service_Purge_Call

func (*Service_Purge_Call) RunAndReturn

func (_c *Service_Purge_Call) RunAndReturn(run func(context.Context, string) error) *Service_Purge_Call

type Service_QueueExists_Call

type Service_QueueExists_Call struct {
	*mock.Call
}

Service_QueueExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueueExists'

func (*Service_QueueExists_Call) Return

func (*Service_QueueExists_Call) Run

func (*Service_QueueExists_Call) RunAndReturn

Jump to

Keyboard shortcuts

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