awsec2

package
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.0.2

type Client struct {
	ec2iface.EC2API
	StateName string
	Tags      []string
}

Client is attributes definition for filtering ec2 instances

func NewClient added in v0.2.7

func NewClient(region, state, profile string, tags []string) (*Client, error)

NewClient returns a new DefaultClient

func NewClientWithEC2API added in v0.2.7

func NewClientWithEC2API(region, state, profile string, tags []string, c interface{}) (*Client, error)

NewClientWithEC2API returns a new Client with assigned EC2API variable

func (*Client) EC2Instances added in v0.2.7

func (client *Client) EC2Instances() ([]*ec2.Instance, error)

EC2Instances gets filtered EC2 instances

Jump to

Keyboard shortcuts

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