Documentation
¶
Index ¶
- func DisplayHealthCheckComplete(decision health.Decision)
- func DisplayHealthCheckStart(clusterName string)
- func DisplayHealthResults(summary health.HealthSummary)
- func GetDecisionText(decision health.Decision) string
- func GetHealthDecisionColor(decision health.Decision) func(format string, a ...interface{}) string
- func GetHealthStatusText(status health.HealthStatus) string
- func GetStatusColor(status types.UpdateStatus) func(format string, a ...interface{}) string
- func GetStatusPrefix(status types.UpdateStatus) string
- func NewHealthSpinner(message string) *yacspin.Spinner
- func PrintNodegroupsTree(clusterName string, nodegroups []types.NodegroupInfo)
- func PromptContinueWithWarnings(warnings []string) bool
- func RenderProgressBar(score int, status health.HealthStatus) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisplayHealthCheckComplete ¶ added in v0.1.8
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
GetDecisionText returns the text representation of decision
func GetHealthDecisionColor ¶ added in v0.1.8
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
NewHealthSpinner creates a new spinner for health checks
func PrintNodegroupsTree ¶
func PrintNodegroupsTree(clusterName string, nodegroups []types.NodegroupInfo)
func PromptContinueWithWarnings ¶ added in v0.1.8
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.