Documentation ¶
Index ¶
- type Counter
- type ProgressPrinter
- type RestoreProgress
- func (p *RestoreProgress) CompleteItem(item string, s archiver.ScanStats)
- func (p *RestoreProgress) Error(item string, err error) error
- func (p *RestoreProgress) Finish(snapshotID string)
- func (p *RestoreProgress) ReportTotal(item string, s Stats)
- func (p *RestoreProgress) Run(ctx context.Context) error
- func (p *RestoreProgress) ScannerError(err error) error
- func (p *RestoreProgress) SetMinUpdatePause(d time.Duration)
- type RestoreProgressReporter
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressPrinter ¶
type RestoreProgress ¶
type RestoreProgress struct { MinUpdatePause time.Duration // contains filtered or unexported fields }
func NewProgress ¶
func NewProgress(printer ProgressPrinter) *RestoreProgress
func (*RestoreProgress) CompleteItem ¶
func (p *RestoreProgress) CompleteItem(item string, s archiver.ScanStats)
func (*RestoreProgress) Finish ¶
func (p *RestoreProgress) Finish(snapshotID string)
func (*RestoreProgress) ReportTotal ¶
func (p *RestoreProgress) ReportTotal(item string, s Stats)
func (*RestoreProgress) ScannerError ¶
func (p *RestoreProgress) ScannerError(err error) error
func (*RestoreProgress) SetMinUpdatePause ¶
func (p *RestoreProgress) SetMinUpdatePause(d time.Duration)
type RestoreProgressReporter ¶
Click to show internal directories.
Click to hide internal directories.