Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for UserDefined (0.12 sec)

  1. cmd/erasure-multipart.go

    			return nil, err
    		}
    	}
    
    	userDefined := cloneMSS(opts.UserDefined)
    	if opts.PreserveETag != "" {
    		userDefined["etag"] = opts.PreserveETag
    	}
    	onlineDisks := er.getDisks()
    
    	// Get parity and data drive count based on storage class metadata
    	parityDrives := globalStorageClass.GetParityForSC(userDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  2. cmd/object-multipart-handlers.go

    	_, isEncrypted := crypto.IsEncrypted(mi.UserDefined)
    	_, replicationStatus := mi.UserDefined[xhttp.AmzBucketReplicationStatus]
    	_, sourceReplReq := r.Header[xhttp.MinIOSourceReplicationRequest]
    	var objectEncryptionKey crypto.ObjectKey
    	if isEncrypted {
    		if !crypto.SSEC.IsRequested(r.Header) && crypto.SSEC.IsEncrypted(mi.UserDefined) && !replicationStatus {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. cmd/batch-rotate.go

    	srcBucket := r.Bucket
    	srcObject := objInfo.Name
    
    	if objInfo.DeleteMarker || !objInfo.VersionPurgeStatus.Empty() {
    		return nil
    	}
    	sseKMS := crypto.S3KMS.IsEncrypted(objInfo.UserDefined)
    	sseS3 := crypto.S3.IsEncrypted(objInfo.UserDefined)
    	if !sseKMS && !sseS3 { // neither sse-s3 nor sse-kms disallowed
    		return errInvalidEncryptionParameters
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/object-api-options.go

    			return ObjectOptions{}, err
    		}
    		return ObjectOptions{
    			ServerSideEncryption: sseKms,
    			UserDefined:          metadata,
    			MTime:                mtime,
    			WantChecksum:         wantCRC,
    			PreserveETag:         etag,
    		}, nil
    	}
    	// default case of passing encryption headers and UserDefined metadata to backend
    	opts, err = getDefaultOpts(hdr, false, metadata)
    	if err != nil {
    		return opts, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. cmd/object-api-utils_test.go

    	}{
    		0: {
    			objInfo: ObjectInfo{
    				UserDefined: map[string]string{
    					"X-Minio-Internal-compression": compressionAlgorithmV1,
    					"content-type":                 "application/octet-stream",
    					"etag":                         "b3ff3ef3789147152fbfbc50efba4bfd-2",
    				},
    			},
    			result: true,
    		},
    		1: {
    			objInfo: ObjectInfo{
    				UserDefined: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  6. cmd/bucket-replication-utils.go

    			oi.VersionPurgeStatusInternal = fmt.Sprintf("%s=%s;", rcfg.Config.RoleArn, oi.VersionPurgeStatus)
    		}
    		for k, v := range userDefined {
    			if strings.EqualFold(k, ReservedMetadataPrefixLower+ReplicationReset) {
    				delete(userDefined, k)
    				userDefined[targetResetHeader(rcfg.Config.RoleArn)] = v
    			}
    		}
    	}
    
    	var dsc ReplicateDecision
    	if oi.DeleteMarker || !oi.VersionPurgeStatus.Empty() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. cmd/s3-zip-handlers.go

    		zipInfoStr = string(opts.EncryptFn(archiveTypeEnc, zipInfo))
    	}
    	srcInfo.UserDefined[archiveTypeMetadataKey] = at
    	popts := ObjectOptions{
    		MTime:     srcInfo.ModTime,
    		VersionID: srcInfo.VersionID,
    		EvalMetadataFn: func(oi *ObjectInfo, gerr error) (dsc ReplicateDecision, err error) {
    			oi.UserDefined[archiveTypeMetadataKey] = at
    			oi.UserDefined[archiveInfoMetadataKey] = zipInfoStr
    			return dsc, nil
    		},
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/api-headers.go

    				w.Header()[xhttp.AmzObjectTagging] = []string{objInfo.UserTags}
    			}
    		}
    	}
    
    	// Set all other user defined metadata.
    	for k, v := range objInfo.UserDefined {
    		// Empty values for object lock and retention can be skipped.
    		if v == "" && equals(k, xhttp.AmzObjectLockMode, xhttp.AmzObjectLockRetainUntilDate) {
    			continue
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top