mocks

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 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) AttachInstances

func (_m *IClient) AttachInstances(ctx context.Context, params *autoscaling.AttachInstancesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.AttachInstancesOutput, error)

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

func (*IClient) AttachLoadBalancerTargetGroups

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

func (*IClient) AttachLoadBalancers

func (_m *IClient) AttachLoadBalancers(ctx context.Context, params *autoscaling.AttachLoadBalancersInput, optFns ...func(*autoscaling.Options)) (*autoscaling.AttachLoadBalancersOutput, error)

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

func (*IClient) AttachTrafficSources

func (_m *IClient) AttachTrafficSources(ctx context.Context, params *autoscaling.AttachTrafficSourcesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.AttachTrafficSourcesOutput, error)

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

func (*IClient) BatchDeleteScheduledAction

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

func (*IClient) BatchPutScheduledUpdateGroupAction

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

func (*IClient) CancelInstanceRefresh

func (_m *IClient) CancelInstanceRefresh(ctx context.Context, params *autoscaling.CancelInstanceRefreshInput, optFns ...func(*autoscaling.Options)) (*autoscaling.CancelInstanceRefreshOutput, error)

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

func (*IClient) CompleteLifecycleAction

func (_m *IClient) CompleteLifecycleAction(ctx context.Context, params *autoscaling.CompleteLifecycleActionInput, optFns ...func(*autoscaling.Options)) (*autoscaling.CompleteLifecycleActionOutput, error)

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

func (*IClient) CreateAutoScalingGroup

func (_m *IClient) CreateAutoScalingGroup(ctx context.Context, params *autoscaling.CreateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.CreateAutoScalingGroupOutput, error)

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

func (*IClient) CreateLaunchConfiguration

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

func (*IClient) CreateOrUpdateTags

func (_m *IClient) CreateOrUpdateTags(ctx context.Context, params *autoscaling.CreateOrUpdateTagsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.CreateOrUpdateTagsOutput, error)

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

func (*IClient) DeleteAutoScalingGroup

func (_m *IClient) DeleteAutoScalingGroup(ctx context.Context, params *autoscaling.DeleteAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteAutoScalingGroupOutput, error)

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

func (*IClient) DeleteLaunchConfiguration

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

func (*IClient) DeleteLifecycleHook

func (_m *IClient) DeleteLifecycleHook(ctx context.Context, params *autoscaling.DeleteLifecycleHookInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteLifecycleHookOutput, error)

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

func (*IClient) DeleteNotificationConfiguration

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

func (*IClient) DeletePolicy

func (_m *IClient) DeletePolicy(ctx context.Context, params *autoscaling.DeletePolicyInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeletePolicyOutput, error)

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

func (*IClient) DeleteScheduledAction

func (_m *IClient) DeleteScheduledAction(ctx context.Context, params *autoscaling.DeleteScheduledActionInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteScheduledActionOutput, error)

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

func (*IClient) DeleteTags

func (_m *IClient) DeleteTags(ctx context.Context, params *autoscaling.DeleteTagsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteTagsOutput, error)

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

func (*IClient) DeleteWarmPool

func (_m *IClient) DeleteWarmPool(ctx context.Context, params *autoscaling.DeleteWarmPoolInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteWarmPoolOutput, error)

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

func (*IClient) DescribeAccountLimits

func (_m *IClient) DescribeAccountLimits(ctx context.Context, params *autoscaling.DescribeAccountLimitsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAccountLimitsOutput, error)

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

func (*IClient) DescribeAdjustmentTypes

func (_m *IClient) DescribeAdjustmentTypes(ctx context.Context, params *autoscaling.DescribeAdjustmentTypesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAdjustmentTypesOutput, error)

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

func (*IClient) DescribeAutoScalingGroups

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

func (*IClient) DescribeAutoScalingInstances

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

func (*IClient) DescribeAutoScalingNotificationTypes

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

func (*IClient) DescribeInstanceRefreshes

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

func (*IClient) DescribeLaunchConfigurations

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

func (*IClient) DescribeLifecycleHookTypes

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

func (*IClient) DescribeLifecycleHooks

func (_m *IClient) DescribeLifecycleHooks(ctx context.Context, params *autoscaling.DescribeLifecycleHooksInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeLifecycleHooksOutput, error)

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

func (*IClient) DescribeLoadBalancerTargetGroups

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

func (*IClient) DescribeLoadBalancers

func (_m *IClient) DescribeLoadBalancers(ctx context.Context, params *autoscaling.DescribeLoadBalancersInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeLoadBalancersOutput, error)

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

func (*IClient) DescribeMetricCollectionTypes

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

func (*IClient) DescribeNotificationConfigurations

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

func (*IClient) DescribePolicies

func (_m *IClient) DescribePolicies(ctx context.Context, params *autoscaling.DescribePoliciesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribePoliciesOutput, error)

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

func (*IClient) DescribeScalingActivities

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

func (*IClient) DescribeScalingProcessTypes

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

func (*IClient) DescribeScheduledActions

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

func (*IClient) DescribeTags

func (_m *IClient) DescribeTags(ctx context.Context, params *autoscaling.DescribeTagsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeTagsOutput, error)

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

func (*IClient) DescribeTerminationPolicyTypes

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

func (*IClient) DescribeTrafficSources

