Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResticType = "restic" KopiaType = "kopia" )
Variables ¶
This section is empty.
Functions ¶
func ValidateUploaderType ¶
ValidateUploaderType validates if the input param is a valid uploader type. It will return an error if it's invalid.
Types ¶
type Progress ¶ added in v1.12.0
type Progress struct { TotalBytes int64 `json:"totalBytes,omitempty"` BytesDone int64 `json:"doneBytes,omitempty"` }
Progress which defined two variables to record progress
type ProgressUpdater ¶
type ProgressUpdater interface {
UpdateProgress(p *Progress)
}
UploaderProgress which defined generic interface to update progress
type SnapshotInfo ¶
Click to show internal directories.
Click to hide internal directories.