Documentation ¶
Index ¶
- type MockAutoscaling
- func (m *MockAutoscaling) AttachInstances(ctx context.Context, input *autoscaling.AttachInstancesInput, ...) (*autoscaling.AttachInstancesOutput, error)
- func (m *MockAutoscaling) AttachLoadBalancerTargetGroups(ctx context.Context, request *autoscaling.AttachLoadBalancerTargetGroupsInput, ...) (*autoscaling.AttachLoadBalancerTargetGroupsOutput, error)
- func (m *MockAutoscaling) AttachLoadBalancers(ctx context.Context, request *autoscaling.AttachLoadBalancersInput, ...) (*autoscaling.AttachLoadBalancersOutput, error)
- func (m *MockAutoscaling) CreateAutoScalingGroup(ctx context.Context, input *autoscaling.CreateAutoScalingGroupInput, ...) (*autoscaling.CreateAutoScalingGroupOutput, error)
- func (m *MockAutoscaling) DeleteAutoScalingGroup(ctx context.Context, request *autoscaling.DeleteAutoScalingGroupInput, ...) (*autoscaling.DeleteAutoScalingGroupOutput, error)
- func (m *MockAutoscaling) DeleteWarmPool(ctx context.Context, input *autoscaling.DeleteWarmPoolInput, ...) (*autoscaling.DeleteWarmPoolOutput, error)
- func (m *MockAutoscaling) DescribeAutoScalingGroups(ctx context.Context, input *autoscaling.DescribeAutoScalingGroupsInput, ...) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
- func (m *MockAutoscaling) DescribeLifecycleHooks(ctx context.Context, input *autoscaling.DescribeLifecycleHooksInput, ...) (*autoscaling.DescribeLifecycleHooksOutput, error)
- func (m *MockAutoscaling) DescribeTags(ctx context.Context, request *autoscaling.DescribeTagsInput, ...) (*autoscaling.DescribeTagsOutput, error)
- func (m *MockAutoscaling) DescribeWarmPool(ctx context.Context, input *autoscaling.DescribeWarmPoolInput, ...) (*autoscaling.DescribeWarmPoolOutput, error)
- func (m *MockAutoscaling) DetachInstances(ctx context.Context, input *autoscaling.DetachInstancesInput, ...) (*autoscaling.DetachInstancesOutput, error)
- func (m *MockAutoscaling) EnableMetricsCollection(ctx context.Context, request *autoscaling.EnableMetricsCollectionInput, ...) (*autoscaling.EnableMetricsCollectionOutput, error)
- func (m *MockAutoscaling) GetEC2Shim(e awsinterfaces.EC2API) awsinterfaces.EC2API
- func (m *MockAutoscaling) PutLifecycleHook(ctx context.Context, input *autoscaling.PutLifecycleHookInput, ...) (*autoscaling.PutLifecycleHookOutput, error)
- func (m *MockAutoscaling) SuspendProcesses(ctx context.Context, input *autoscaling.SuspendProcessesInput, ...) (*autoscaling.SuspendProcessesOutput, error)
- func (m *MockAutoscaling) TerminateInstanceInAutoScalingGroup(ctx context.Context, ...) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)
- func (m *MockAutoscaling) UpdateAutoScalingGroup(ctx context.Context, request *autoscaling.UpdateAutoScalingGroupInput, ...) (*autoscaling.UpdateAutoScalingGroupOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAutoscaling ¶
type MockAutoscaling struct { // Mock out interface awsinterfaces.AutoScalingAPI Groups map[string]*autoscalingtypes.AutoScalingGroup WarmPoolInstances map[string][]autoscalingtypes.Instance LifecycleHooks map[string]*autoscalingtypes.LifecycleHook // contains filtered or unexported fields }
func (*MockAutoscaling) AttachInstances ¶
func (m *MockAutoscaling) AttachInstances(ctx context.Context, input *autoscaling.AttachInstancesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.AttachInstancesOutput, error)
func (*MockAutoscaling) AttachLoadBalancerTargetGroups ¶
func (m *MockAutoscaling) AttachLoadBalancerTargetGroups(ctx context.Context, request *autoscaling.AttachLoadBalancerTargetGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.AttachLoadBalancerTargetGroupsOutput, error)
func (*MockAutoscaling) AttachLoadBalancers ¶
func (m *MockAutoscaling) AttachLoadBalancers(ctx context.Context, request *autoscaling.AttachLoadBalancersInput, optFns ...func(*autoscaling.Options)) (*autoscaling.AttachLoadBalancersOutput, error)
func (*MockAutoscaling) CreateAutoScalingGroup ¶
func (m *MockAutoscaling) CreateAutoScalingGroup(ctx context.Context, input *autoscaling.CreateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.CreateAutoScalingGroupOutput, error)
func (*MockAutoscaling) DeleteAutoScalingGroup ¶
func (m *MockAutoscaling) DeleteAutoScalingGroup(ctx context.Context, request *autoscaling.DeleteAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteAutoScalingGroupOutput, error)
func (*MockAutoscaling) DeleteWarmPool ¶ added in v1.21.0
func (m *MockAutoscaling) DeleteWarmPool(ctx context.Context, input *autoscaling.DeleteWarmPoolInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DeleteWarmPoolOutput, error)
func (*MockAutoscaling) DescribeAutoScalingGroups ¶
func (m *MockAutoscaling) DescribeAutoScalingGroups(ctx context.Context, input *autoscaling.DescribeAutoScalingGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
func (*MockAutoscaling) DescribeLifecycleHooks ¶
func (m *MockAutoscaling) DescribeLifecycleHooks(ctx context.Context, input *autoscaling.DescribeLifecycleHooksInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeLifecycleHooksOutput, error)
func (*MockAutoscaling) DescribeTags ¶
func (m *MockAutoscaling) DescribeTags(ctx context.Context, request *autoscaling.DescribeTagsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeTagsOutput, error)
func (*MockAutoscaling) DescribeWarmPool ¶ added in v1.21.0
func (m *MockAutoscaling) DescribeWarmPool(ctx context.Context, input *autoscaling.DescribeWarmPoolInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeWarmPoolOutput, error)
func (*MockAutoscaling) DetachInstances ¶
func (m *MockAutoscaling) DetachInstances(ctx context.Context, input *autoscaling.DetachInstancesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DetachInstancesOutput, error)
func (*MockAutoscaling) EnableMetricsCollection ¶
func (m *MockAutoscaling) EnableMetricsCollection(ctx context.Context, request *autoscaling.EnableMetricsCollectionInput, optFns ...func(*autoscaling.Options)) (*autoscaling.EnableMetricsCollectionOutput, error)
func (*MockAutoscaling) GetEC2Shim ¶ added in v1.18.0
func (m *MockAutoscaling) GetEC2Shim(e awsinterfaces.EC2API) awsinterfaces.EC2API
func (*MockAutoscaling) PutLifecycleHook ¶
func (m *MockAutoscaling) PutLifecycleHook(ctx context.Context, input *autoscaling.PutLifecycleHookInput, optFns ...func(*autoscaling.Options)) (*autoscaling.PutLifecycleHookOutput, error)
func (*MockAutoscaling) SuspendProcesses ¶
func (m *MockAutoscaling) SuspendProcesses(ctx context.Context, input *autoscaling.SuspendProcessesInput, optFns ...func(*autoscaling.Options)) (*autoscaling.SuspendProcessesOutput, error)
func (*MockAutoscaling) TerminateInstanceInAutoScalingGroup ¶
func (m *MockAutoscaling) TerminateInstanceInAutoScalingGroup(ctx context.Context, input *autoscaling.TerminateInstanceInAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)
func (*MockAutoscaling) UpdateAutoScalingGroup ¶
func (m *MockAutoscaling) UpdateAutoScalingGroup(ctx context.Context, request *autoscaling.UpdateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.UpdateAutoScalingGroupOutput, error)
Click to show internal directories.
Click to hide internal directories.