k3s/vendor/github.com/lxc/lxd/shared/ioprogress/data.go

17 lines
368 B
Go
Raw Normal View History

2019-11-08 21:45:10 +00:00
package ioprogress
// The ProgressData struct represents new progress information on an operation
type ProgressData struct {
// Preferred string repreentation of progress (always set)
Text string
// Progress in percent
Percentage int
// Number of bytes transferred (for files)
TransferredBytes int64
// Total number of bytes (for files)
TotalBytes int64
}