Documentation ¶
Index ¶
Constants ¶
View Source
const (
RefreshInterval = 100 * time.Millisecond
)
Variables ¶
View Source
var ( StatusDockerPush = &Status{ Text: "pushing image", TextWidth: 13, Priority: 1, } StatusDockerPull = &Status{ Text: "pulling image", TextWidth: 13, Priority: 1, } StatusWaiting = &Status{ TextWidth: 7, Text: "waiting", Priority: 0, } StatusRunning = &Status{ Text: "running ⭐️", TextWidth: 10, Priority: 2, } StatusReady = &Status{ Text: "ready ⭐️", TextWidth: 8, Priority: 3, } )
Functions ¶
func IsTerminal ¶
Types ¶
type ProgressTask ¶
type ProgressTask struct {
// contains filtered or unexported fields
}
func (*ProgressTask) Done ¶
func (pt *ProgressTask) Done()
func (*ProgressTask) Name ¶
func (pt *ProgressTask) Name() string
func (*ProgressTask) Update ¶
func (pt *ProgressTask) Update(v float64)
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func (*Reporter) IsTerminal ¶
func (*Reporter) LogErrorSink ¶
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
func (*Row) AddProgressTask ¶
func (row *Row) AddProgressTask(name string) *ProgressTask
func (*Row) RemoveStatus ¶
Click to show internal directories.
Click to hide internal directories.