Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetEvalRetentionBypassFn (0.13 sec)

  1. cmd/object-api-interface.go

    }
    
    // SetEvalMetadataFn sets the metadata evaluation function
    func (o *ObjectOptions) SetEvalMetadataFn(f EvalMetadataFn) {
    	o.EvalMetadataFn = f
    }
    
    // SetEvalRetentionBypassFn sets the retention bypass function
    func (o *ObjectOptions) SetEvalRetentionBypassFn(f EvalRetentionBypassFn) {
    	o.EvalRetentionBypassFn = f
    }
    
    // ObjectLayer implements primitives for object API layer.
    type ObjectLayer interface {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		if opts.VersionPurgeStatus().Empty() {
    			// opts.VersionID holds delete marker version ID to replicate and not yet present on disk
    			vID = ""
    		}
    	}
    	opts.SetEvalRetentionBypassFn(func(goi ObjectInfo, gerr error) (err error) {
    		err = nil
    		if vID != "" {
    			err := enforceRetentionBypassForDelete(ctx, r, bucket, ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: object,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top