Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func MaxNameWidth ¶
func MaxNameWidth() int
MaxNameWidth returns the maximum width to be used for a name in a progress bar
Types ¶
type DotProgressDigester ¶
type DotProgressDigester struct {
// contains filtered or unexported fields
}
func NewDotProgressIndicator ¶
func NewDotProgressIndicator(out output.Outputer) *DotProgressDigester
NewDotProgressIndicator prints dots at an interval while a runtime is being setup (during solve, download, and install steps). The primary goal is to indicate to various CI systems (or during non-interactive mode) that progress is being made.
func (*DotProgressDigester) Close ¶
func (d *DotProgressDigester) Close() error
type ProgressDigester ¶
type ProgressDigester struct {
// contains filtered or unexported fields
}
func NewProgressIndicator ¶
func NewProgressIndicator(w io.Writer, out output.Outputer) *ProgressDigester
func (*ProgressDigester) Close ¶
func (p *ProgressDigester) Close() error
Click to show internal directories.
Click to hide internal directories.