Добавлена возможность асинхронного создания снапшотов
А также обновлены зависимости
This commit is contained in:
@@ -37,6 +37,14 @@ type SnapshotInfo struct {
|
||||
CreationTime time.Time // Время создания
|
||||
}
|
||||
|
||||
// SnapshotStatus represents the status of an asynchronous snapshot creation process.
|
||||
type SnapshotStatus struct {
|
||||
ID string // Unique identifier of the job (usually same as Snapshot ID)
|
||||
Status string // Current status: "pending", "running", "done", "failed"
|
||||
Progress float64 // Progress from 0.0 to 1.0
|
||||
Error string // Error message if failed
|
||||
}
|
||||
|
||||
// ListOptions provides options for filtering and paginating snapshot lists
|
||||
type ListOptions struct {
|
||||
FilterByName string // Filter snapshots by name (substring match)
|
||||
|
||||
Reference in New Issue
Block a user