instances

package
v0.0.0-...-7d86ac5 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstanceInfoChannel

func GetInstanceInfoChannel(sess *session.Session) <-chan *ssm.InstanceInformation

func GetInstancesChannel

func GetInstancesChannel(sess *session.Session) <-chan *ec2.Instance

func GetSession

func GetSession(profile string, region string) *session.Session

func RemapTags

func RemapTags(tags []*ec2.Tag) map[string]string

Types

type Instance

type Instance struct {
	ImageId          string
	InstanceId       string
	InstanceType     string
	KeyName          string
	PrivateIpAddress string
	PublicIpAddress  string
	SubnetId         string
	VpcId            string
	SSMEnabled       bool
	State            string
	Tags             map[string]string
}

Jump to

Keyboard shortcuts

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