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
type Client ¶
type Client interface { ImportKeyPair(*awsec2.ImportKeyPairInput) (*awsec2.ImportKeyPairOutput, error) DescribeKeyPairs(*awsec2.DescribeKeyPairsInput) (*awsec2.DescribeKeyPairsOutput, error) CreateKeyPair(*awsec2.CreateKeyPairInput) (*awsec2.CreateKeyPairOutput, error) DescribeAvailabilityZones(*awsec2.DescribeAvailabilityZonesInput) (*awsec2.DescribeAvailabilityZonesOutput, error) DeleteKeyPair(*awsec2.DeleteKeyPairInput) (*awsec2.DeleteKeyPairOutput, error) DescribeInstances(*awsec2.DescribeInstancesInput) (*awsec2.DescribeInstancesOutput, error) }
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
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 KeyPairSynchronizer ¶
type KeyPairSynchronizer struct {
// contains filtered or unexported fields
}
func NewKeyPairSynchronizer ¶
func NewKeyPairSynchronizer(creator keypairCreator, checker keypairChecker, logger logger) KeyPairSynchronizer
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
Click to show internal directories.
Click to hide internal directories.