ec2

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EC2

type EC2 struct {
	// contains filtered or unexported fields
}

func New

func New(sess *session.Session) EC2

func (*EC2) DescribeNetworkInterfaces

func (ec2 *EC2) DescribeNetworkInterfaces(eniIds []string) map[string]Eni

func (*EC2) GetDefaultSecurityGroupId

func (ec2 *EC2) GetDefaultSecurityGroupId() string

func (*EC2) GetDefaultVpcId

func (ec2 *EC2) GetDefaultVpcId() string

func (*EC2) GetDefaultVpcSubnetIds

func (ec2 *EC2) GetDefaultVpcSubnetIds() []string

func (*EC2) GetSubnetVpcId added in v0.2.0

func (ec2 *EC2) GetSubnetVpcId(subnetId string) string

type Eni

type Eni struct {
	PublicIpAddress  string
	EniId            string
	SecurityGroupIds []string
}

Jump to

Keyboard shortcuts

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