ec2

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2016 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 KeyPairManager

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

func NewKeyPairManager

func NewKeyPairManager(creator keypairCreator, checker keypairChecker, logger logger) KeyPairManager

func (KeyPairManager) Sync

func (m KeyPairManager) Sync(keypair KeyPair) (KeyPair, error)

type KeyPairSynchronizer

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

func NewKeyPairSynchronizer

func NewKeyPairSynchronizer(keyPairManager keyPairManager) KeyPairSynchronizer

func (KeyPairSynchronizer) Sync

func (s 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 string) error

Jump to

Keyboard shortcuts

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