Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResticType = "restic" KopiaType = "kopia" SnapshotRequesterTag = "snapshot-requester" SnapshotUploaderTag = "snapshot-uploader" )
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 PersistentVolumeMode ¶ added in v1.12.0
type PersistentVolumeMode string
const ( // PersistentVolumeBlock means the volume will not be formatted with a filesystem and will remain a raw block device. PersistentVolumeBlock PersistentVolumeMode = "Block" // PersistentVolumeFilesystem means the volume will be or is formatted with a filesystem. PersistentVolumeFilesystem PersistentVolumeMode = "Filesystem" )
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.