Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for EvalMetadataFn (0.07 sec)

  1. cmd/erasure-object.go

    		if opts.DeleteMarker {
    			versionFound = false
    		} else if !tryDel {
    			return objInfo, gerr
    		}
    	}
    
    	if opts.EvalMetadataFn != nil {
    		dsc, err := opts.EvalMetadataFn(&goi, gerr)
    		if err != nil {
    			return ObjectInfo{}, err
    		}
    		if dsc.ReplicateAny() {
    			opts.SetDeleteReplicationState(dsc, opts.VersionID)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	popts := ObjectOptions{
    		MTime:     opts.MTime,
    		VersionID: opts.VersionID,
    		EvalMetadataFn: func(oi *ObjectInfo, gerr error) (ReplicateDecision, error) {
    			oi.UserDefined[strings.ToLower(xhttp.AmzObjectLockLegalHold)] = strings.ToUpper(string(legalHold.Status))
    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/bucket-replication.go

    	objInfo := ri.ToObjectInfo()
    	if ri.ReplicationStatusInternal != newReplStatusInternal || rinfos.ReplicationResynced() {
    		popts := ObjectOptions{
    			MTime:     ri.ModTime,
    			VersionID: ri.VersionID,
    			EvalMetadataFn: func(oi *ObjectInfo, gerr error) (dsc ReplicateDecision, err error) {
    				oi.UserDefined[ReservedMetadataPrefixLower+ReplicationStatus] = newReplStatusInternal
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top