ec2

package
v5.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilityZoneRetriever

type AvailabilityZoneRetriever interface {
	RetrieveAvailabilityZones(string) ([]string, error)
}

type Client

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

func NewClient

func NewClient(config aws.Config, logger logger) Client

func (Client) CheckExists

func (c Client) CheckExists(networkName string) (bool, error)

func (Client) GetVPC

func (c Client) GetVPC(vpcName string) (*string, error)

func (Client) Instances

func (c Client) Instances(envID string) ([]string, error)

func (Client) RetrieveAvailabilityZones

func (c Client) RetrieveAvailabilityZones(region string) ([]string, error)

func (Client) ValidateSafeToDelete

func (c Client) ValidateSafeToDelete(vpcID, envID string) error

Jump to

Keyboard shortcuts

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