Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for RestoreOngoing (0.12 sec)

  1. cmd/object-api-datatypes.go

    	// Transitioned object information
    	TransitionedObject TransitionedObject
    
    	// RestoreExpires indicates date a restored object expires
    	RestoreExpires time.Time
    
    	// RestoreOngoing indicates if a restore is in progress
    	RestoreOngoing bool
    
    	// A standard MIME type describing the format of the object.
    	ContentType string
    
    	// Specifies what content encodings have been applied to the object and thus
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    			if err != nil {
    				err = msgp.WrapError(err, "RestoreExpires")
    				return
    			}
    		case "RestoreOngoing":
    			z.RestoreOngoing, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "RestoreOngoing")
    				return
    			}
    		case "ContentType":
    			z.ContentType, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle.go

    	ModTime          time.Time
    	Size             int64
    	VersionID        string
    	IsLatest         bool
    	DeleteMarker     bool
    	NumVersions      int
    	SuccessorModTime time.Time
    	TransitionStatus string
    	RestoreOngoing   bool
    	RestoreExpires   time.Time
    }
    
    // ExpiredObjectDeleteMarker returns true if an object version referred to by o
    // is the only version remaining and is a delete marker. It returns false
    // otherwise.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    		Size:             oi.Size,
    		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)
  5. cmd/erasure-metadata.go

    	}
    
    	// set restore status for transitioned object
    	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.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		return
    	}
    	statusCode := http.StatusOK
    	alreadyRestored := false
    	if err == nil {
    		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
    		}
    	}
    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