tui

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProgressBar

func NewProgressBar() *progressbar.ProgressBar

func SetSpinnerMessage added in v1.1.0

func SetSpinnerMessage(spinner *ysmrr.Spinner, filename string, message string)

Types

type ISpinnerManager added in v1.1.0

type ISpinnerManager interface {
	AddSpinner(file string) *ysmrr.Spinner
	Start()
	Stop()
}

type JobsErrorList added in v1.1.0

type JobsErrorList struct {
	// contains filtered or unexported fields
}

func NewJobsErrorList added in v1.1.0

func NewJobsErrorList(mirror io.Writer, jobs []job.IJob) JobsErrorList

func (JobsErrorList) Render added in v1.1.0

func (jobsErrList JobsErrorList) Render() error

type RuleCard

type RuleCard struct {
	// contains filtered or unexported fields
}

func NewRuleCard

func NewRuleCard(mirror io.Writer, rule automation.Rule) RuleCard

func (RuleCard) Render

func (rc RuleCard) Render()

type SpinnerManager added in v1.1.0

type SpinnerManager struct {
	// contains filtered or unexported fields
}

func NewSpinnerManager added in v1.1.0

func NewSpinnerManager() SpinnerManager

func (SpinnerManager) AddSpinner added in v1.1.0

func (sm SpinnerManager) AddSpinner(file string) *ysmrr.Spinner

func (SpinnerManager) Start added in v1.1.0

func (sm SpinnerManager) Start()

func (SpinnerManager) Stop added in v1.1.0

func (sm SpinnerManager) Stop()

Jump to

Keyboard shortcuts

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