Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for userDefined (0.09 sec)

  1. cmd/object-api-datatypes.go

    		ReplicationStatusInternal:  o.ReplicationStatusInternal,
    		VersionPurgeStatusInternal: o.VersionPurgeStatusInternal,
    	}
    	cinfo.UserDefined = make(map[string]string, len(o.UserDefined))
    	for k, v := range o.UserDefined {
    		cinfo.UserDefined[k] = v
    	}
    	return cinfo
    }
    
    func (o ObjectInfo) tierStats() tierStats {
    	ts := tierStats{
    		TotalSize:   uint64(o.Size),
    		NumVersions: 1,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. 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)
  3. cmd/bucket-object-lock.go

    	if objInfo.DeleteMarker {
    		return false
    	}
    
    	lhold := objectlock.GetObjectLegalHoldMeta(objInfo.UserDefined)
    	if lhold.Status.Valid() && lhold.Status == objectlock.LegalHoldOn {
    		return true
    	}
    
    	ret := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    	if ret.Mode.Valid() && (ret.Mode == objectlock.RetCompliance || ret.Mode == objectlock.RetGovernance) {
    		t, err := objectlock.UTCNowNTP()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. cmd/post-policy-fan-out.go

    					errs[idx] = err
    				}
    			}()
    
    			userDefined := make(map[string]string, len(req.UserMetadata))
    			for k, v := range req.UserMetadata {
    				userDefined[k] = v
    			}
    			userDefined[xhttp.AmzObjectTagging] = s3utils.TagEncode(req.UserTags)
    
    			if opts.Kind != nil {
    				encrd, objectEncryptionKey, err := newEncryptReader(ctx, hr, opts.Kind, opts.KeyID, opts.Key, bucket, req.Key, userDefined, opts.KmsCtx)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes_gen.go

    					return
    				}
    			}
    		case "UserDefined":
    			var zb0003 uint32
    			zb0003, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "UserDefined")
    				return
    			}
    			if z.UserDefined == nil {
    				z.UserDefined = make(map[string]string, zb0003)
    			} else if len(z.UserDefined) > 0 {
    				for key := range z.UserDefined {
    					delete(z.UserDefined, key)
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  6. cmd/event-notification.go

    		newEvent.S3.Object.Size = args.Object.Size
    		newEvent.S3.Object.ContentType = args.Object.ContentType
    		newEvent.S3.Object.UserMetadata = make(map[string]string, len(args.Object.UserDefined))
    		for k, v := range args.Object.UserDefined {
    			if stringsHasPrefixFold(strings.ToLower(k), ReservedMetadataPrefixLower) {
    				continue
    			}
    			newEvent.S3.Object.UserMetadata[k] = v
    		}
    	}
    
    	return newEvent
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top