resources

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2017 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualStringPtr added in v1.2.2

func EqualStringPtr(v1, v2 *string) bool

func GetCategory

func GetCategory(r Resource) string

Types

type AutoScalingGroup

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

func (*AutoScalingGroup) Remove

func (asg *AutoScalingGroup) Remove() error

func (*AutoScalingGroup) String

func (asg *AutoScalingGroup) String() string

type AutoScalingNuke

type AutoScalingNuke struct {
	Service *autoscaling.AutoScaling
}

func (*AutoScalingNuke) ListGroups

func (n *AutoScalingNuke) ListGroups() ([]Resource, error)

func (*AutoScalingNuke) ListLaunchConfigurations

func (n *AutoScalingNuke) ListLaunchConfigurations() ([]Resource, error)

type CloudFormationNuke

type CloudFormationNuke struct {
	Service *cloudformation.CloudFormation
}

func (*CloudFormationNuke) ListStacks

func (n *CloudFormationNuke) ListStacks() ([]Resource, error)

type CloudFormationStack

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

func (*CloudFormationStack) Remove

func (cfs *CloudFormationStack) Remove() error

func (*CloudFormationStack) String

func (cfs *CloudFormationStack) String() string

type CloudTrailNuke

type CloudTrailNuke struct {
	Service *cloudtrail.CloudTrail
}

func (*CloudTrailNuke) ListTrails

func (n *CloudTrailNuke) ListTrails() ([]Resource, error)

type CloudTrailTrail

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

func (*CloudTrailTrail) Remove

func (trail *CloudTrailTrail) Remove() error

func (*CloudTrailTrail) String

func (trail *CloudTrailTrail) String() string

type CloudWatchEventsNuke

type CloudWatchEventsNuke struct {
	Service *cloudwatchevents.CloudWatchEvents
}

func (*CloudWatchEventsNuke) ListRules

func (n *CloudWatchEventsNuke) ListRules() ([]Resource, error)

func (*CloudWatchEventsNuke) ListTargets

func (n *CloudWatchEventsNuke) ListTargets() ([]Resource, error)

type CloudWatchEventsRule

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

func (*CloudWatchEventsRule) Remove

func (rule *CloudWatchEventsRule) Remove() error

func (*CloudWatchEventsRule) String

func (rule *CloudWatchEventsRule) String() string

type CloudWatchEventsTarget

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

func (*CloudWatchEventsTarget) Remove

func (target *CloudWatchEventsTarget) Remove() error

func (*CloudWatchEventsTarget) String

func (target *CloudWatchEventsTarget) String() string

type DynamoDBNuke added in v1.3.0

type DynamoDBNuke struct {
	Service *dynamodb.DynamoDB
}

func (*DynamoDBNuke) ListItems added in v1.3.0

func (n *DynamoDBNuke) ListItems() ([]Resource, error)

func (*DynamoDBNuke) ListTables added in v1.3.0

func (n *DynamoDBNuke) ListTables() ([]Resource, error)

type DynamoDBTable added in v1.3.0

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

func (*DynamoDBTable) Remove added in v1.3.0

func (i *DynamoDBTable) Remove() error

func (*DynamoDBTable) String added in v1.3.0

func (i *DynamoDBTable) String() string

type DynamoDBTableItem added in v1.3.0

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

func (*DynamoDBTableItem) Remove added in v1.3.0

func (i *DynamoDBTableItem) Remove() error

func (*DynamoDBTableItem) String added in v1.3.0

func (i *DynamoDBTableItem) String() string

type EC2Address

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

func (*EC2Address) Remove

func (e *EC2Address) Remove() error

func (*EC2Address) String

func (e *EC2Address) String() string

type EC2CustomerGateway

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

func (*EC2CustomerGateway) Filter

func (c *EC2CustomerGateway) Filter() error

func (*EC2CustomerGateway) Remove

func (c *EC2CustomerGateway) Remove() error

