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) CreateActivity

func (_m *IClient) CreateActivity(ctx context.Context, params *sfn.CreateActivityInput, optFns ...func(*sfn.Options)) (*sfn.CreateActivityOutput, error)

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

func (*IClient) CreateStateMachine

func (_m *IClient) CreateStateMachine(ctx context.Context, params *sfn.CreateStateMachineInput, optFns ...func(*sfn.Options)) (*sfn.CreateStateMachineOutput, error)

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

func (*IClient) CreateStateMachineAlias

func (_m *IClient) CreateStateMachineAlias(ctx context.Context, params *sfn.CreateStateMachineAliasInput, optFns ...func(*sfn.Options)) (*sfn.CreateStateMachineAliasOutput, error)

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

func (*IClient) DeleteActivity

func (_m *IClient) DeleteActivity(ctx context.Context, params *sfn.DeleteActivityInput, optFns ...func(*sfn.Options)) (*sfn.DeleteActivityOutput, error)

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

func (*IClient) DeleteStateMachine

func (_m *IClient) DeleteStateMachine(ctx context.Context, params *sfn.DeleteStateMachineInput, optFns ...func(*sfn.Options)) (*sfn.DeleteStateMachineOutput, error)

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

func (*IClient) DeleteStateMachineAlias

func (_m *IClient) DeleteStateMachineAlias(ctx context.Context, params *sfn.DeleteStateMachineAliasInput, optFns ...func(*sfn.Options)) (*sfn.DeleteStateMachineAliasOutput, error)

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

func (*IClient) DeleteStateMachineVersion

func (_m *IClient) DeleteStateMachineVersion(ctx context.Context, params *sfn.DeleteStateMachineVersionInput, optFns ...func(*sfn.Options)) (*sfn.DeleteStateMachineVersionOutput, error)

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

func (*IClient) DescribeActivity

func (_m *IClient) DescribeActivity(ctx context.Context, params *sfn.DescribeActivityInput, optFns ...func(*sfn.Options)) (*sfn.DescribeActivityOutput, error)

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

func (*IClient) DescribeExecution

func (_m *IClient) DescribeExecution(ctx context.Context, params *sfn.DescribeExecutionInput, optFns ...func(*sfn.Options)) (*sfn.DescribeExecutionOutput, error)

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

func (*IClient) DescribeMapRun

func (_m *IClient) DescribeMapRun(ctx context.Context, params *sfn.DescribeMapRunInput, optFns ...func(*sfn.Options)) (*sfn.DescribeMapRunOutput, error)

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

func (*IClient) DescribeStateMachine

func (_m *IClient) DescribeStateMachine(ctx context.Context, params *sfn.DescribeStateMachineInput, optFns ...func(*sfn.Options)) (*sfn.DescribeStateMachineOutput, error)

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

func (*IClient) DescribeStateMachineAlias

func (_m *IClient) DescribeStateMachineAlias(ctx context.Context, params *sfn.DescribeStateMachineAliasInput, optFns ...func(*sfn.Options)) (*sfn.DescribeStateMachineAliasOutput, error)

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

func (*IClient) DescribeStateMachineForExecution

func (_m *IClient) DescribeStateMachineForExecution(ctx context.Context, params *sfn.DescribeStateMachineForExecutionInput, optFns ...func(*sfn.Options)) (*sfn.DescribeStateMachineForExecutionOutput, error)

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

func (*IClient) GetActivityTask

func (_m *IClient) GetActivityTask(ctx context.Context, params *sfn.GetActivityTaskInput, optFns ...func(*sfn.Options)) (*sfn.GetActivityTaskOutput, error)

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

func (*IClient) GetExecutionHistory

func (_m *IClient) GetExecutionHistory(ctx context.Context, params *sfn.GetExecutionHistoryInput, optFns ...func(*sfn.Options)) (*sfn.GetExecutionHistoryOutput, error)

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

func (*IClient) ListActivities

func (_m *IClient) ListActivities(ctx context.Context, params *sfn.ListActivitiesInput, optFns ...func(*sfn.Options)) (*sfn.ListActivitiesOutput, error)

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

func (*IClient) ListExecutions

func (_m *IClient) ListExecutions(ctx context.Context, params *sfn.ListExecutionsInput, optFns ...func(*sfn.Options)) (*sfn.ListExecutionsOutput, error)

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

