progress

package
v0.60.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package progress renders live, in-place progress for resource deployment and deletion. The interactive renderer is built on Bubble Tea and the Bubbles spinner component (both already used elsewhere in the CLI); when stdout is not a terminal it falls back to a no-op listener that simply drains the channel.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener interface {
	// Run consumes updates from the progress channel until it is closed. This
	// should be called from a goroutine because it blocks.
	Run()
}

Listener renders progress updates received on a channel until the channel is closed. Run blocks and is intended to be called from a goroutine.

func NewListener

func NewListener(progressChan <-chan clients.ResourceProgress) Listener

NewListener returns an interactive spinner-based Listener when stdout is a terminal, or a no-op Listener that drains the channel otherwise.

Jump to

Keyboard shortcuts

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