func (*EC2CustomerGateway) String

func (c *EC2CustomerGateway) String() string

type EC2DHCPOption added in v1.3.0

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

func (*EC2DHCPOption) Remove added in v1.3.0

func (e *EC2DHCPOption) Remove() error

func (*EC2DHCPOption) String added in v1.3.0

func (e *EC2DHCPOption) String() string

type EC2Instance

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

func (*EC2Instance) Filter

func (i *EC2Instance) Filter() error

func (*EC2Instance) Remove

func (i *EC2Instance) Remove() error

func (*EC2Instance) String

func (i *EC2Instance) String() string

type EC2InternetGateway

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

func (*EC2InternetGateway) Remove

func (e *EC2InternetGateway) Remove() error

func (*EC2InternetGateway) String

func (e *EC2InternetGateway) String() string

type EC2InternetGatewayAttachment added in v1.3.0

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

func (*EC2InternetGatewayAttachment) Remove added in v1.3.0

func (e *EC2InternetGatewayAttachment) Remove() error

func (*EC2InternetGatewayAttachment) String added in v1.3.0

type EC2KeyPair

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

func (*EC2KeyPair) Remove

func (e *EC2KeyPair) Remove() error

func (*EC2KeyPair) String

func (e *EC2KeyPair) String() string

type EC2NATGateway added in v1.3.0

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

func (*EC2NATGateway) Filter added in v1.3.0

func (n *EC2NATGateway) Filter() error

func (*EC2NATGateway) Remove added in v1.3.0

func (n *EC2NATGateway) Remove() error

func (*EC2NATGateway) String added in v1.3.0

func (n *EC2NATGateway) String() string

type EC2NetworkACL

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

func (*EC2NetworkACL) Filter

func (e *EC2NetworkACL) Filter() error

func (*EC2NetworkACL) Remove

func (e *EC2NetworkACL) Remove() error

func (*EC2NetworkACL) String

func (e *EC2NetworkACL) String() string

type EC2Nuke

type EC2Nuke struct {
	Service *ec2.EC2
}

func (*EC2Nuke) ListAddresses

func (n *EC2Nuke) ListAddresses() ([]Resource, error)

func (*EC2Nuke) ListCustomerGateways

func (n *EC2Nuke) ListCustomerGateways() ([]Resource, error)

func (*EC2Nuke) ListDHCPOptions added in v1.3.0

func (n *EC2Nuke) ListDHCPOptions() ([]Resource, error)

func (*EC2Nuke) ListInstances

func (n *EC2Nuke) ListInstances() ([]Resource, error)

func (*EC2Nuke) ListInternetGatewayAttachments added in v1.3.0

func (n *EC2Nuke) ListInternetGatewayAttachments() ([]Resource, error)

func (*EC2Nuke) ListInternetGateways

func (n *EC2Nuke) ListInternetGateways() ([]Resource, error)

func (*EC2Nuke) ListKeyPairs

func (n *EC2Nuke) ListKeyPairs() ([]Resource, error)

func (*EC2Nuke) ListNATGateways added in v1.3.0

func (n *EC2Nuke) ListNATGateways() ([]Resource, error)

func (*EC2Nuke) ListNetworkACLs

func (n *EC2Nuke) ListNetworkACLs() ([]Resource, error)

func (*EC2Nuke) ListRouteTables

func (n *EC2Nuke) ListRouteTables() ([]Resource, error)

func (*EC2Nuke) ListSecurityGroups

func (n *EC2Nuke) ListSecurityGroups() ([]Resource, error)

func (*EC2Nuke) ListSpotFleetRequests

func (n *EC2Nuke) ListSpotFleetRequests() ([]Resource, error)

func (*EC2Nuke) ListSubnets

func (n *EC2Nuke) ListSubnets() ([]Resource, error)

func (*EC2Nuke) ListVPCEndpoints added in v1.3.0

