Documentation ¶
Index ¶
- type AvailabilityZoneRetriever
- type Client
- func (c Client) CheckExists(networkName string) (bool, error)
- func (c Client) DeleteKeyPair(name string) error
- func (c Client) GetVPC(vpcName string) (*string, error)
- func (c Client) Instances(envID string) ([]string, error)
- func (c Client) RetrieveAvailabilityZones(region string) ([]string, error)
- func (c Client) ValidateSafeToDelete(vpcID, envID string) error
- type EC2Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) DeleteKeyPair ¶
func (Client) RetrieveAvailabilityZones ¶
func (Client) ValidateSafeToDelete ¶
type EC2Client ¶
type EC2Client interface { ImportKeyPair(*awsec2.ImportKeyPairInput) (*awsec2.ImportKeyPairOutput, error) DescribeKeyPairs(*awsec2.DescribeKeyPairsInput) (*awsec2.DescribeKeyPairsOutput, error) DescribeAvailabilityZones(*awsec2.DescribeAvailabilityZonesInput) (*awsec2.DescribeAvailabilityZonesOutput, error) DescribeInstances(*awsec2.DescribeInstancesInput) (*awsec2.DescribeInstancesOutput, error) DescribeVpcs(*awsec2.DescribeVpcsInput) (*awsec2.DescribeVpcsOutput, error) DeleteKeyPair(*awsec2.DeleteKeyPairInput) (*awsec2.DeleteKeyPairOutput, error) }
Click to show internal directories.
Click to hide internal directories.