Versions in this module Expand all Collapse all v2 v2.14.2 Nov 23, 2020 v2.14.1 Nov 23, 2020 Changes in this version + const ScannerParallelQueries + var BuildDate = "unknown" + var BuildEnvironment = "unknown" + var BuildHash = "unknown" + var BuildVersion = "unknown" + var ColorRegion = *color.New(color.Bold) + var ColorResourceID = *color.New(color.Bold) + var ColorResourceProperties = *color.New(color.Italic) + var ColorResourceType = *color.New() + var ReasonError = *color.New(color.FgRed) + var ReasonRemoveTriggered = *color.New(color.FgGreen) + var ReasonSkip = *color.New(color.FgYellow) + var ReasonSuccess = *color.New(color.FgGreen) + var ReasonWaitPending = *color.New(color.FgBlue) + func IsTrue(s string) bool + func Log(region *Region, resourceType string, r resources.Resource, c color.Color, ...) + func NewResourceTypesCommand() *cobra.Command + func NewRootCommand() *cobra.Command + func NewVersionCommand() *cobra.Command + func Prompt(expect string) error + func ResolveResourceTypes(base types.Collection, include, exclude []types.Collection) types.Collection + func Scan(region *Region, resourceTypes []string) <-chan *Item + func Sorted(m map[string]string) string + type Item struct + Reason string + Region *Region + Resource resources.Resource + State ItemState + Type string + func (i *Item) Equals(o resources.Resource) bool + func (i *Item) GetProperty(key string) (string, error) + func (i *Item) List() ([]resources.Resource, error) + func (i *Item) Print() + type ItemState int + const ItemStateFailed + const ItemStateFiltered + const ItemStateFinished + const ItemStateNew + const ItemStatePending + const ItemStateWaiting + type Nuke struct + Account awsutil.Account + Config *config.Nuke + Parameters NukeParameters + ResourceTypes types.Collection + func NewNuke(params NukeParameters, account awsutil.Account) *Nuke + func (n *Nuke) Filter(item *Item) error + func (n *Nuke) HandleQueue() + func (n *Nuke) HandleRemove(item *Item) + func (n *Nuke) HandleWait(item *Item, cache map[string]map[string][]resources.Resource) + func (n *Nuke) Run() error + func (n *Nuke) Scan() error + type NukeParameters struct + ConfigPath string + Excludes []string + Force bool + ForceSleep int + MaxWaitRetries int + NoDryRun bool + Quiet bool + Targets []string + func (p *NukeParameters) Validate() error + type Queue []*Item + func (q Queue) Count(states ...ItemState) int + func (q Queue) CountTotal() int + type Region struct + Name string + NewSession SessionFactory + ResTypeResolver ResourceTypeResolver + func NewRegion(name string, typeResolver ResourceTypeResolver, sessionFactory SessionFactory) *Region + func (region *Region) Session(resourceType string) (*session.Session, error) + type ResourceTypeResolver func(regionName, resourceType string) string + type SessionFactory func(regionName, svcType string) (*session.Session, error) Other modules containing this package github.com/jreut/aws-nuke