mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 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) CountClosedWorkflowExecutions

func (_m *IClient) CountClosedWorkflowExecutions(ctx context.Context, params *swf.CountClosedWorkflowExecutionsInput, optFns ...func(*swf.Options)) (*swf.CountClosedWorkflowExecutionsOutput, error)

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

func (*IClient) CountOpenWorkflowExecutions

func (_m *IClient) CountOpenWorkflowExecutions(ctx context.Context, params *swf.CountOpenWorkflowExecutionsInput, optFns ...func(*swf.Options)) (*swf.CountOpenWorkflowExecutionsOutput, error)

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

func (*IClient) CountPendingActivityTasks

func (_m *IClient) CountPendingActivityTasks(ctx context.Context, params *swf.CountPendingActivityTasksInput, optFns ...func(*swf.Options)) (*swf.CountPendingActivityTasksOutput, error)

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

func (*IClient) CountPendingDecisionTasks

func (_m *IClient) CountPendingDecisionTasks(ctx context.Context, params *swf.CountPendingDecisionTasksInput, optFns ...func(*swf.Options)) (*swf.CountPendingDecisionTasksOutput, error)

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

func (*IClient) DeleteActivityType

func (_m *IClient) DeleteActivityType(ctx context.Context, params *swf.DeleteActivityTypeInput, optFns ...func(*swf.Options)) (*swf.DeleteActivityTypeOutput, error)

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

func (*IClient) DeleteWorkflowType

func (_m *IClient) DeleteWorkflowType(ctx context.Context, params *swf.DeleteWorkflowTypeInput, optFns ...func(*swf.Options)) (*swf.DeleteWorkflowTypeOutput, error)

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

func (*IClient) DeprecateActivityType

func (_m *IClient) DeprecateActivityType(ctx context.Context, params *swf.DeprecateActivityTypeInput, optFns ...func(*swf.Options)) (*swf.DeprecateActivityTypeOutput, error)

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

func (*IClient) DeprecateDomain

func (_m *IClient) DeprecateDomain(ctx context.Context, params *swf.DeprecateDomainInput, optFns ...func(*swf.Options)) (*swf.DeprecateDomainOutput, error)

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

func (*IClient) DeprecateWorkflowType

func (_m *IClient) DeprecateWorkflowType(ctx context.Context, params *swf.DeprecateWorkflowTypeInput, optFns ...func(*swf.Options)) (*swf.DeprecateWorkflowTypeOutput, error)

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

func (*IClient) DescribeActivityType

func (_m *IClient) DescribeActivityType(ctx context.Context, params *swf.DescribeActivityTypeInput, optFns ...func(*swf.Options)) (*swf.DescribeActivityTypeOutput, error)

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

func (*IClient) DescribeDomain

func (_m *IClient) DescribeDomain(ctx context.Context, params *swf.DescribeDomainInput, optFns ...func(*swf.Options)) (*swf.DescribeDomainOutput, error)

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

func (*IClient) DescribeWorkflowExecution

func (_m *IClient) DescribeWorkflowExecution(ctx context.Context, params *swf.DescribeWorkflowExecutionInput, optFns ...func(*swf.Options)) (*swf.DescribeWorkflowExecutionOutput, error)

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

func (*IClient) DescribeWorkflowType

func (_m *IClient) DescribeWorkflowType(ctx context.Context, params *swf.DescribeWorkflowTypeInput, optFns ...func(*swf.Options)) (*swf.DescribeWorkflowTypeOutput, error)

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

func (*IClient) GetWorkflowExecutionHistory

func (_m *IClient) GetWorkflowExecutionHistory(ctx context.Context, params *swf.GetWorkflowExecutionHistoryInput, optFns ...func(*swf.Options)) (*swf.GetWorkflowExecutionHistoryOutput, error)

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

func (*IClient) ListActivityTypes

func (_m *IClient) ListActivityTypes(ctx context.Context, params *swf.ListActivityTypesInput, optFns ...func(*swf.Options)) (*swf.ListActivityTypesOutput, error)

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

func (*IClient) ListClosedWorkflowExecutions

func (_m *IClient) ListClosedWorkflowExecutions(ctx context.Context, params *swf.ListClosedWorkflowExecutionsInput, optFns ...func(*swf.Options)) (*swf.ListClosedWorkflowExecutionsOutput, error)

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

func (*IClient) ListDomains

func (_m *IClient) ListDomains(ctx context.Context, params *swf.ListDomainsInput, optFns ...func(*swf.Options)) (*swf.ListDomainsOutput, error)

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

func (*IClient) ListOpenWorkflowExecutions

func (_m *IClient) ListOpenWorkflowExecutions(ctx context.Context, params *swf.ListOpenWorkflowExecutionsInput, optFns ...func(*swf.Options)) (*swf.ListOpenWorkflowExecutionsOutput, error)

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

func (*IClient) ListTagsForResource

func (_m *IClient) ListTagsForResource(ctx context.Context, params *swf.ListTagsForResourceInput, optFns ...func(*swf.Options)) (*swf.ListTagsForResourceOutput, error)

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

func (*IClient) ListWorkflowTypes

