awsnuke

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAwsNukeConfigWithTagFilter

func GenerateAwsNukeConfigWithTagFilter(config GenerateAwsNukeConfigConfig) nukeconfig.Nuke

GenerateAwsNukeConfigWithTagFilter generates an aws-nuke config object and adds a tag-based filter to every aws-nuke supported resource type

func NukeTestAccountByTag

func NukeTestAccountByTag(t *testing.T, tagName string, tagValue string, regions []string, dryRun bool)

func RunAwsNukeE

func RunAwsNukeE(params RunAwsNukeParams) error

RunAwsNukeExe runs the aws-nuke as a library with the given config

Types

type GenerateAwsNukeConfigConfig

type GenerateAwsNukeConfigConfig struct {
	AllRegions bool
	AccountId  string
	Regions    []string
	TagName    string
	TagValue   string
}

type RunAwsNukeParams

type RunAwsNukeParams struct {
	Config        nukeconfig.Nuke
	Creds         awsutil.Credentials
	DefaultRegion string
	Params        cmd.NukeParameters
	Verbose       bool
}

Jump to

Keyboard shortcuts

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