Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRegions ¶
func GetAllRegions() []string
GetAllRegions - Returns a list of all AWS regions
func NukeAllResources ¶
func NukeAllResources(account *AwsAccountResources, regions []string) error
NukeAllResources - Nukes all aws resources
Types ¶
type ASGroups ¶
type ASGroups struct {
GroupNames []string
}
ASGroups - represents all auto scaling groups
func (ASGroups) ResourceIdentifiers ¶
ResourceIdentifiers - The group names of the auto scaling groups
func (ASGroups) ResourceName ¶
ResourceName - the simple name of the aws resource
type AwsAccountResources ¶
type AwsAccountResources struct {
Resources map[string]AwsRegionResource
}
func GetAllResources ¶
func GetAllResources(regions []string, excludedRegions []string, excludeAfter time.Time) (*AwsAccountResources, error)
GetAllResources - Lists all aws resources
type AwsRegionResource ¶
type AwsRegionResource struct {
Resources []AwsResources
}
type AwsResources ¶
type EBSVolumes ¶
type EBSVolumes struct {
VolumeIds []string
}
EBSVolumes - represents all ebs volumes
func (EBSVolumes) Nuke ¶
func (volume EBSVolumes) Nuke(session *session.Session) error
Nuke - nuke 'em all!!!
func (EBSVolumes) ResourceIdentifiers ¶
func (volume EBSVolumes) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (EBSVolumes) ResourceName ¶
func (volume EBSVolumes) ResourceName() string
ResourceName - the simple name of the aws resource
type EC2Instances ¶
type EC2Instances struct {
InstanceIds []string
}
EC2Instances - represents all ec2 instances
func (EC2Instances) Nuke ¶
func (instance EC2Instances) Nuke(session *session.Session) error
Nuke - nuke 'em all!!!
func (EC2Instances) ResourceIdentifiers ¶
func (instance EC2Instances) ResourceIdentifiers() []string
ResourceIdentifiers - The instance ids of the ec2 instances
func (EC2Instances) ResourceName ¶
func (instance EC2Instances) ResourceName() string
ResourceName - the simple name of the aws resource
type ElbDeleteError ¶
type ElbDeleteError struct{}
func (ElbDeleteError) Error ¶
func (e ElbDeleteError) Error() string
type LoadBalancers ¶
type LoadBalancers struct {
Names []string
}
LoadBalancers - represents all load balancers
func (LoadBalancers) Nuke ¶
func (balancer LoadBalancers) Nuke(session *session.Session) error
Nuke - nuke 'em all!!!
func (LoadBalancers) ResourceIdentifiers ¶
func (balancer LoadBalancers) ResourceIdentifiers() []string
ResourceIdentifiers - The names of the load balancers
func (LoadBalancers) ResourceName ¶
func (balancer LoadBalancers) ResourceName() string
ResourceName - the simple name of the aws resource
type LoadBalancersV2 ¶
type LoadBalancersV2 struct {
Arns []string
}
LoadBalancersV2 - represents all load balancers
func (LoadBalancersV2) Nuke ¶
func (balancer LoadBalancersV2) Nuke(session *session.Session) error
Nuke - nuke 'em all!!!
func (LoadBalancersV2) ResourceIdentifiers ¶
func (balancer LoadBalancersV2) ResourceIdentifiers() []string
ResourceIdentifiers - The arns of the load balancers
func (LoadBalancersV2) ResourceName ¶
func (balancer LoadBalancersV2) ResourceName() string
ResourceName - the simple name of the aws resource