func (n *EC2Nuke) ListVPCEndpoints() ([]Resource, error)

func (*EC2Nuke) ListVPCs added in v1.3.0

func (n *EC2Nuke) ListVPCs() ([]Resource, error)

func (*EC2Nuke) ListVPNConnections added in v1.3.0

func (n *EC2Nuke) ListVPNConnections() ([]Resource, error)

func (*EC2Nuke) ListVPNGatewayAttachments added in v1.3.0

func (n *EC2Nuke) ListVPNGatewayAttachments() ([]Resource, error)

func (*EC2Nuke) ListVPNGateways added in v1.3.0

func (n *EC2Nuke) ListVPNGateways() ([]Resource, error)

func (*EC2Nuke) ListVolumes

func (n *EC2Nuke) ListVolumes() ([]Resource, error)

type EC2RouteTable

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

func (*EC2RouteTable) Remove

func (e *EC2RouteTable) Remove() error

func (*EC2RouteTable) String

func (e *EC2RouteTable) String() string

type EC2SecurityGroup

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

func (*EC2SecurityGroup) Filter

func (sg *EC2SecurityGroup) Filter() error

func (*EC2SecurityGroup) Remove

func (sg *EC2SecurityGroup) Remove() error

func (*EC2SecurityGroup) String

func (sg *EC2SecurityGroup) String() string

type EC2SpotFleetRequest

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

func (*EC2SpotFleetRequest) Filter

func (i *EC2SpotFleetRequest) Filter() error

func (*EC2SpotFleetRequest) Remove

func (i *EC2SpotFleetRequest) Remove() error

func (*EC2SpotFleetRequest) String

func (i *EC2SpotFleetRequest) String() string

type EC2Subnet

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

func (*EC2Subnet) Remove

func (e *EC2Subnet) Remove() error

func (*EC2Subnet) String

func (e *EC2Subnet) String() string

type EC2VPC added in v1.3.0

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

func (*EC2VPC) Remove added in v1.3.0

func (e *EC2VPC) Remove() error

func (*EC2VPC) String added in v1.3.0

func (e *EC2VPC) String() string

type EC2VPCEndpoint added in v1.3.0

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

func (*EC2VPCEndpoint) Remove added in v1.3.0

func (endpoint *EC2VPCEndpoint) Remove() error

func (*EC2VPCEndpoint) String added in v1.3.0

func (endpoint *EC2VPCEndpoint) String() string

type EC2VPNConnection added in v1.3.0

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

func (*EC2VPNConnection) Filter added in v1.3.0

func (v *EC2VPNConnection) Filter() error

func (*EC2VPNConnection) Remove added in v1.3.0

func (v *EC2VPNConnection) Remove() error

func (*EC2VPNConnection) String added in v1.3.0

func (v *EC2VPNConnection) String() string

type EC2VPNGateway added in v1.3.0

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

func (*EC2VPNGateway) Filter added in v1.3.0

func (v *EC2VPNGateway) Filter() error

func (*EC2VPNGateway) Remove added in v1.3.0

func (v *EC2VPNGateway) Remove() error

func (*EC2VPNGateway) String added in v1.3.0

func (v *EC2VPNGateway) String() string

type EC2VPNGatewayAttachment added in v1.3.0

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

func (*EC2VPNGatewayAttachment) Filter added in v1.3.0

func (v *EC2VPNGatewayAttachment) Filter() error

func (*EC2VPNGatewayAttachment) Remove added in v1.3.0

func (v *EC2VPNGatewayAttachment) Remove() error

func (*EC2VPNGatewayAttachment) String added in v1.3.0

func (v *EC2VPNGatewayAttachment) String() string

type EC2Volume

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

func (*EC2Volume) Remove

func (e *EC2Volume) Remove() error

func (*EC2Volume) String

func (e *EC2Volume) String() string

type ECRNuke

type ECRNuke struct {
	Service *ecr.ECR
}

