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
type Client ¶
type Client interface { ImportKeyPair(*ec2.ImportKeyPairInput) (*ec2.ImportKeyPairOutput, error) DescribeKeyPairs(*ec2.DescribeKeyPairsInput) (*ec2.DescribeKeyPairsOutput, error) CreateKeyPair(*ec2.CreateKeyPairInput) (*ec2.CreateKeyPairOutput, error) DescribeAvailabilityZones(*ec2.DescribeAvailabilityZonesInput) (*ec2.DescribeAvailabilityZonesOutput, error) DeleteKeyPair(*ec2.DeleteKeyPairInput) (*ec2.DeleteKeyPairOutput, error) DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) }
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
type KeyPairDeleter ¶
type KeyPairDeleter struct {
// contains filtered or unexported fields
}
func NewKeyPairDeleter ¶
func NewKeyPairDeleter(logger logger) KeyPairDeleter
type KeyPairInfo ¶
type KeyPairManager ¶
type KeyPairManager struct {
// contains filtered or unexported fields
}
func NewKeyPairManager ¶
func NewKeyPairManager(creator keypairCreator, checker keypairChecker, logger logger) KeyPairManager
type KeyPairSynchronizer ¶
type KeyPairSynchronizer struct {
// contains filtered or unexported fields
}
func NewKeyPairSynchronizer ¶
func NewKeyPairSynchronizer(keyPairManager keyPairManager) KeyPairSynchronizer
type VPCStatusChecker ¶
type VPCStatusChecker struct { }
func NewVPCStatusChecker ¶
func NewVPCStatusChecker() VPCStatusChecker
func (VPCStatusChecker) ValidateSafeToDelete ¶
func (v VPCStatusChecker) ValidateSafeToDelete(ec2Client Client, vpcID string) error
Click to show internal directories.
Click to hide internal directories.