Documentation
¶
Index ¶
- func ClearToEndOfLine()
- func Error(msg string)
- func Errorf(format string, args ...any)
- func Errorln(msg string)
- func Header(msg string)
- func Headerf(format string, args ...any)
- func Headerln(msg string)
- func Info(msg string)
- func Infof(format string, args ...any)
- func Infoln(msg string)
- func MoveCursorRight(numberOfCells int)
- func MoveCursorUp(numberOfLines int)
- func NewLine(numberOfLines int)
- func Notification(msg string)
- func Notificationf(format string, args ...any)
- func Notificationln(msg string)
- func SectionDivider(symbol string, length int)
- func Step(state, kind, name string)
- func Success(msg string)
- func Successf(format string, args ...any)
- func Successln(msg string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearToEndOfLine ¶
func ClearToEndOfLine()
func MoveCursorRight ¶
func MoveCursorRight(numberOfCells int)
func MoveCursorUp ¶
func MoveCursorUp(numberOfLines int)
func Notification ¶
func Notification(msg string)
func Notificationf ¶
func Notificationln ¶
func Notificationln(msg string)
func SectionDivider ¶
SectionDivider prints a divider line of a given symbol and length. Default length is 1.
func Step ¶
func Step(state, kind, name string)
Step prints a one-line completion message in the same visual format the docker-build multispinner uses for its "done" rows:
✓ <state> <kind> <name>
state is rendered light-blue, kind is light-magenta, name is green; the leading ✓ is orange + bold (style.TickIcon). Use for one-shot ops that finish synchronously (cluster ready, image imported, shards rolled, etc.) so the cluster bring-up + build + reload sections all look cohesive.
For parallel build-style progress (multi-image), use the multispinner.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.