func (*ECRNuke) ListRepos

func (n *ECRNuke) ListRepos() ([]Resource, error)

type ECRRepository added in v1.3.0

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

func (*ECRRepository) Filter added in v1.3.0

func (r *ECRRepository) Filter() error

func (*ECRRepository) Remove added in v1.3.0

func (r *ECRRepository) Remove() error

func (*ECRRepository) String added in v1.3.0

func (r *ECRRepository) String() string

type EFSFileSystem

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

func (*EFSFileSystem) Remove

func (e *EFSFileSystem) Remove() error

func (*EFSFileSystem) String

func (e *EFSFileSystem) String() string

type EFSMountTarget

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

func (*EFSMountTarget) Remove

func (e *EFSMountTarget) Remove() error

func (*EFSMountTarget) String

func (e *EFSMountTarget) String() string

type EFSNuke

type EFSNuke struct {
	Service *efs.EFS
}

func (*EFSNuke) ListFileSystems

func (n *EFSNuke) ListFileSystems() ([]Resource, error)

func (*EFSNuke) ListMountTargets

func (n *EFSNuke) ListMountTargets() ([]Resource, error)

type ELB

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

func (*ELB) Remove

func (e *ELB) Remove() error

func (*ELB) String

func (e *ELB) String() string

type ELBv2

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

func (*ELBv2) Remove

func (e *ELBv2) Remove() error

func (*ELBv2) String

func (e *ELBv2) String() string

type ELBv2TargetGroup

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

func (*ELBv2TargetGroup) Remove

func (e *ELBv2TargetGroup) Remove() error

func (*ELBv2TargetGroup) String

func (e *ELBv2TargetGroup) String() string

type ElasticacheCacheCluster

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

func (*ElasticacheCacheCluster) Remove

func (i *ElasticacheCacheCluster) Remove() error

func (*ElasticacheCacheCluster) String

func (i *ElasticacheCacheCluster) String() string

type ElasticacheNuke

type ElasticacheNuke struct {
	Service *elasticache.ElastiCache
}

func (*ElasticacheNuke) ListCacheClusters

func (n *ElasticacheNuke) ListCacheClusters() ([]Resource, error)

func (*ElasticacheNuke) ListSubnetGroups

func (n *ElasticacheNuke) ListSubnetGroups() ([]Resource, error)

type ElasticacheSubnetGroup

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

func (*ElasticacheSubnetGroup) Remove

func (i *ElasticacheSubnetGroup) Remove() error

func (*ElasticacheSubnetGroup) String

func (i *ElasticacheSubnetGroup) String() string

type ElbNuke

type ElbNuke struct {
	Service *elb.ELB
}

func (*ElbNuke) ListELBs

func (n *ElbNuke) ListELBs() ([]Resource, error)

type Elbv2Nuke

type Elbv2Nuke struct {
	Service *elbv2.ELBV2
}

func (*Elbv2Nuke) ListELBs

func (n *Elbv2Nuke) ListELBs() ([]Resource, error)

func (*Elbv2Nuke) ListTargetGroups

func (n *Elbv2Nuke) ListTargetGroups() ([]Resource, error)

type Filter

type Filter interface {
	Resource
	Filter() error
}

type IAMGroup added in v1.3.0

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

func (*IAMGroup) Remove added in v1.3.0

func (e *IAMGroup) Remove() error

func (*IAMGroup) String added in v1.3.0

func (e *IAMGroup) String() string

type IAMGroupPolicyAttachment added in v1.3.0

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

func (*IAMGroupPolicyAttachment) Remove added in v1.3.0

func (e *IAMGroupPolicyAttachment) Remove() error

func (*IAMGroupPolicyAttachment) String added in v1.3.0

func (e *IAMGroupPolicyAttachment) String() string

type IAMInstanceProfile added in v1.3.0

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

func (*IAMInstanceProfile) Remove added in v1.3.0

