mocks

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 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) CreateCapacityProvider

func (_m *IClient) CreateCapacityProvider(ctx context.Context, params *ecs.CreateCapacityProviderInput, optFns ...func(*ecs.Options)) (*ecs.CreateCapacityProviderOutput, error)

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

func (*IClient) CreateCluster

func (_m *IClient) CreateCluster(ctx context.Context, params *ecs.CreateClusterInput, optFns ...func(*ecs.Options)) (*ecs.CreateClusterOutput, error)

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

func (*IClient) CreateService

func (_m *IClient) CreateService(ctx context.Context, params *ecs.CreateServiceInput, optFns ...func(*ecs.Options)) (*ecs.CreateServiceOutput, error)

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

func (*IClient) CreateTaskSet

func (_m *IClient) CreateTaskSet(ctx context.Context, params *ecs.CreateTaskSetInput, optFns ...func(*ecs.Options)) (*ecs.CreateTaskSetOutput, error)

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

func (*IClient) DeleteAccountSetting

func (_m *IClient) DeleteAccountSetting(ctx context.Context, params *ecs.DeleteAccountSettingInput, optFns ...func(*ecs.Options)) (*ecs.DeleteAccountSettingOutput, error)

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

func (*IClient) DeleteAttributes

func (_m *IClient) DeleteAttributes(ctx context.Context, params *ecs.DeleteAttributesInput, optFns ...func(*ecs.Options)) (*ecs.DeleteAttributesOutput, error)

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

func (*IClient) DeleteCapacityProvider

func (_m *IClient) DeleteCapacityProvider(ctx context.Context, params *ecs.DeleteCapacityProviderInput, optFns ...func(*ecs.Options)) (*ecs.DeleteCapacityProviderOutput, error)

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

func (*IClient) DeleteCluster

func (_m *IClient) DeleteCluster(ctx context.Context, params *ecs.DeleteClusterInput, optFns ...func(*ecs.Options)) (*ecs.DeleteClusterOutput, error)

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

func (*IClient) DeleteService

func (_m *IClient) DeleteService(ctx context.Context, params *ecs.DeleteServiceInput, optFns ...func(*ecs.Options)) (*ecs.DeleteServiceOutput, error)

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

func (*IClient) DeleteTaskDefinitions

func (_m *IClient) DeleteTaskDefinitions(ctx context.Context, params *ecs.DeleteTaskDefinitionsInput, optFns ...func(*ecs.Options)) (*ecs.DeleteTaskDefinitionsOutput, error)

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

func (*IClient) DeleteTaskSet

func (_m *IClient) DeleteTaskSet(ctx context.Context, params *ecs.DeleteTaskSetInput, optFns ...func(*ecs.Options)) (*ecs.DeleteTaskSetOutput, error)

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

func (*IClient) DeregisterContainerInstance

func (_m *IClient) DeregisterContainerInstance(ctx context.Context, params *ecs.DeregisterContainerInstanceInput, optFns ...func(*ecs.Options)) (*ecs.DeregisterContainerInstanceOutput, error)

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

func (*IClient) DeregisterTaskDefinition

func (_m *IClient) DeregisterTaskDefinition(ctx context.Context, params *ecs.DeregisterTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.DeregisterTaskDefinitionOutput, error)

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

func (*IClient) DescribeCapacityProviders

func (_m *IClient) DescribeCapacityProviders(ctx context.Context, params *ecs.DescribeCapacityProvidersInput, optFns ...func(*ecs.Options)) (*ecs.DescribeCapacityProvidersOutput, error)

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

func (*IClient) DescribeClusters

func (_m *IClient) DescribeClusters(ctx context.Context, params *ecs.DescribeClustersInput, optFns ...func(*ecs.Options)) (*ecs.DescribeClustersOutput, error)

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

func (*IClient) DescribeContainerInstances

func (_m *IClient) DescribeContainerInstances(ctx context.Context, params *ecs.DescribeContainerInstancesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeContainerInstancesOutput, error)

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

func (*IClient) DescribeServices

func (_m *IClient) DescribeServices(ctx context.Context, params *ecs.DescribeServicesInput, optFns ...func(*ecs.Options)) (*ecs.DescribeServicesOutput, error)

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

func (*IClient) DescribeTaskDefinition

func (_m *IClient) DescribeTaskDefinition(ctx context.Context, params *ecs.DescribeTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTaskDefinitionOutput, error)

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

func (*IClient) DescribeTaskSets

