Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ongoingRestoreObj (0.09 sec)

  1. cmd/bucket-lifecycle.go

    // ongoing or completed.
    type restoreObjStatus struct {
    	ongoing bool
    	expiry  time.Time
    }
    
    // ongoingRestoreObj constructs restoreObjStatus for an ongoing restore-object.
    func ongoingRestoreObj() restoreObjStatus {
    	return restoreObjStatus{
    		ongoing: true,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		if alreadyRestored {
    			metadata[xhttp.AmzRestore] = completedRestoreObj(restoreExpiry).String()
    		} else {
    			metadata[xhttp.AmzRestore] = ongoingRestoreObj().String()
    		}
    		objInfo.UserDefined = metadata
    		if _, err := objectAPI.CopyObject(GlobalContext, bucket, object, bucket, object, objInfo, ObjectOptions{
    			VersionID: objInfo.VersionID,
    		}, ObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top