Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for UserDefined (0.12 sec)

  1. cmd/encryption-v1.go

    		for i, object := range batch {
    			if kind, ok := crypto.IsEncrypted(object.UserDefined); ok && kind == crypto.S3 && !crypto.IsMultiPart(object.UserDefined) {
    				ETag, err := etag.Parse(object.ETag)
    				if err != nil {
    					continue
    				}
    				if ETag.IsEncrypted() {
    					SSES3SinglePartObjects[i] = true
    					metadata = append(metadata, object.UserDefined)
    					buckets = append(buckets, object.Bucket)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:06:08 UTC 2024
    - 37.2K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    				if err != nil || (err == nil && !ondiskTimestamp.After(srcTimestamp)) {
    					srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = srcTimestamp.UTC().Format(time.RFC3339Nano)
    					srcInfo.UserDefined[xhttp.AmzObjectTagging] = objTags
    				}
    			}
    		} else {
    			srcInfo.UserDefined[xhttp.AmzObjectTagging] = objTags
    			srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = UTCNow().Format(time.RFC3339Nano)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	if userDefined["content-type"] == "" {
    		userDefined["content-type"] = mimedb.TypeByExtension(path.Ext(object))
    	}
    
    	// if storageClass is standard no need to save it as part of metadata.
    	if userDefined[xhttp.AmzStorageClass] == storageclass.STANDARD {
    		delete(userDefined, xhttp.AmzStorageClass)
    	}
    
    	// Fill all the necessary metadata.
    	// Update `xl.meta` content on each disks.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    			ReplicationStatus:         replication.StatusType(objInfo.ReplicationStatus),
    		}
    		oi.UserDefined = make(map[string]string, len(objInfo.Metadata))
    		for k, v := range objInfo.Metadata {
    			oi.UserDefined[k] = v[0]
    		}
    		ce, ok := oi.UserDefined[xhttp.ContentEncoding]
    		if !ok {
    			ce, ok = oi.UserDefined[strings.ToLower(xhttp.ContentEncoding)]
    		}
    		if ok {
    			oi.ContentEncoding = ce
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	}
    
    	oi.UserDefined = make(map[string]string, len(objInfo.Metadata))
    	for k, v := range objInfo.Metadata {
    		oi.UserDefined[k] = v[0]
    	}
    
    	ce, ok := oi.UserDefined[xhttp.ContentEncoding]
    	if !ok {
    		ce, ok = oi.UserDefined[strings.ToLower(xhttp.ContentEncoding)]
    	}
    	if ok {
    		oi.ContentEncoding = ce
    	}
    
    	_, ok = oi.UserDefined[xhttp.AmzStorageClass]
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. cmd/api-response.go

    		}
    		if tagErr == ErrNone {
    			content.UserTags = object.UserTags
    		}
    		if metaErr == ErrNone {
    			content.UserMetadata = &Metadata{}
    			switch kind, _ := crypto.IsEncrypted(object.UserDefined); kind {
    			case crypto.S3:
    				content.UserMetadata.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    			case crypto.S3KMS:
    				content.UserMetadata.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    		return ObjectOptions{
    			Versioned:        globalBucketVersioningSys.PrefixEnabled(bucket, object),
    			VersionSuspended: globalBucketVersioningSys.PrefixSuspended(bucket, object),
    			UserDefined:      meta,
    		}
    	}
    	for k, v := range objInfo.UserDefined {
    		meta[k] = v
    	}
    	if len(objInfo.UserTags) != 0 {
    		meta[xhttp.AmzObjectTagging] = objInfo.UserTags
    	}
    	// Set restore object status
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  8. cmd/erasure-metadata.go

    	// etag/md5Sum has already been extracted. We need to
    	// remove to avoid it from appearing as part of
    	// response headers. e.g, X-Minio-* or X-Amz-*.
    	// Tags have also been extracted, we remove that as well.
    	objInfo.UserDefined = cleanMetadata(fi.Metadata)
    
    	// All the parts per object.
    	objInfo.Parts = fi.Parts
    
    	// Update storage class
    	if fi.TransitionTier != "" {
    		objInfo.StorageClass = fi.TransitionTier
    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