pec

package
v0.0.0-...-c890ac0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClient

func CreateClient() *ec2.EC2

func DeleteKeyPair

func DeleteKeyPair(ec2client *ec2.EC2, KeyName []*string)

func DescribeInstances

func DescribeInstances(ec2client *ec2.EC2, tagkv string, instanceAge time.Duration) ([][]*string, error)

func GetInstanceData

func GetInstanceData(r *ec2.DescribeInstancesOutput, instanceAge time.Duration) [][]*string

func PrintRunningInstances

func PrintRunningInstances(s []*string, tagkv string)

func Terminateinstances

func Terminateinstances(ec2client *ec2.EC2, instanceIds []*string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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