ui

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayHealthCheckComplete added in v0.1.8

func DisplayHealthCheckComplete(decision health.Decision)

DisplayHealthCheckComplete displays completion message based on decision

func DisplayHealthCheckStart added in v0.1.8

func DisplayHealthCheckStart(clusterName string)

DisplayHealthCheckStart displays the start of health check process

func DisplayHealthResults added in v0.1.8

func DisplayHealthResults(summary health.HealthSummary)

DisplayHealthResults displays the health check results in the specified format

func GetDecisionText added in v0.1.8

func GetDecisionText(decision health.Decision) string

GetDecisionText returns the text representation of decision

func GetHealthDecisionColor added in v0.1.8

func GetHealthDecisionColor(decision health.Decision) func(format string, a ...interface{}) string

GetHealthDecisionColor returns the color function for decision

func GetHealthStatusText added in v0.1.8

func GetHealthStatusText(status health.HealthStatus) string

GetHealthStatusText returns the text representation of health status

func GetStatusColor

func GetStatusColor(status types.UpdateStatus) func(format string, a ...interface{}) string

GetStatusColor returns a color function for the update status

func GetStatusPrefix

func GetStatusPrefix(status types.UpdateStatus) string

GetStatusPrefix returns an appropriate text prefix for the update status

func NewHealthSpinner added in v0.1.8

func NewHealthSpinner(message string) *yacspin.Spinner

NewHealthSpinner creates a new spinner for health checks

func PrintNodegroupsTree

func PrintNodegroupsTree(clusterName string, nodegroups []types.NodegroupInfo)

func PromptContinueWithWarnings added in v0.1.8

func PromptContinueWithWarnings(warnings []string) bool

PromptContinueWithWarnings prompts the user to continue despite warnings

func RenderProgressBar added in v0.1.8

func RenderProgressBar(score int, status health.HealthStatus) string

RenderProgressBar creates a progress bar string based on score and status

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL