- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for completedRestoreObj (0.08 seconds)
-
cmd/bucket-lifecycle.go
func ongoingRestoreObj() restoreObjStatus { return restoreObjStatus{ ongoing: true, } } // completedRestoreObj constructs restoreObjStatus for a completed restore-object with given expiry. func completedRestoreObj(expiry time.Time) restoreObjStatus { return restoreObjStatus{ ongoing: false, expiry: expiry.UTC(), } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 33.7K bytes - Click Count (0) -
cmd/xl-storage-format-v2_test.go
toBeRestored[xhttp.AmzRestore] = ongoingRestoreObj().String() restored := make(map[string]string) restored[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(time.Hour)).String() restoredExpired := make(map[string]string) restoredExpired[xhttp.AmzRestore] = completedRestoreObj(time.Now().UTC().Add(-time.Hour)).String() testCases := []struct { xlmeta xlMetaV2Object uses bool }{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37.8K bytes - Click Count (0)