monitoring

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

Package monitoring provides update progress tracking for EKS nodegroup operations. It implements concurrent monitoring with proper channel patterns and graceful shutdown.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayCompletionSummary

func DisplayCompletionSummary(monitor *refreshTypes.ProgressMonitor, config refreshTypes.MonitorConfig) error

DisplayCompletionSummary shows the final summary when all updates are complete in tree format

func DisplayProgressUpdate

func DisplayProgressUpdate(monitor *refreshTypes.ProgressMonitor)

DisplayProgressUpdate shows current progress in a live updating format with tree structure. On an interactive terminal the previous frame is cleared with cursor-control codes; when output is piped each poll appends a new block instead (control codes would garble the log).

func MonitorUpdates

func MonitorUpdates(ctx context.Context, eksClient *eks.Client, monitor *refreshTypes.ProgressMonitor, config refreshTypes.MonitorConfig) error

MonitorUpdates monitors the progress of multiple nodegroup updates. It uses channels for concurrent status checks and proper signal handling.

Types

This section is empty.

Jump to

Keyboard shortcuts

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