func (*IClient) ListMapRuns

func (_m *IClient) ListMapRuns(ctx context.Context, params *sfn.ListMapRunsInput, optFns ...func(*sfn.Options)) (*sfn.ListMapRunsOutput, error)

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

func (*IClient) ListStateMachineAliases

func (_m *IClient) ListStateMachineAliases(ctx context.Context, params *sfn.ListStateMachineAliasesInput, optFns ...func(*sfn.Options)) (*sfn.ListStateMachineAliasesOutput, error)

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

func (*IClient) ListStateMachineVersions

func (_m *IClient) ListStateMachineVersions(ctx context.Context, params *sfn.ListStateMachineVersionsInput, optFns ...func(*sfn.Options)) (*sfn.ListStateMachineVersionsOutput, error)

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

func (*IClient) ListStateMachines

func (_m *IClient) ListStateMachines(ctx context.Context, params *sfn.ListStateMachinesInput, optFns ...func(*sfn.Options)) (*sfn.ListStateMachinesOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PublishStateMachineVersion

func (_m *IClient) PublishStateMachineVersion(ctx context.Context, params *sfn.PublishStateMachineVersionInput, optFns ...func(*sfn.Options)) (*sfn.PublishStateMachineVersionOutput, error)

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

func (*IClient) RedriveExecution

func (_m *IClient) RedriveExecution(ctx context.Context, params *sfn.RedriveExecutionInput, optFns ...func(*sfn.Options)) (*sfn.RedriveExecutionOutput, error)

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

func (*IClient) SendTaskFailure

func (_m *IClient) SendTaskFailure(ctx context.Context, params *sfn.SendTaskFailureInput, optFns ...func(*sfn.Options)) (*sfn.SendTaskFailureOutput, error)

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

func (*IClient) SendTaskHeartbeat

func (_m *IClient) SendTaskHeartbeat(ctx context.Context, params *sfn.SendTaskHeartbeatInput, optFns ...func(*sfn.Options)) (*sfn.SendTaskHeartbeatOutput, error)

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

func (*IClient) SendTaskSuccess

func (_m *IClient) SendTaskSuccess(ctx context.Context, params *sfn.SendTaskSuccessInput, optFns ...func(*sfn.Options)) (*sfn.SendTaskSuccessOutput, error)

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

func (*IClient) StartExecution

func (_m *IClient) StartExecution(ctx context.Context, params *sfn.StartExecutionInput, optFns ...func(*sfn.Options)) (*sfn.StartExecutionOutput, error)

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

func (*IClient) StartSyncExecution

func (_m *IClient) StartSyncExecution(ctx context.Context, params *sfn.StartSyncExecutionInput, optFns ...func(*sfn.Options)) (*sfn.StartSyncExecutionOutput, error)

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

func (*IClient) StopExecution

func (_m *IClient) StopExecution(ctx context.Context, params *sfn.StopExecutionInput, optFns ...func(*sfn.Options)) (*sfn.StopExecutionOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) TestState

func (_m *IClient) TestState(ctx context.Context, params *sfn.TestStateInput, optFns ...func(*sfn.Options)) (*sfn.TestStateOutput, error)

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateMapRun

func (_m *IClient) UpdateMapRun(ctx context.Context, params *sfn.UpdateMapRunInput, optFns ...func(*sfn.Options)) (*sfn.UpdateMapRunOutput, error)

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

func (*IClient) UpdateStateMachine

func (_m *IClient) UpdateStateMachine(ctx context.Context, params *sfn.UpdateStateMachineInput, optFns ...func(*sfn.Options)) (*sfn.UpdateStateMachineOutput, error)

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

func (*IClient) UpdateStateMachineAlias

func (_m *IClient) UpdateStateMachineAlias(ctx context.Context, params *sfn.UpdateStateMachineAliasInput, optFns ...func(*sfn.Options)) (*sfn.UpdateStateMachineAliasOutput, error)

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

func (*IClient) ValidateStateMachineDefinition

func (_m *IClient) ValidateStateMachineDefinition(ctx context.Context, params *sfn.ValidateStateMachineDefinitionInput, optFns ...func(*sfn.Options)) (*sfn.ValidateStateMachineDefinitionOutput, error)

ValidateStateMachineDefinition 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