Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type CFClient ¶
type CFClient interface { DeleteStack(*cloudformation.DeleteStackInput) (*cloudformation.DeleteStackOutput, error) DescribeStacks(*cloudformation.DescribeStacksInput) (*cloudformation.DescribeStacksOutput, error) UpdateTerminationProtection(*cloudformation.UpdateTerminationProtectionInput) (*cloudformation.UpdateTerminationProtectionOutput, error) }
CFClient describes the methods required to be implemented by a CloudFormation AWS client.
type Config ¶
type Config struct { EC2Client EC2Client CFClient CFClient Logger micrologger.Logger Route53Client Route53Client S3Client S3Client }
type EC2Client ¶
type EC2Client interface { DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) ModifyInstanceAttribute(*ec2.ModifyInstanceAttributeInput) (*ec2.ModifyInstanceAttributeOutput, error) }
EC2Client describes the methods required to be implemented by a EC2 AWS client.
type Route53Client ¶
type Route53Client interface {
ListHostedZones(input *route53.ListHostedZonesInput) (*route53.ListHostedZonesOutput, error)
}
type S3Client ¶
type S3Client interface { ListBuckets(*s3.ListBucketsInput) (*s3.ListBucketsOutput, error) DeleteBucket(*s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error) ListObjectsV2(*s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error) DeleteObject(*s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error) DeleteObjects(*s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error) }
S3Client describes the methods required to be implemented by a S3 AWS client.
Click to show internal directories.
Click to hide internal directories.