func (_m *IClient) ListWorkflowTypes(ctx context.Context, params *swf.ListWorkflowTypesInput, optFns ...func(*swf.Options)) (*swf.ListWorkflowTypesOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PollForActivityTask

func (_m *IClient) PollForActivityTask(ctx context.Context, params *swf.PollForActivityTaskInput, optFns ...func(*swf.Options)) (*swf.PollForActivityTaskOutput, error)

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

func (*IClient) PollForDecisionTask

func (_m *IClient) PollForDecisionTask(ctx context.Context, params *swf.PollForDecisionTaskInput, optFns ...func(*swf.Options)) (*swf.PollForDecisionTaskOutput, error)

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

func (*IClient) RecordActivityTaskHeartbeat

func (_m *IClient) RecordActivityTaskHeartbeat(ctx context.Context, params *swf.RecordActivityTaskHeartbeatInput, optFns ...func(*swf.Options)) (*swf.RecordActivityTaskHeartbeatOutput, error)

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

func (*IClient) RegisterActivityType

func (_m *IClient) RegisterActivityType(ctx context.Context, params *swf.RegisterActivityTypeInput, optFns ...func(*swf.Options)) (*swf.RegisterActivityTypeOutput, error)

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

func (*IClient) RegisterDomain

func (_m *IClient) RegisterDomain(ctx context.Context, params *swf.RegisterDomainInput, optFns ...func(*swf.Options)) (*swf.RegisterDomainOutput, error)

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

func (*IClient) RegisterWorkflowType

func (_m *IClient) RegisterWorkflowType(ctx context.Context, params *swf.RegisterWorkflowTypeInput, optFns ...func(*swf.Options)) (*swf.RegisterWorkflowTypeOutput, error)

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

func (*IClient) RequestCancelWorkflowExecution

func (_m *IClient) RequestCancelWorkflowExecution(ctx context.Context, params *swf.RequestCancelWorkflowExecutionInput, optFns ...func(*swf.Options)) (*swf.RequestCancelWorkflowExecutionOutput, error)

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

func (*IClient) RespondActivityTaskCanceled

func (_m *IClient) RespondActivityTaskCanceled(ctx context.Context, params *swf.RespondActivityTaskCanceledInput, optFns ...func(*swf.Options)) (*swf.RespondActivityTaskCanceledOutput, error)

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

func (*IClient) RespondActivityTaskCompleted

func (_m *IClient) RespondActivityTaskCompleted(ctx context.Context, params *swf.RespondActivityTaskCompletedInput, optFns ...func(*swf.Options)) (*swf.RespondActivityTaskCompletedOutput, error)

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

func (*IClient) RespondActivityTaskFailed

func (_m *IClient) RespondActivityTaskFailed(ctx context.Context, params *swf.RespondActivityTaskFailedInput, optFns ...func(*swf.Options)) (*swf.RespondActivityTaskFailedOutput, error)

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

func (*IClient) RespondDecisionTaskCompleted

func (_m *IClient) RespondDecisionTaskCompleted(ctx context.Context, params *swf.RespondDecisionTaskCompletedInput, optFns ...func(*swf.Options)) (*swf.RespondDecisionTaskCompletedOutput, error)

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

func (*IClient) SignalWorkflowExecution

func (_m *IClient) SignalWorkflowExecution(ctx context.Context, params *swf.SignalWorkflowExecutionInput, optFns ...func(*swf.Options)) (*swf.SignalWorkflowExecutionOutput, error)

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

func (*IClient) StartWorkflowExecution

func (_m *IClient) StartWorkflowExecution(ctx context.Context, params *swf.StartWorkflowExecutionInput, optFns ...func(*swf.Options)) (*swf.StartWorkflowExecutionOutput, error)

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

func (*IClient) TagResource

func (_m *IClient) TagResource(ctx context.Context, params *swf.TagResourceInput, optFns ...func(*swf.Options)) (*swf.TagResourceOutput, error)

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

func (*IClient) TerminateWorkflowExecution

func (_m *IClient) TerminateWorkflowExecution(ctx context.Context, params *swf.TerminateWorkflowExecutionInput, optFns ...func(*swf.Options)) (*swf.TerminateWorkflowExecutionOutput, error)

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

func (*IClient) UndeprecateActivityType

func (_m *IClient) UndeprecateActivityType(ctx context.Context, params *swf.UndeprecateActivityTypeInput, optFns ...func(*swf.Options)) (*swf.UndeprecateActivityTypeOutput, error)

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

func (*IClient) UndeprecateDomain

func (_m *IClient) UndeprecateDomain(ctx context.Context, params *swf.UndeprecateDomainInput, optFns ...func(*swf.Options)) (*swf.UndeprecateDomainOutput, error)

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

func (*IClient) UndeprecateWorkflowType

func (_m *IClient) UndeprecateWorkflowType(ctx context.Context, params *swf.UndeprecateWorkflowTypeInput, optFns ...func(*swf.Options)) (*swf.UndeprecateWorkflowTypeOutput, error)

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

func (*IClient) UntagResource

func (_m *IClient) UntagResource(ctx context.Context, params *swf.UntagResourceInput, optFns ...func(*swf.Options)) (*swf.UntagResourceOutput, error)

UntagResource 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