Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for RestoreRequest (0.2 sec)

  1. cmd/object-api-interface.go

    	Expire bool
    }
    
    // TransitionOptions represents object options for transition ObjectLayer operation
    type TransitionOptions struct {
    	Status         string
    	Tier           string
    	ETag           string
    	RestoreRequest *RestoreObjectRequest
    	RestoreExpiry  time.Time
    	ExpireRestored bool
    }
    
    // MakeBucketOptions represents bucket options for ObjectLayer bucket operations
    type MakeBucketOptions struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    }
    
    // RestoreObjectRequest - xml to restore a transitioned object
    type RestoreObjectRequest struct {
    	XMLName          xml.Name           `xml:"http://s3.amazonaws.com/doc/2006-03-01/ RestoreRequest" json:"-"`
    	Days             int                `xml:"Days,omitempty"`
    	Type             RestoreRequestType `xml:"Type,omitempty"`
    	Tier             string             `xml:"Tier"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. cmd/object-api-utils.go

    	if err != nil {
    		return nil, 0, 0, err
    	}
    
    	// if object is encrypted and it is a restore request or if NoDecryption
    	// was requested, fetch content without decrypting.
    	if opts.Transition.RestoreRequest != nil || opts.NoDecryption {
    		isEncrypted = false
    		isCompressed = false
    	}
    
    	// Calculate range to read (different for encrypted/compressed objects)
    	switch {
    	case isCompressed:
    		var firstPart int
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		return setRestoreHeaderFn(oi, toObjectErr(err, bucket, object))
    	}
    
    	oi = actualfi.ToObjectInfo(bucket, object, opts.Versioned || opts.VersionSuspended)
    	ropts := putRestoreOpts(bucket, object, opts.Transition.RestoreRequest, oi)
    	if len(oi.Parts) == 1 {
    		var rs *HTTPRangeSpec
    		gr, err := getTransitionedObjectReader(ctx, bucket, object, rs, http.Header{}, oi, opts)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    			rw.LogAllBody = true
    			rreq.SelectParameters.Evaluate(rw)
    			rreq.SelectParameters.Close()
    			return
    		}
    		opts := ObjectOptions{
    			Transition: TransitionOptions{
    				RestoreRequest: rreq,
    				RestoreExpiry:  restoreExpiry,
    			},
    			VersionID: objInfo.VersionID,
    		}
    		if err := objectAPI.RestoreTransitionedObject(rctx, bucket, object, opts); err != nil {
    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