resources

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 (csf *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 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 (i *EC2CustomerGateway) Filter() error

func (*EC2CustomerGateway) Remove

func (e *EC2CustomerGateway) Remove() error

func (*EC2CustomerGateway) String

func (e *EC2CustomerGateway) String() string

type EC2DhcpOption

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

func (*EC2DhcpOption) Remove

func (e *EC2DhcpOption) Remove() error

func (*EC2DhcpOption) String

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 EC2InternetGatewayAttachement

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

func (*EC2InternetGatewayAttachement) Remove

func (*EC2InternetGatewayAttachement) String

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

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

func (*EC2NatGateway) Filter

func (i *EC2NatGateway) Filter() error

func (*EC2NatGateway) Remove

func (e *EC2NatGateway) Remove() error

func (*EC2NatGateway) String

func (e *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

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

func (*EC2Nuke) ListInstances

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

func (*EC2Nuke) ListInternetGatewayAttachements

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

func (*EC2Nuke) ListInternetGateways

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

func (*EC2Nuke) ListKeyPairs

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

func (*EC2Nuke) ListNatGateways

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) ListVolumes

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

func (*EC2Nuke) ListVpcEndpoints

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

func (*EC2Nuke) ListVpcs

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

func (*EC2Nuke) ListVpnConnections

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

func (*EC2Nuke) ListVpnGatewayAttachements

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

func (*EC2Nuke) ListVpnGateways

func (n *EC2Nuke) ListVpnGateways() ([]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 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 EC2Vpc

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

func (*EC2Vpc) Remove

func (e *EC2Vpc) Remove() error

func (*EC2Vpc) String

func (e *EC2Vpc) String() string

type EC2VpcEndpoint

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

func (*EC2VpcEndpoint) Remove

func (endpoint *EC2VpcEndpoint) Remove() error

func (*EC2VpcEndpoint) String

func (endpoint *EC2VpcEndpoint) String() string

type EC2VpnConnection

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

func (*EC2VpnConnection) Filter

func (i *EC2VpnConnection) Filter() error

func (*EC2VpnConnection) Remove

func (e *EC2VpnConnection) Remove() error

func (*EC2VpnConnection) String

func (e *EC2VpnConnection) String() string

type EC2VpnGateway

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

func (*EC2VpnGateway) Filter

func (i *EC2VpnGateway) Filter() error

func (*EC2VpnGateway) Remove

func (e *EC2VpnGateway) Remove() error

func (*EC2VpnGateway) String

func (e *EC2VpnGateway) String() string

type EC2VpnGatewayAttachement

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

func (*EC2VpnGatewayAttachement) Filter

func (i *EC2VpnGatewayAttachement) Filter() error

func (*EC2VpnGatewayAttachement) Remove

func (e *EC2VpnGatewayAttachement) Remove() error

func (*EC2VpnGatewayAttachement) String

func (e *EC2VpnGatewayAttachement) String() string

type ECRNuke

type ECRNuke struct {
	Service *ecr.ECR
}

func (*ECRNuke) ListRepos

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

type ECRrepository

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

func (*ECRrepository) Filter

func (r *ECRrepository) Filter() error

func (*ECRrepository) Remove

func (r *ECRrepository) Remove() error

func (*ECRrepository) String

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

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

func (*IamGroup) Remove

func (e *IamGroup) Remove() error

func (*IamGroup) String

func (e *IamGroup) String() string

type IamGroupPolicyAttachement

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

func (*IamGroupPolicyAttachement) Remove

func (e *IamGroupPolicyAttachement) Remove() error

func (*IamGroupPolicyAttachement) String

func (e *IamGroupPolicyAttachement) String() string

type IamInstanceProfile

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

func (*IamInstanceProfile) Remove

func (e *IamInstanceProfile) Remove() error

func (*IamInstanceProfile) String

func (e *IamInstanceProfile) String() string

type IamInstanceProfileRole

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

func (*IamInstanceProfileRole) Remove

func (e *IamInstanceProfileRole) Remove() error

func (*IamInstanceProfileRole) String

func (e *IamInstanceProfileRole) String() string

type IamNuke

type IamNuke struct {
	Service *iam.IAM
}

func (*IamNuke) ListGroupPolicyAttachements

func (n *IamNuke) ListGroupPolicyAttachements() ([]Resource, error)

func (*IamNuke) ListGroups

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

func (*IamNuke) ListInstanceProfileRoles

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

func (*IamNuke) ListInstanceProfiles

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

func (*IamNuke) ListPolicies

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

func (*IamNuke) ListRolePolicyAttachements

func (n *IamNuke) ListRolePolicyAttachements() ([]Resource, error)

func (*IamNuke) ListRoles

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

func (*IamNuke) ListServerCertificates

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

func (*IamNuke) ListUserAccessKeys

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

func (*IamNuke) ListUserGroupAttachements

func (n *IamNuke) ListUserGroupAttachements() ([]Resource, error)

func (*IamNuke) ListUserPolicyAttachements

func (n *IamNuke) ListUserPolicyAttachements() ([]Resource, error)

func (*IamNuke) ListUsers

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

type IamPolicy

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

func (*IamPolicy) Remove

func (e *IamPolicy) Remove() error

func (*IamPolicy) String

func (e *IamPolicy) String() string

type IamRole

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

func (*IamRole) Remove

func (e *IamRole) Remove() error

func (*IamRole) String

func (e *IamRole) String() string

type IamRolePolicyAttachement

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

func (*IamRolePolicyAttachement) Remove

func (e *IamRolePolicyAttachement) Remove() error

func (*IamRolePolicyAttachement) String

func (e *IamRolePolicyAttachement) String() string

type IamServerCertificate

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

func (*IamServerCertificate) Remove

func (e *IamServerCertificate) Remove() error

func (*IamServerCertificate) String

func (e *IamServerCertificate) String() string

type IamUser

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

func (*IamUser) Remove

func (e *IamUser) Remove() error

func (*IamUser) String

func (e *IamUser) String() string

type IamUserAccessKeys

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

func (*IamUserAccessKeys) Remove

func (e *IamUserAccessKeys) Remove() error

func (*IamUserAccessKeys) String

func (e *IamUserAccessKeys) String() string

type IamUserGroupAttachement

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

func (*IamUserGroupAttachement) Remove

func (e *IamUserGroupAttachement) Remove() error

func (*IamUserGroupAttachement) String

func (e *IamUserGroupAttachement) String() string

type IamUserPolicyAttachement

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

func (*IamUserPolicyAttachement) Remove

func (e *IamUserPolicyAttachement) Remove() error

func (*IamUserPolicyAttachement) String

func (e *IamUserPolicyAttachement) 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 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) 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 (rrs *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