ec2

package
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: 6 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

Jump to

Keyboard shortcuts

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