Documentation ¶
Index ¶
- func Key() *rsa.PrivateKey
- type Client
- func (c *Client) DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, ...) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
- func (c *Client) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (c *Client) GetPasswordData(ctx context.Context, params *ec2.GetPasswordDataInput, ...) (*ec2.GetPasswordDataOutput, error)
- func (c *Client) SendSSHPublicKey(ctx context.Context, params *ec2instanceconnect.SendSSHPublicKeyInput, ...) (*ec2instanceconnect.SendSSHPublicKeyOutput, error)
- func (c *Client) SetDesiredCapacity(ctx context.Context, params *autoscaling.SetDesiredCapacityInput, ...) (*autoscaling.SetDesiredCapacityOutput, error)
- func (c *Client) TerminateInstanceInAutoScalingGroup(ctx context.Context, ...) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)
- type Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Key ¶
func Key() *rsa.PrivateKey
Types ¶
type Client ¶
type Client struct { Name string Instances []Instance DesiredCapacity int // contains filtered or unexported fields }
func (*Client) DescribeAutoScalingGroups ¶
func (c *Client) DescribeAutoScalingGroups(ctx context.Context, params *autoscaling.DescribeAutoScalingGroupsInput, optFns ...func(*autoscaling.Options)) (*autoscaling.DescribeAutoScalingGroupsOutput, error)
func (*Client) DescribeInstances ¶
func (c *Client) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
func (*Client) GetPasswordData ¶
func (c *Client) GetPasswordData(ctx context.Context, params *ec2.GetPasswordDataInput, optFns ...func(*ec2.Options)) (*ec2.GetPasswordDataOutput, error)
func (*Client) SendSSHPublicKey ¶
func (c *Client) SendSSHPublicKey(ctx context.Context, params *ec2instanceconnect.SendSSHPublicKeyInput, optFns ...func(*ec2instanceconnect.Options)) (*ec2instanceconnect.SendSSHPublicKeyOutput, error)
func (*Client) SetDesiredCapacity ¶
func (c *Client) SetDesiredCapacity(ctx context.Context, params *autoscaling.SetDesiredCapacityInput, optFns ...func(*autoscaling.Options)) (*autoscaling.SetDesiredCapacityOutput, error)
func (*Client) TerminateInstanceInAutoScalingGroup ¶
func (c *Client) TerminateInstanceInAutoScalingGroup(ctx context.Context, params *autoscaling.TerminateInstanceInAutoScalingGroupInput, optFns ...func(*autoscaling.Options)) (*autoscaling.TerminateInstanceInAutoScalingGroupOutput, error)
type Instance ¶
type Instance struct { InstanceId string State asgtypes.LifecycleState }
Click to show internal directories.
Click to hide internal directories.