Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for VersionId (0.06 sec)

  1. cmd/api-headers.go

    		w.Header().Set(xhttp.ContentRange, contentRange)
    	}
    
    	// Set the relevant version ID as part of the response header.
    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    	}
    
    	if objInfo.ReplicationStatus.String() != "" {
    		w.Header()[xhttp.AmzBucketReplicationStatus] = []string{objInfo.ReplicationStatus.String()}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes_gen.go

    			z.ModTime, bts, err = msgp.ReadTimeBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ModTime")
    				return
    			}
    		case "VersionID":
    			z.VersionID, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "VersionID")
    				return
    			}
    		case "IsLatest":
    			z.IsLatest, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "IsLatest")
    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. cmd/xl-storage-format_test.go

    		b.Run(fmt.Sprint(size, "-versions"), func(b *testing.B) {
    			var xl xlMetaV2
    			ids := make([]string, size)
    			for i := 0; i < size; i++ {
    				fi.VersionID = mustGetUUID()
    				fi.DataDir = mustGetUUID()
    				ids[i] = fi.VersionID
    				fi.ModTime = fi.ModTime.Add(-time.Second)
    				xl.AddVersion(fi)
    			}
    			// Encode all. This is used for benchmarking.
    			enc, err := xl.AppendTo(nil)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  4. cmd/xl-storage.go

    				continue
    			}
    			return err
    		}
    		if dataDir != "" {
    			versionID := fi.VersionID
    			if versionID == "" {
    				versionID = nullVersionID
    			}
    
    			// PR #11758 used DataDir, preserve it
    			// for users who might have used master
    			// branch
    			xlMeta.data.remove(versionID, dataDir)
    
    			// We need to attempt delete "dataDir" on the disk
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    type ObjectOptions struct {
    	ServerSideEncryption encrypt.ServerSide
    	VersionSuspended     bool      // indicates if the bucket was previously versioned but is currently suspended.
    	Versioned            bool      // indicates if the bucket is versioned
    	VersionID            string    // Specifies the versionID which needs to be overwritten or read
    	MTime                time.Time // Is only set in POST/PUT operations
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    func (e InvalidVersionID) Error() string {
    	return "Invalid version id: " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    // VersionNotFound version does not exist.
    type VersionNotFound GenericError
    
    func (e VersionNotFound) Error() string {
    	return "Version not found: " + e.Bucket + "/" + e.Object + "(" + e.VersionID + ")"
    }
    
    // ObjectNotFound object does not exist.
    type ObjectNotFound GenericError
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. cmd/bucket-policy.go

    		}
    		if username == globalActiveCred.AccessKey {
    			principalType = "Account"
    		}
    	}
    
    	vid := r.Form.Get(xhttp.VersionID)
    	if vid == "" {
    		if u, err := url.Parse(r.Header.Get(xhttp.AmzCopySource)); err == nil {
    			vid = u.Query().Get(xhttp.VersionID)
    		}
    	}
    
    	authType := getRequestAuthType(r)
    	var signatureVersion string
    	switch authType {
    	case authTypeSignedV2, authTypePresignedV2:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    	// usage in other calls in undefined please avoid.
    	Idx int `msg:"i"`
    
    	// Combined checksum when object was uploaded.
    	Checksum []byte `msg:"cs,allownil"`
    
    	// Versioned - indicates if this file is versioned or not.
    	Versioned bool `msg:"vs"`
    }
    
    func (fi FileInfo) shardSize() int64 {
    	return ceilFrac(fi.Erasure.BlockSize, int64(fi.Erasure.DataBlocks))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. cmd/background-heal-ops.go

    //
    //	path: '/' =>  Heal disk formats along with metadata
    //	path: 'bucket/' or '/bucket/' => Heal bucket
    //	path: 'bucket/object' => Heal object
    type healTask struct {
    	bucket    string
    	object    string
    	versionID string
    	opts      madmin.HealOpts
    	// Healing response will be sent here
    	respCh chan healResult
    }
    
    // healResult represents a healing result with a possible error
    type healResult struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  10. internal/logger/audit.go

    		for _, ov := range reqInfo.Objects {
    			entry.API.Objects = append(entry.API.Objects, audit.ObjectVersion{
    				ObjectName: ov.ObjectName,
    				VersionID:  ov.VersionID,
    			})
    		}
    		entry.API.Status = http.StatusText(statusCode)
    		entry.API.StatusCode = statusCode
    		entry.API.InputBytes = r.ContentLength
    		entry.API.OutputBytes = outputBytes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top