Documentation ¶
Index ¶
Constants ¶
View Source
const ( FilterTypeEmpty FilterType = "" FilterTypeExact = "exact" FilterTypeGlob = "glob" FilterTypeRegex = "regex" FilterTypeContains = "contains" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { Filters Filters `yaml:"filters"` ResourceTypes ResourceTypes `yaml:"resource-types"` }
type Filter ¶
type Filter struct { Property string Type FilterType Value string }
func NewExactFilter ¶
func (*Filter) UnmarshalYAML ¶
type FilterType ¶
type FilterType string
type Nuke ¶
type Nuke struct { AccountBlacklist []string `yaml:"account-blacklist"` Regions []string `yaml:"regions"` Accounts map[string]Account `yaml:"accounts"` ResourceTypes ResourceTypes `yaml:"resource-types"` }
func (*Nuke) HasBlacklist ¶
func (*Nuke) InBlacklist ¶
type ResourceTypes ¶
type ResourceTypes struct { Targets types.Collection `yaml:"targets"` Excludes types.Collection `yaml:"excludes"` }
Click to show internal directories.
Click to hide internal directories.