Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RESET is the escape sequence for unsetting any previous commands. RESET = 0 // ESC is the escape sequence used to send ANSI commands in the terminal. ESC = 27 )
Variables ¶
This section is empty.
Functions ¶
func ResultErrorFromStats ¶ added in v0.27.0
ResultErrorFromStats takes a stats object and returns either a ResultError or nil depending on whether the stats reports that resources failed apply/prune/delete or reconciliation.
func SprintfWithColor ¶
SprintfWithColor formats according to the provided pattern and returns the result as a string with the necessary ansii escape codes for color
Types ¶
type ResultError ¶ added in v0.27.0
ResultError is returned from printers when the apply/destroy operations completed, but one or more resources either failed apply/prune/delete, or failed to reconcile.
func (*ResultError) Error ¶ added in v0.27.0
func (a *ResultError) Error() string
Click to show internal directories.
Click to hide internal directories.