monitor

package
v0.87.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogerTask added in v0.85.0

type CatalogerTask struct {

	// Title
	Title string
	// TitleOnCompletion a string to use as title when completed
	TitleOnCompletion string
	// SubStatus indicates this progress should be rendered as a sub-item
	SubStatus bool
	// RemoveOnCompletion indicates this progress line will be removed when completed
	RemoveOnCompletion bool
	// contains filtered or unexported fields
}

func (*CatalogerTask) GetMonitor added in v0.85.0

func (e *CatalogerTask) GetMonitor() *progress.Manual

func (*CatalogerTask) GetValue added in v0.85.0

func (e *CatalogerTask) GetValue() string

func (*CatalogerTask) SetCompleted added in v0.85.0

func (e *CatalogerTask) SetCompleted()

func (*CatalogerTask) SetValue added in v0.85.0

func (e *CatalogerTask) SetValue(value string)

type GenericTask

type GenericTask struct {
	Title   Title
	Context string
}

type ShellProgress

type ShellProgress struct {
	io.Reader
	progress.Progressable
}

type Title

type Title struct {
	Default      string
	WhileRunning string
	OnSuccess    string
}

Jump to

Keyboard shortcuts

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