Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for objInfos (0.11 sec)

  1. cmd/post-policy-fan-out.go

    	errs := make([]error, len(fanOutEntries))
    	objInfos := make([]ObjectInfo, len(fanOutEntries))
    
    	var wg sync.WaitGroup
    	for i, req := range fanOutEntries {
    		wg.Add(1)
    		go func(idx int, req minio.PutObjectFanOutEntry) {
    			defer wg.Done()
    
    			objInfos[idx] = ObjectInfo{Name: req.Key}
    
    			hopts := hash.Options{
    				Size:       int64(len(fanOutBuf)),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    	objInfos, err := i.applyNewerNoncurrentVersionLimit(ctx, o, fivs, expState)
    	if err != nil {
    		return nil, err
    	}
    
    	// Check if we have many versions after applyNewerNoncurrentVersionLimit.
    	if len(objInfos) >= int(scannerExcessObjectVersions.Load()) {
    		// Notify object accessed via a GET request.
    		sendEvent(eventArgs{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    					Key:          objInfo.Name,
    					ETag:         getDecryptedETag(formValues, objInfo, false),
    					VersionID:    objInfo.VersionID,
    					LastModified: &objInfo.ModTime,
    				})
    
    				eventArgsList = append(eventArgsList, eventArgs{
    					EventName:    event.ObjectCreatedPost,
    					BucketName:   objInfo.Bucket,
    					Object:       objInfo,
    					ReqParams:    extractReqParams(r),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	}
    
    	for _, pool := range z.serverPools {
    		objInfo, err := pool.DeleteObject(ctx, bucket, object, opts)
    		if err != nil && !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    			objInfo.Name = decodeDirObject(object)
    			return objInfo, err
    		}
    		if err == nil {
    			objInfo.Name = decodeDirObject(object)
    			return objInfo, nil
    		}
    	}
    
    	objInfo.Name = decodeDirObject(object)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    		done := globalScannerMetrics.time(scannerMetricApplyAll)
    		objInfos, err := item.applyVersionActions(ctx, objAPI, fivs.Versions, globalExpiryState)
    		done()
    
    		if err != nil {
    			res["err"] = err.Error()
    			return sizeSummary{}, errSkipFile
    		}
    
    		versioned := vcfg != nil && vcfg.Versioned(item.objectPath())
    
    		var objDeleted bool
    		for _, oi := range objInfos {
    			done = globalScannerMetrics.time(scannerMetricApplyVersion)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  6. cmd/object-handlers-common.go

    	if objInfo.VersionID != "" && objInfo.VersionID != nullVersionID {
    		w.Header()[xhttp.AmzVersionID] = []string{objInfo.VersionID}
    		// If version is a deleted marker, set this header as well
    		if objInfo.DeleteMarker && delete { // only returned during delete object
    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(objInfo.DeleteMarker)}
    		}
    	}
    
    	if objInfo.Bucket != "" && objInfo.Name != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. cmd/api-headers.go

    	// Set last modified time.
    	lastModified := objInfo.ModTime.UTC().Format(http.TimeFormat)
    	w.Header().Set(xhttp.LastModified, lastModified)
    
    	// Set Etag if available.
    	if objInfo.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    	}
    
    	if objInfo.ContentType != "" {
    		w.Header().Set(xhttp.ContentType, objInfo.ContentType)
    	}
    
    	if objInfo.ContentEncoding != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. cmd/object-handlers-common_test.go

    			ifNoneMatch:     "aa",
    			ifModifiedSince: "Sun, 26 Aug 2024 02:01:00 GMT",
    			objInfo:         objInfo,
    			expectedFlag:    true,
    			expectedCode:    304,
    		},
    		// If-Modified-Since(false)
    		{
    			name:            "If-None-Match2",
    			ifNoneMatch:     "aaa",
    			ifModifiedSince: "Sun, 26 Aug 2024 02:01:01 GMT",
    			objInfo:         objInfo,
    			expectedFlag:    true,
    			expectedCode:    304,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    			w.Header().Set(xhttp.AmzServerSideEncryptionKmsID, objInfo.KMSKeyID())
    			if kmsCtx, ok := objInfo.UserDefined[crypto.MetaContext]; ok {
    				w.Header().Set(xhttp.AmzServerSideEncryptionKmsContext, kmsCtx)
    			}
    			if len(objInfo.ETag) >= 32 && strings.Count(objInfo.ETag, "-") != 1 {
    				objInfo.ETag = objInfo.ETag[len(objInfo.ETag)-32:]
    			}
    		case crypto.SSEC:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  10. cmd/erasure-metadata.go

    	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)
Back to top