ec2

package
Version: v0.0.0-...-e395467 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance

type Instance struct {
	InstanceId       string     `type:"string"`
	ImageId          string     `type:"string"`
	State            string     `type:"string"`
	SubnetId         string     `type:"string"`
	AZ               string     `type:"string"`
	InstanceType     string     `type:"string"`
	KeyName          string     `type:"string"`
	PrivateIpAddress string     `type:"string"`
	PublicIpAddress  string     `type:"string"`
	Tags             []*ec2.Tag `type:"list"`
	// contains filtered or unexported fields
}

Instance struct

func GetInstances

func GetInstances(region string, tags []string, filters []string) []*Instance

GetInstances get instances by a specific region an optional tags or filters

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL