Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for filterStorageClass (0.14 sec)

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