func (_m *IClient) DescribeTaskSets(ctx context.Context, params *ecs.DescribeTaskSetsInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTaskSetsOutput, error)

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

func (*IClient) DescribeTasks

func (_m *IClient) DescribeTasks(ctx context.Context, params *ecs.DescribeTasksInput, optFns ...func(*ecs.Options)) (*ecs.DescribeTasksOutput, error)

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

func (*IClient) DiscoverPollEndpoint

func (_m *IClient) DiscoverPollEndpoint(ctx context.Context, params *ecs.DiscoverPollEndpointInput, optFns ...func(*ecs.Options)) (*ecs.DiscoverPollEndpointOutput, error)

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

func (*IClient) ExecuteCommand

func (_m *IClient) ExecuteCommand(ctx context.Context, params *ecs.ExecuteCommandInput, optFns ...func(*ecs.Options)) (*ecs.ExecuteCommandOutput, error)

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

func (*IClient) GetTaskProtection

func (_m *IClient) GetTaskProtection(ctx context.Context, params *ecs.GetTaskProtectionInput, optFns ...func(*ecs.Options)) (*ecs.GetTaskProtectionOutput, error)

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

func (*IClient) ListAccountSettings

func (_m *IClient) ListAccountSettings(ctx context.Context, params *ecs.ListAccountSettingsInput, optFns ...func(*ecs.Options)) (*ecs.ListAccountSettingsOutput, error)

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

func (*IClient) ListAttributes

func (_m *IClient) ListAttributes(ctx context.Context, params *ecs.ListAttributesInput, optFns ...func(*ecs.Options)) (*ecs.ListAttributesOutput, error)

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

func (*IClient) ListClusters

func (_m *IClient) ListClusters(ctx context.Context, params *ecs.ListClustersInput, optFns ...func(*ecs.Options)) (*ecs.ListClustersOutput, error)

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

func (*IClient) ListContainerInstances

func (_m *IClient) ListContainerInstances(ctx context.Context, params *ecs.ListContainerInstancesInput, optFns ...func(*ecs.Options)) (*ecs.ListContainerInstancesOutput, error)

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

func (*IClient) ListServices

func (_m *IClient) ListServices(ctx context.Context, params *ecs.ListServicesInput, optFns ...func(*ecs.Options)) (*ecs.ListServicesOutput, error)

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

func (*IClient) ListServicesByNamespace

func (_m *IClient) ListServicesByNamespace(ctx context.Context, params *ecs.ListServicesByNamespaceInput, optFns ...func(*ecs.Options)) (*ecs.ListServicesByNamespaceOutput, error)

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

func (*IClient) ListTagsForResource

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

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

func (*IClient) ListTaskDefinitionFamilies

func (_m *IClient) ListTaskDefinitionFamilies(ctx context.Context, params *ecs.ListTaskDefinitionFamiliesInput, optFns ...func(*ecs.Options)) (*ecs.ListTaskDefinitionFamiliesOutput, error)

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

func (*IClient) ListTaskDefinitions

func (_m *IClient) ListTaskDefinitions(ctx context.Context, params *ecs.ListTaskDefinitionsInput, optFns ...func(*ecs.Options)) (*ecs.ListTaskDefinitionsOutput, error)

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

func (*IClient) ListTasks

func (_m *IClient) ListTasks(ctx context.Context, params *ecs.ListTasksInput, optFns ...func(*ecs.Options)) (*ecs.ListTasksOutput, error)

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutAccountSetting

func (_m *IClient) PutAccountSetting(ctx context.Context, params *ecs.PutAccountSettingInput, optFns ...func(*ecs.Options)) (*ecs.PutAccountSettingOutput, error)

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

func (*IClient) PutAccountSettingDefault

func (_m *IClient) PutAccountSettingDefault(ctx context.Context, params *ecs.PutAccountSettingDefaultInput, optFns ...func(*ecs.Options)) (*ecs.PutAccountSettingDefaultOutput, error)

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

func (*IClient) PutAttributes

func (_m *IClient) PutAttributes(ctx context.Context, params *ecs.PutAttributesInput, optFns ...func(*ecs.Options)) (*ecs.PutAttributesOutput, error)

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

func (*IClient) PutClusterCapacityProviders

func (_m *IClient) PutClusterCapacityProviders(ctx context.Context, params *ecs.PutClusterCapacityProvidersInput, optFns ...func(*ecs.Options)) (*ecs.PutClusterCapacityProvidersOutput, error)

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

func (*IClient) RegisterContainerInstance