func (_m *IClient) DescribeTrafficSources(ctx context.Context, params *autoscaling.DescribeTrafficSourcesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeTrafficSourcesOutput, error)

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

func (*IClient) DescribeWarmPool

func (_m *IClient) DescribeWarmPool(ctx context.Context, params *autoscaling.DescribeWarmPoolInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeWarmPoolOutput, error)

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

func (*IClient) DetachInstances

func (_m *IClient) DetachInstances(ctx context.Context, params *autoscaling.DetachInstancesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DetachInstancesOutput, error)

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

func (*IClient) DetachLoadBalancerTargetGroups

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

func (*IClient) DetachLoadBalancers

func (_m *IClient) DetachLoadBalancers(ctx context.Context, params *autoscaling.DetachLoadBalancersInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DetachLoadBalancersOutput, error)

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

func (*IClient) DetachTrafficSources

func (_m *IClient) DetachTrafficSources(ctx context.Context, params *autoscaling.DetachTrafficSourcesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DetachTrafficSourcesOutput, error)

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

func (*IClient) DisableMetricsCollection

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

func (*IClient) EnableMetricsCollection

func (_m *IClient) EnableMetricsCollection(ctx context.Context, params *autoscaling.EnableMetricsCollectionInput, optFns ...func(*autoscaling.Options)) (*autoscaling.EnableMetricsCollectionOutput, error)

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

func (*IClient) EnterStandby

func (_m *IClient) EnterStandby(ctx context.Context, params *autoscaling.EnterStandbyInput, optFns ...func(*autoscaling.Options)) (*autoscaling.EnterStandbyOutput, error)

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

func (*IClient) ExecutePolicy

func (_m *IClient) ExecutePolicy(ctx context.Context, params *autoscaling.ExecutePolicyInput, optFns ...func(*autoscaling.Options)) (*autoscaling.ExecutePolicyOutput, error)

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

func (*IClient) ExitStandby

func (_m *IClient) ExitStandby(ctx context.Context, params *autoscaling.ExitStandbyInput, optFns ...func(*autoscaling.Options)) (*autoscaling.ExitStandbyOutput, error)

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

func (*IClient) GetPredictiveScalingForecast

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

func (*IClient) Options

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

Options provides a mock function with given fields:

func (*IClient) PutLifecycleHook

func (_m *IClient) PutLifecycleHook(ctx context.Context, params *autoscaling.PutLifecycleHookInput, optFns ...func(*autoscaling.Options)) (*autoscaling.PutLifecycleHookOutput, error)

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

func (*IClient) PutNotificationConfiguration

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

func (*IClient) PutScalingPolicy

func (_m *IClient) PutScalingPolicy(ctx context.Context, params *autoscaling.PutScalingPolicyInput, optFns ...func(*autoscaling.Options)) (*autoscaling.PutScalingPolicyOutput, error)

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

func (*IClient) PutScheduledUpdateGroupAction

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

func (*IClient) PutWarmPool

func (_m *IClient) PutWarmPool(ctx context.Context, params *autoscaling.PutWarmPoolInput, optFns ...func(*autoscaling.Options)) (*autoscaling.PutWarmPoolOutput, error)

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

func (*IClient) RecordLifecycleActionHeartbeat

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

func (*IClient) ResumeProcesses

func (_m *IClient) ResumeProcesses(ctx context.Context, params *autoscaling.ResumeProcessesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.ResumeProcessesOutput, error)

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

func (*IClient) RollbackInstanceRefresh

func (_m *IClient) RollbackInstanceRefresh(ctx context.Context, params *autoscaling.RollbackInstanceRefreshInput, optFns ...func(*autoscaling.Options)) (*autoscaling.RollbackInstanceRefreshOutput, error)

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

func (*IClient) SetDesiredCapacity

func (_m *IClient) SetDesiredCapacity(ctx context.Context, params *autoscaling.SetDesiredCapacityInput, optFns ...func(*autoscaling.Options)) (*autoscaling.SetDesiredCapacityOutput, error)

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

func (*IClient) SetInstanceHealth

func (_m *IClient) SetInstanceHealth(ctx context.Context, params *autoscaling.SetInstanceHealthInput, optFns ...func(*autoscaling.Options)) (*autoscaling.SetInstanceHealthOutput, error)

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

func (*IClient) SetInstanceProtection

func (_m *IClient) SetInstanceProtection(ctx context.Context, params *autoscaling.SetInstanceProtectionInput, optFns ...func(*autoscaling.Options)) (*autoscaling.SetInstanceProtectionOutput, error)

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

func (*IClient) StartInstanceRefresh

func (_m *IClient) StartInstanceRefresh(ctx context.Context, params *autoscaling.StartInstanceRefreshInput, optFns ...func(*autoscaling.Options)) (*autoscaling.StartInstanceRefreshOutput, error)

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

func (*IClient) SuspendProcesses

func (_m *IClient) SuspendProcesses(ctx context.Context, params *autoscaling.SuspendProcessesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.SuspendProcessesOutput, error)

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

func (*IClient) TerminateInstanceInAutoScalingGroup

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

func (*IClient) UpdateAutoScalingGroup

func (_m *IClient) UpdateAutoScalingGroup(ctx context.Context, params *autoscaling.UpdateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.UpdateAutoScalingGroupOutput, error)

UpdateAutoScalingGroup 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