aws

package
v0.0.0-...-175c638 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecInstance

func ExecInstance(instances []InstanceInfo, command string, concurrency int) error

func ListInstance

func ListInstance(instances []InstanceInfo)

func ReservedAnalysis

func ReservedAnalysis(session *session.Session)

func SSHInstance

func SSHInstance(instances []InstanceInfo, sshCmd string)

Types

type InstanceInfo

type InstanceInfo struct {
	InstanceId   string
	Name         string
	IpAddress    string
	InstanceType string
	AZ           string
	State        string
	KeyName      string
	StackName    string
}

func GetInstances

func GetInstances(session *session.Session, query *InstanceQuery) ([]InstanceInfo, error)

type InstanceQuery

type InstanceQuery struct {
	Fuzzy string
	Stack string
	Tag   string
	Ids   []string
	Ips   []string
}

Jump to

Keyboard shortcuts

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