func (_m *IClient) RegisterContainerInstance(ctx context.Context, params *ecs.RegisterContainerInstanceInput, optFns ...func(*ecs.Options)) (*ecs.RegisterContainerInstanceOutput, error)

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

func (*IClient) RegisterTaskDefinition

func (_m *IClient) RegisterTaskDefinition(ctx context.Context, params *ecs.RegisterTaskDefinitionInput, optFns ...func(*ecs.Options)) (*ecs.RegisterTaskDefinitionOutput, error)

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

func (*IClient) RunTask

func (_m *IClient) RunTask(ctx context.Context, params *ecs.RunTaskInput, optFns ...func(*ecs.Options)) (*ecs.RunTaskOutput, error)

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

func (*IClient) StartTask

func (_m *IClient) StartTask(ctx context.Context, params *ecs.StartTaskInput, optFns ...func(*ecs.Options)) (*ecs.StartTaskOutput, error)

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

func (*IClient) StopTask

func (_m *IClient) StopTask(ctx context.Context, params *ecs.StopTaskInput, optFns ...func(*ecs.Options)) (*ecs.StopTaskOutput, error)

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

func (*IClient) SubmitAttachmentStateChanges

func (_m *IClient) SubmitAttachmentStateChanges(ctx context.Context, params *ecs.SubmitAttachmentStateChangesInput, optFns ...func(*ecs.Options)) (*ecs.SubmitAttachmentStateChangesOutput, error)

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

func (*IClient) SubmitContainerStateChange

func (_m *IClient) SubmitContainerStateChange(ctx context.Context, params *ecs.SubmitContainerStateChangeInput, optFns ...func(*ecs.Options)) (*ecs.SubmitContainerStateChangeOutput, error)

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

func (*IClient) SubmitTaskStateChange

func (_m *IClient) SubmitTaskStateChange(ctx context.Context, params *ecs.SubmitTaskStateChangeInput, optFns ...func(*ecs.Options)) (*ecs.SubmitTaskStateChangeOutput, error)

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

func (*IClient) TagResource

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

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

func (*IClient) UntagResource

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

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

func (*IClient) UpdateCapacityProvider

func (_m *IClient) UpdateCapacityProvider(ctx context.Context, params *ecs.UpdateCapacityProviderInput, optFns ...func(*ecs.Options)) (*ecs.UpdateCapacityProviderOutput, error)

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

func (*IClient) UpdateCluster

func (_m *IClient) UpdateCluster(ctx context.Context, params *ecs.UpdateClusterInput, optFns ...func(*ecs.Options)) (*ecs.UpdateClusterOutput, error)

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

func (*IClient) UpdateClusterSettings

func (_m *IClient) UpdateClusterSettings(ctx context.Context, params *ecs.UpdateClusterSettingsInput, optFns ...func(*ecs.Options)) (*ecs.UpdateClusterSettingsOutput, error)

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

func (*IClient) UpdateContainerAgent

func (_m *IClient) UpdateContainerAgent(ctx context.Context, params *ecs.UpdateContainerAgentInput, optFns ...func(*ecs.Options)) (*ecs.UpdateContainerAgentOutput, error)

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

func (*IClient) UpdateContainerInstancesState

func (_m *IClient) UpdateContainerInstancesState(ctx context.Context, params *ecs.UpdateContainerInstancesStateInput, optFns ...func(*ecs.Options)) (*ecs.UpdateContainerInstancesStateOutput, error)

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

func (*IClient) UpdateService

func (_m *IClient) UpdateService(ctx context.Context, params *ecs.UpdateServiceInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServiceOutput, error)

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

func (*IClient) UpdateServicePrimaryTaskSet

func (_m *IClient) UpdateServicePrimaryTaskSet(ctx context.Context, params *ecs.UpdateServicePrimaryTaskSetInput, optFns ...func(*ecs.Options)) (*ecs.UpdateServicePrimaryTaskSetOutput, error)

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

func (*IClient) UpdateTaskProtection

func (_m *IClient) UpdateTaskProtection(ctx context.Context, params *ecs.UpdateTaskProtectionInput, optFns ...func(*ecs.Options)) (*ecs.UpdateTaskProtectionOutput, error)

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

func (*IClient) UpdateTaskSet

func (_m *IClient) UpdateTaskSet(ctx context.Context, params *ecs.UpdateTaskSetInput, optFns ...func(*ecs.Options)) (*ecs.UpdateTaskSetOutput, error)

UpdateTaskSet 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