func (e *IAMInstanceProfile) Remove() error

func (*IAMInstanceProfile) String added in v1.3.0

func (e *IAMInstanceProfile) String() string

type IAMInstanceProfileRole added in v1.3.0

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

func (*IAMInstanceProfileRole) Remove added in v1.3.0

func (e *IAMInstanceProfileRole) Remove() error

func (*IAMInstanceProfileRole) String added in v1.3.0

func (e *IAMInstanceProfileRole) String() string

type IAMNuke added in v1.3.0

type IAMNuke struct {
	Service *iam.IAM
}

func (*IAMNuke) ListGroupPolicyAttachments added in v1.3.0

func (n *IAMNuke) ListGroupPolicyAttachments() ([]Resource, error)

func (*IAMNuke) ListGroups added in v1.3.0

func (n *IAMNuke) ListGroups() ([]Resource, error)

func (*IAMNuke) ListInstanceProfileRoles added in v1.3.0

func (n *IAMNuke) ListInstanceProfileRoles() ([]Resource, error)

func (*IAMNuke) ListInstanceProfiles added in v1.3.0

func (n *IAMNuke) ListInstanceProfiles() ([]Resource, error)

func (*IAMNuke) ListPolicies added in v1.3.0

func (n *IAMNuke) ListPolicies() ([]Resource, error)

func (*IAMNuke) ListRolePolicyAttachments added in v1.3.0

func (n *IAMNuke) ListRolePolicyAttachments() ([]Resource, error)

func (*IAMNuke) ListRoles added in v1.3.0

func (n *IAMNuke) ListRoles() ([]Resource, error)

func (*IAMNuke) ListServerCertificates added in v1.3.0

func (n *IAMNuke) ListServerCertificates() ([]Resource, error)

func (*IAMNuke) ListUserAccessKeys added in v1.3.0

func (n *IAMNuke) ListUserAccessKeys() ([]Resource, error)

func (*IAMNuke) ListUserGroupAttachments added in v1.3.0

func (n *IAMNuke) ListUserGroupAttachments() ([]Resource, error)

func (*IAMNuke) ListUserPolicyAttachments added in v1.3.0

func (n *IAMNuke) ListUserPolicyAttachments() ([]Resource, error)

func (*IAMNuke) ListUsers added in v1.3.0

func (n *IAMNuke) ListUsers() ([]Resource, error)

type IAMPolicy added in v1.3.0

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

func (*IAMPolicy) Remove added in v1.3.0

func (e *IAMPolicy) Remove() error

func (*IAMPolicy) String added in v1.3.0

func (e *IAMPolicy) String() string

type IAMRole added in v1.3.0

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

func (*IAMRole) Filter added in v1.3.0

func (e *IAMRole) Filter() error

func (*IAMRole) Remove added in v1.3.0

func (e *IAMRole) Remove() error

func (*IAMRole) String added in v1.3.0

func (e *IAMRole) String() string

type IAMRolePolicyAttachment added in v1.3.0

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

func (*IAMRolePolicyAttachment) Filter added in v1.3.0

func (e *IAMRolePolicyAttachment) Filter() error

func (*IAMRolePolicyAttachment) Remove added in v1.3.0

func (e *IAMRolePolicyAttachment) Remove() error

func (*IAMRolePolicyAttachment) String added in v1.3.0

func (e *IAMRolePolicyAttachment) String() string

type IAMServerCertificate added in v1.3.0

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

func (*IAMServerCertificate) Remove added in v1.3.0

func (e *IAMServerCertificate) Remove() error

func (*IAMServerCertificate) String added in v1.3.0

func (e *IAMServerCertificate) String() string

type IAMUser added in v1.3.0

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

func (*IAMUser) Remove added in v1.3.0

func (e *IAMUser) Remove() error

func (*IAMUser) String added in v1.3.0

func (e *IAMUser) String() string

