aws

package
v7.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilityZones

type AvailabilityZones interface {
	RetrieveAZs(region string) ([]string, error)
}

type Client

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

func NewClient

func NewClient(creds storage.AWS, logger logger) Client

func (Client) CheckExists

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

Return true if the network with the provided name exists.

func (Client) GetVPC

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

func (Client) RetrieveAZs

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

Return the AWS Availability Zones for a given region.

func (Client) RetrieveDNS

func (c Client) RetrieveDNS(url string) string

If the parent domain for the provided url exists in AWS Route53, return that zone's name.

func (Client) ValidateSafeToDelete

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

type DNSZones

type DNSZones interface {
	RetrieveDNS(domain string) string
}

type Route53Client

type Route53Client interface {
	ListHostedZonesByName(*awsroute53.ListHostedZonesByNameInput) (*awsroute53.ListHostedZonesByNameOutput, error)
}

Jump to

Keyboard shortcuts

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