Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RestoreExpires (0.39 sec)

  1. cmd/bucket-lifecycle.go

    		IsLatest:         oi.IsLatest,
    		NumVersions:      oi.NumVersions,
    		DeleteMarker:     oi.DeleteMarker,
    		SuccessorModTime: oi.SuccessorModTime,
    		RestoreOngoing:   oi.RestoreOngoing,
    		RestoreExpires:   oi.RestoreExpires,
    		TransitionStatus: oi.TransitionedObject.Status,
    	}
    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/erasure-metadata.go

    	restoreHdr, ok := fi.Metadata[xhttp.AmzRestore]
    	if ok {
    		if restoreStatus, err := parseRestoreObjStatus(restoreHdr); err == nil {
    			objInfo.RestoreOngoing = restoreStatus.Ongoing()
    			objInfo.RestoreExpires, _ = restoreStatus.Expiry()
    		}
    	}
    	objInfo.Checksum = fi.Checksum
    	objInfo.decryptPartsChecksums(nil)
    	objInfo.Inlined = fi.InlineData()
    	// Success.
    	return objInfo
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		if objInfo.RestoreOngoing && rreq.Type != SelectRestoreRequest {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrObjectRestoreAlreadyInProgress), r.URL)
    			return
    		}
    		if !objInfo.RestoreOngoing && !objInfo.RestoreExpires.IsZero() {
    			statusCode = http.StatusAccepted
    			alreadyRestored = true
    		}
    	}
    	// set or upgrade restore expiry
    	restoreExpiry := lifecycle.ExpectedExpiryTime(time.Now().UTC(), rreq.Days)
    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