GO-2024-2703: Kopia: Storage connection credentials written to console on "repository status" CLI command with JSON output in github.com/kopia/kopia
package
Version:
v0.9.0-rc1
Opens a new window with list of versions in this module.
Published: Sep 11, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package timetrack tracks the progress and estimates completion of a task.
type Estimator struct {
}
Estimator estimates the completion of a task.
Start returns an Estimator object.
Completed computes the duration and speed (total per second).
Estimate estimates the completion of a task given the current progress as indicated
by ration of completed/total.
Throttle throttles UI updates to a specific interval.
Reset resets the throttle.
ShouldOutput returns true if it's ok to produce output given the for a given time interval.
Timings returns task progress and timings.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.