ec2

package
v3.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 14, 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 struct {
	// contains filtered or unexported fields
}

func NewAvailabilityZoneRetriever

func NewAvailabilityZoneRetriever(ec2ClientProvider ec2ClientProvider) AvailabilityZoneRetriever

func (AvailabilityZoneRetriever) Retrieve

func (r AvailabilityZoneRetriever) Retrieve(region string) ([]string, error)

type KeyPair

type KeyPair struct {
	Name       string
	PrivateKey string
	PublicKey  string
}

type KeyPairChecker

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

func NewKeyPairChecker

func NewKeyPairChecker(ec2ClientProvider ec2ClientProvider) KeyPairChecker

func (KeyPairChecker) HasKeyPair

func (k KeyPairChecker) HasKeyPair(name string) (bool, error)

type KeyPairCreator

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

func NewKeyPairCreator

func NewKeyPairCreator(ec2ClientProvider ec2ClientProvider) KeyPairCreator

func (KeyPairCreator) Create

func (c KeyPairCreator) Create(keyPairName string) (KeyPair, error)

type KeyPairDeleter

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

func NewKeyPairDeleter

func NewKeyPairDeleter(ec2ClientProvider ec2ClientProvider, logger logger) KeyPairDeleter

func (KeyPairDeleter) Delete

func (d KeyPairDeleter) Delete(name string) error

type KeyPairInfo

type KeyPairInfo struct {
	Name        string
	Fingerprint string
}

type KeyPairSynchronizer

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

func NewKeyPairSynchronizer

func NewKeyPairSynchronizer(creator keypairCreator, checker keypairChecker, logger logger) KeyPairSynchronizer

func (KeyPairSynchronizer) Sync

func (k KeyPairSynchronizer) Sync(keyPair KeyPair) (KeyPair, error)

type VPCStatusChecker

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

func NewVPCStatusChecker

func NewVPCStatusChecker(ec2ClientProvider ec2ClientProvider) VPCStatusChecker

func (VPCStatusChecker) ValidateSafeToDelete

func (v VPCStatusChecker) ValidateSafeToDelete(vpcID, envID string) error

Jump to

Keyboard shortcuts

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