ec2

package
v0.0.0-...-e0d1d7f Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 5 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{}

func NewAvailabilityZoneRetriever

func NewAvailabilityZoneRetriever() AvailabilityZoneRetriever

func (AvailabilityZoneRetriever) Retrieve

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

type KeyPair

type KeyPair struct {
	Name       string
	PrivateKey string
	PublicKey  string
}

func (KeyPair) IsEmpty

func (kp KeyPair) IsEmpty() bool

type KeyPairChecker

type KeyPairChecker struct {
}

func NewKeyPairChecker

func NewKeyPairChecker() KeyPairChecker

func (KeyPairChecker) HasKeyPair

func (KeyPairChecker) HasKeyPair(client Client, name string) (bool, error)

type KeyPairCreator

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

func NewKeyPairCreator

func NewKeyPairCreator(guidGenerator guidGenerator) KeyPairCreator

func (KeyPairCreator) Create

func (c KeyPairCreator) Create(client Client) (KeyPair, error)

type KeyPairDeleter

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

func NewKeyPairDeleter

func NewKeyPairDeleter(logger logger) KeyPairDeleter

func (KeyPairDeleter) Delete

func (d KeyPairDeleter) Delete(client Client, 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(ec2Client Client, 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, ec2Client Client) (KeyPair, error)

type VPCStatusChecker

type VPCStatusChecker struct {
}

func NewVPCStatusChecker

func NewVPCStatusChecker() VPCStatusChecker

func (VPCStatusChecker) ValidateSafeToDelete

func (v VPCStatusChecker) ValidateSafeToDelete(ec2Client Client, vpcID string) error

Jump to

Keyboard shortcuts

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