aws_mg_ec2

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateInstanceFromAWSManager

func CreateInstanceFromAWSManager(instance_pre_config *aws_mg_model.AWSInstancePreConfig, aws_config *aws.Config, ec2_client *ec2.Client, end_func func(result_info interface{}, err error))

func DeleteInstance added in v0.0.6

func DeleteInstance(region aws_mg_common.AWSRegion, aws_config *aws.Config, ec2_client *ec2.Client, instanceIds []string) error

func ListInstanceFromAWSManager

func ListInstanceFromAWSManager(region aws_mg_common.AWSRegion, aws_config *aws.Config, ec2_client *ec2.Client) map[string]*types.Instance

func RebootInstance added in v0.0.6

func RebootInstance(region aws_mg_common.AWSRegion, aws_config *aws.Config, ec2_client *ec2.Client, instanceIds []string) error

func StartInstance added in v0.0.6

func StartInstance(region aws_mg_common.AWSRegion, aws_config *aws.Config, ec2_client *ec2.Client, instanceIds []string) error

func StopInstance added in v0.0.6

func StopInstance(region aws_mg_common.AWSRegion, aws_config *aws.Config, ec2_client *ec2.Client, nstanceIds []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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