Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for filterStorageClass (0.1 sec)

  1. cmd/api-headers.go

    		// https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
    		w.Header()[xhttp.AmzStorageClass] = []string{filterStorageClass(ctx, objInfo.TransitionedObject.Tier)}
    	}
    
    	if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil {
    		lc.SetPredictionHeaders(w, objInfo.ToLifecycleOpts())
    	}
    
    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/api-response.go

    		if object.ETag != "" {
    			content.ETag = "\"" + object.ETag + "\""
    		}
    		content.Size = object.Size
    		if object.StorageClass != "" {
    			content.StorageClass = filterStorageClass(ctx, object.StorageClass)
    		} else {
    			content.StorageClass = globalMinioDefaultStorageClass
    		}
    		if tagErr == ErrNone {
    			content.UserTags = object.UserTags
    		}
    		if metaErr == ErrNone {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. cmd/utils.go

    		return ctx.Err()
    	case <-time.After(d):
    	}
    	return nil
    }
    
    // helper type to return either item or error.
    type itemOrErr[V any] struct {
    	Item V
    	Err  error
    }
    
    func filterStorageClass(ctx context.Context, s string) string {
    	// Veeam 14.0 and later clients are not compatible with custom storage classes.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  4. cmd/object-handlers.go

    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectSize]; ok {
    		OA.ObjectSize, _ = objInfo.GetActualSize()
    	}
    
    	if _, ok := opts.ObjectAttributes[xhttp.StorageClass]; ok {
    		OA.StorageClass = filterStorageClass(ctx, objInfo.StorageClass)
    	}
    
    	objInfo.decryptPartsChecksums(r.Header)
    
    	if _, ok := opts.ObjectAttributes[xhttp.ObjectParts]; ok {
    		OA.ObjectParts = new(objectAttributesParts)
    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