type IAMUserAccessKey added in v1.3.0

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

func (*IAMUserAccessKey) Remove added in v1.3.0

func (e *IAMUserAccessKey) Remove() error

func (*IAMUserAccessKey) String added in v1.3.0

func (e *IAMUserAccessKey) String() string

type IAMUserGroupAttachment added in v1.3.0

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

func (*IAMUserGroupAttachment) Remove added in v1.3.0

func (e *IAMUserGroupAttachment) Remove() error

func (*IAMUserGroupAttachment) String added in v1.3.0

func (e *IAMUserGroupAttachment) String() string

type IAMUserPolicyAttachment added in v1.3.0

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

func (*IAMUserPolicyAttachment) Remove added in v1.3.0

func (e *IAMUserPolicyAttachment) Remove() error

func (*IAMUserPolicyAttachment) String added in v1.3.0

func (e *IAMUserPolicyAttachment) String() string

type KMSAlias added in v1.2.0

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

func (*KMSAlias) Filter added in v1.2.0

func (e *KMSAlias) Filter() error

func (*KMSAlias) Remove added in v1.2.0

func (e *KMSAlias) Remove() error

func (*KMSAlias) String added in v1.2.0

func (e *KMSAlias) String() string

type KMSKey added in v1.2.0

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

func (*KMSKey) Filter added in v1.2.0

func (e *KMSKey) Filter() error

func (*KMSKey) Remove added in v1.2.0

func (e *KMSKey) Remove() error

func (*KMSKey) String added in v1.2.0

func (e *KMSKey) String() string

type KMSNuke added in v1.2.0

type KMSNuke struct {
	Service *kms.KMS
}

func (*KMSNuke) ListAliases added in v1.2.0

func (n *KMSNuke) ListAliases() ([]Resource, error)

func (*KMSNuke) ListKeys added in v1.2.0

func (n *KMSNuke) ListKeys() ([]Resource, error)

type LambdaFunction

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

func (*LambdaFunction) Remove

func (f *LambdaFunction) Remove() error

func (*LambdaFunction) String

func (f *LambdaFunction) String() string

type LambdaNuke

type LambdaNuke struct {
	Service *lambda.Lambda
}

func (*LambdaNuke) ListFunctions

func (n *LambdaNuke) ListFunctions() ([]Resource, error)

type LaunchConfiguration

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

func (*LaunchConfiguration) Remove

func (launchconfiguration *LaunchConfiguration) Remove() error

func (*LaunchConfiguration) String

func (launchconfiguration *LaunchConfiguration) String() string

type RDSDBCluster added in v1.3.0

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

func (*RDSDBCluster) Remove added in v1.3.0

func (i *RDSDBCluster) Remove() error

func (*RDSDBCluster) String added in v1.3.0

func (i *RDSDBCluster) String() string

type RDSDBClusterParameterGroup added in v1.3.0

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

func (*RDSDBClusterParameterGroup) Filter added in v1.3.0

func (i *RDSDBClusterParameterGroup) Filter() error

func (*RDSDBClusterParameterGroup) Remove added in v1.3.0

func (i *RDSDBClusterParameterGroup) Remove() error

func (*RDSDBClusterParameterGroup) String added in v1.3.0

func (i *RDSDBClusterParameterGroup) String() string

type RDSDBParameterGroup

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

func (*RDSDBParameterGroup) Filter

func (i *RDSDBParameterGroup) Filter() error

func (*RDSDBParameterGroup) Remove

func (i *RDSDBParameterGroup) Remove() error

func (*RDSDBParameterGroup) String

func (i *RDSDBParameterGroup) String() string

type RDSDBSubnetGroup

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

func (*RDSDBSubnetGroup) Remove

func (i *RDSDBSubnetGroup) Remove() error

func (*RDSDBSubnetGroup) String

func (i *RDSDBSubnetGroup) String() string

type RDSInstance

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

func (*RDSInstance) Remove

