Documentation ¶
Index ¶
- func GetEC2Instances(cmd *cobra.Command, args []string) (resp map[string]*ec2.DescribeInstancesOutput, err error)
- func GetRegions(cmd *cobra.Command, args []string) (resp *ec2.DescribeRegionsOutput, err error)
- func GetTag(tags []*ec2.Tag, name string) (tag *ec2.Tag, err error)
- func IsRunning(inst *ec2.Instance) (is bool)
- func IsSpot(inst *ec2.Instance) (is bool)
- func IsTagged(inst *ec2.Instance) (is bool)
- func StopInstances(cmd *cobra.Command, args []string) (resp map[string]*ec2.StopInstancesOutput, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEC2Instances ¶
func GetRegions ¶
func StopInstances ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.