Documentation ¶
Index ¶
- func GetAutoScalingGroupByName(ctx context.Context, autoScalingClient AutoScalingClient, asgName string) (*autoscalingtypes.AutoScalingGroup, error)
- func UpdateAutoScalingGroupLaunchTemplate(ctx context.Context, autoScalingClient AutoScalingClient, ...) (*autoscaling.UpdateAutoScalingGroupOutput, error)
- type AutoScalingClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAutoScalingGroupByName ¶
func GetAutoScalingGroupByName(ctx context.Context, autoScalingClient AutoScalingClient, asgName string) (*autoscalingtypes.AutoScalingGroup, error)
func UpdateAutoScalingGroupLaunchTemplate ¶
func UpdateAutoScalingGroupLaunchTemplate(ctx context.Context, autoScalingClient AutoScalingClient, ltId, ltVersion, asgName string) (*autoscaling.UpdateAutoScalingGroupOutput, error)
Types ¶
type AutoScalingClient ¶
type AutoScalingClient interface { DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error) UpdateAutoScalingGroup(ctx context.Context, params *autoscaling.UpdateAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.UpdateAutoScalingGroupOutput, error) }
func NewAutoScalingClient ¶
func NewAutoScalingClient(cfg aws.Config) AutoScalingClient
Click to show internal directories.
Click to hide internal directories.