func (i *RDSInstance) Remove() error

func (*RDSInstance) String

func (i *RDSInstance) String() string

type RDSNuke

type RDSNuke struct {
	Service *rds.RDS
}

func (*RDSNuke) ListClusterParameterGroups added in v1.3.0

func (n *RDSNuke) ListClusterParameterGroups() ([]Resource, error)

func (*RDSNuke) ListClusters added in v1.3.0

func (n *RDSNuke) ListClusters() ([]Resource, error)

func (*RDSNuke) ListInstances

func (n *RDSNuke) ListInstances() ([]Resource, error)

func (*RDSNuke) ListParameterGroups

func (n *RDSNuke) ListParameterGroups() ([]Resource, error)

func (*RDSNuke) ListSnapshots

func (n *RDSNuke) ListSnapshots() ([]Resource, error)

func (*RDSNuke) ListSubnetGroups

func (n *RDSNuke) ListSubnetGroups() ([]Resource, error)

type RDSSnapshot

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

func (*RDSSnapshot) Remove

func (i *RDSSnapshot) Remove() error

func (*RDSSnapshot) String

func (i *RDSSnapshot) String() string

type Resource

type Resource interface {
	Remove() error
	String() string
}

type ResourceLister

type ResourceLister func() ([]Resource, error)

func GetListers

func GetListers(sess *session.Session) []ResourceLister

type Route53HostedZone

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

func (*Route53HostedZone) Remove

func (hz *Route53HostedZone) Remove() error

func (*Route53HostedZone) String

func (hz *Route53HostedZone) String() string

type Route53Nuke

type Route53Nuke struct {
	Service *route53.Route53
}

func (*Route53Nuke) ListHostedZones

func (n *Route53Nuke) ListHostedZones() ([]Resource, error)

func (*Route53Nuke) ListResourceRecords

func (n *Route53Nuke) ListResourceRecords() ([]Resource, error)

func (*Route53Nuke) ListResourceRecordsForZone

func (n *Route53Nuke) ListResourceRecordsForZone(zoneId *string) ([]Resource, error)

type Route53ResourceRecordSet

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

func (*Route53ResourceRecordSet) Filter

func (r *Route53ResourceRecordSet) Filter() error

func (*Route53ResourceRecordSet) Remove

func (r *Route53ResourceRecordSet) Remove() error

func (*Route53ResourceRecordSet) String

func (r *Route53ResourceRecordSet) String() string

type S3Bucket

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

func (*S3Bucket) Remove

func (e *S3Bucket) Remove() error

func (*S3Bucket) String

func (e *S3Bucket) String() string

type S3Nuke

type S3Nuke struct {
	Service *s3.S3
}

func (*S3Nuke) DescribeBuckets

func (n *S3Nuke) DescribeBuckets() ([]string, error)

func (*S3Nuke) ListBuckets

func (n *S3Nuke) ListBuckets() ([]Resource, error)

func (*S3Nuke) ListObjects

func (n *S3Nuke) ListObjects() ([]Resource, error)

type S3Object

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

func (*S3Object) Remove

func (e *S3Object) Remove() error

func (*S3Object) String

func (e *S3Object) String() string

type SNSNuke

type SNSNuke struct {
	Service *sns.SNS
}

func (*SNSNuke) ListSubscriptions

func (n *SNSNuke) ListSubscriptions() ([]Resource, error)

func (*SNSNuke) ListTopics

func (n *SNSNuke) ListTopics() ([]Resource, error)

type SNSSubscription

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

func (*SNSSubscription) Remove

func (subs *SNSSubscription) Remove() error

func (*SNSSubscription) String

func (subs *SNSSubscription) String() string

type SNSTopic

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

func (*SNSTopic) Remove

func (topic *SNSTopic) Remove() error

func (*SNSTopic) String

func (topic *SNSTopic) String() string

Jump to

Keyboard shortcuts

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