Documentation ¶
Index ¶
- Variables
- func PrintGeneralErrorReport(w io.Writer)
- func PrintRunReport(w io.Writer)
- func RenderNukeConfirmationPrompt(prompt string, numRetryCount int) (bool, error)
- func RenderQueryAsBulletList(query *aws.Query) error
- func RenderResourceTypesAsBulletList(resourceTypes []string) error
- func RenderResourcesAsTable(account *aws.AwsAccountResources) error
- func RenderRunReport()
- func UrgentMessage(s string)
- func WarningMessage(s string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( FailureEmoji = "❌" SuccessEmoji = "✅" FireEmoji = "🔥" TargetEmoji = "🎯" ResourceHighlightStyle = lipgloss.NewStyle(). Bold(true). Foreground(lipgloss.Color("202")) BoldWarningTextStyle = lipgloss.NewStyle(). Padding(1). Bold(true). Italic(true). Foreground(lipgloss.Color("202")) BlinkingWarningStyle = lipgloss.NewStyle(). Bold(true). Italic(true). Blink(true). Underline(true). Foreground(lipgloss.Color("201")) )
Functions ¶
func PrintGeneralErrorReport ¶
func PrintRunReport ¶
func RenderNukeConfirmationPrompt ¶ added in v0.33.0
func RenderQueryAsBulletList ¶ added in v0.33.0
func RenderResourceTypesAsBulletList ¶ added in v0.33.0
func RenderResourcesAsTable ¶ added in v0.33.0
func RenderResourcesAsTable(account *aws.AwsAccountResources) error
func RenderRunReport ¶ added in v0.27.1
func RenderRunReport()
RenderRunReport should be called at the end of a support cloud-nuke function It will print a table showing resources were deleted, and what errors occurred Note that certain functions don't support the report table, such as aws-inspect, which prints its own findings out directly to os.Stdout
func UrgentMessage ¶
func UrgentMessage(s string)
UrgentMessage is a convenience method to display the supplied string in our pre-configured BlinkingWarningStyle This is appropriate to use as the final prompt to confirm the user really wants to nuke all selected resources
func WarningMessage ¶
func WarningMessage(s string)
WarningMessage is a convenience method to display the supplied string in our pre-configured BoldWarningTextStyle
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.