Documentation
¶
Overview ¶
Package util contains shared dpfctl helpers.
Index ¶
- Variables
- func Debug(format string, a ...any)
- func Failure(format string, a ...any)
- func Info(format string, a ...any)
- func Result(format string, a ...any)
- func ResultFail(format string, a ...any)
- func StartSpinner(format string, a ...any) func()
- func Step(format string, a ...any)
- func Success(format string, a ...any)
- func Warn(format string, a ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var Verbose bool
Verbose controls whether debug output is printed.
Functions ¶
func ResultFail ¶
ResultFail prints a final failure result line.
func StartSpinner ¶
StartSpinner starts an animated spinner with a message. Returns a stop function that clears the spinner line. Call stop() before printing the next line. In non-TTY environments (CI, kubectl exec), prints a static line instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.