mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
7f4fb34182
It is better developing vmctl tool in VictoriaMetrics repository, so it could be released together with the rest of vmutils tools such as vmalert, vmagent, vmbackup, vmrestore and vmauth.
15 lines
790 B
Go
15 lines
790 B
Go
package pb
|
|
|
|
var (
|
|
// Full - preset with all default available elements
|
|
// Example: 'Prefix 20/100 [-->______] 20% 1 p/s ETA 1m Suffix'
|
|
Full ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }} {{speed . }} {{rtime . "ETA %s"}}{{string . "suffix"}}`
|
|
|
|
// Default - preset like Full but without elapsed time
|
|
// Example: 'Prefix 20/100 [-->______] 20% 1 p/s ETA 1m Suffix'
|
|
Default ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }} {{speed . }}{{string . "suffix"}}`
|
|
|
|
// Simple - preset without speed and any timers. Only counters, bar and percents
|
|
// Example: 'Prefix 20/100 [-->______] 20% Suffix'
|
|
Simple ProgressBarTemplate = `{{string . "prefix"}}{{counters . }} {{bar . }} {{percent . }}{{string . "suffix"}}`
|
|
)
|