mockautoscaling

package
v1.29.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: Apache-2.0 Imports: 11 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAutoscaling

type MockAutoscaling struct {
	// Mock out interface
	autoscalingiface.AutoScalingAPI

	Groups            map[string]*autoscaling.Group
	WarmPoolInstances map[string][]*autoscaling.Instance
	LifecycleHooks    map[string]*autoscaling.LifecycleHook
	// contains filtered or unexported fields
}

func (*MockAutoscaling) AttachInstances

func (*MockAutoscaling) AttachLoadBalancers

func (*MockAutoscaling) CreateAutoScalingGroupWithContext

func (m *MockAutoscaling) CreateAutoScalingGroupWithContext(ctx aws.Context, input *autoscaling.CreateAutoScalingGroupInput, options ...request.Option) (*autoscaling.CreateAutoScalingGroupOutput, error)

func (*MockAutoscaling) DeleteAutoScalingGroupWithContext

func (m *MockAutoscaling) DeleteAutoScalingGroupWithContext(ctx aws.Context, request *autoscaling.DeleteAutoScalingGroupInput, options ...request.Option) (*autoscaling.DeleteAutoScalingGroupOutput, error)

func (*MockAutoscaling) DeleteWarmPool added in v1.21.0

func (*MockAutoscaling) DescribeAutoScalingGroupsPages

func (m *MockAutoscaling) DescribeAutoScalingGroupsPages(request *autoscaling.DescribeAutoScalingGroupsInput, callback func(*autoscaling.DescribeAutoScalingGroupsOutput, bool) bool) error

func (*MockAutoscaling) DescribeAutoScalingGroupsPagesWithContext

func (m *MockAutoscaling) DescribeAutoScalingGroupsPagesWithContext(ctx aws.Context, request *autoscaling.DescribeAutoScalingGroupsInput, callback func(*autoscaling.DescribeAutoScalingGroupsOutput, bool) bool, options ...request.Option) error

func (*MockAutoscaling) DescribeLifecycleHooksWithContext

func (m *MockAutoscaling) DescribeLifecycleHooksWithContext(ctx aws.Context, input *autoscaling.DescribeLifecycleHooksInput, options ...request.Option) (*autoscaling.DescribeLifecycleHooksOutput, error)

func (*MockAutoscaling) DescribeTags

func (*MockAutoscaling) DescribeTagsPagesWithContext

func (m *MockAutoscaling) DescribeTagsPagesWithContext(ctx aws.Context, request *autoscaling.DescribeTagsInput, callback func(*autoscaling.DescribeTagsOutput, bool) bool, options ...request.Option) error

func (*MockAutoscaling) DescribeTagsWithContext

func (m *MockAutoscaling) DescribeTagsWithContext(ctx aws.Context, request *autoscaling.DescribeTagsInput, opt ...request.Option) (*autoscaling.DescribeTagsOutput, error)

func (*MockAutoscaling) DescribeWarmPoolWithContext added in v1.29.0

func (m *MockAutoscaling) DescribeWarmPoolWithContext(ctx aws.Context, input *autoscaling.DescribeWarmPoolInput, options ...request.Option) (*autoscaling.DescribeWarmPoolOutput, error)

func (*MockAutoscaling) EnableMetricsCollectionWithContext

func (m *MockAutoscaling) EnableMetricsCollectionWithContext(ctx aws.Context, request *autoscaling.EnableMetricsCollectionInput, opts ...request.Option) (*autoscaling.EnableMetricsCollectionOutput, error)

func (*MockAutoscaling) GetEC2Shim added in v1.18.0

func (m *MockAutoscaling) GetEC2Shim(e ec2iface.EC2API) ec2iface.EC2API

func (*MockAutoscaling) PutLifecycleHookWithContext

func (m *MockAutoscaling) PutLifecycleHookWithContext(ctx aws.Context, input *autoscaling.PutLifecycleHookInput, options ...request.Option) (*autoscaling.PutLifecycleHookOutput, error)

func (*MockAutoscaling) SuspendProcessesWithContext

func (m *MockAutoscaling) SuspendProcessesWithContext(ctx aws.Context, input *autoscaling.ScalingProcessQuery, opts ...request.Option) (*autoscaling.SuspendProcessesOutput, error)

func (*MockAutoscaling) UpdateAutoScalingGroupWithContext

func (m *MockAutoscaling) UpdateAutoScalingGroupWithContext(ctx context.Context, request *autoscaling.UpdateAutoScalingGroupInput, opts ...request.Option) (*autoscaling.UpdateAutoScalingGroupOutput, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL