Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getObjectInfoFn (0.36 sec)

  1. cmd/bucket-object-lock.go

    // Both legal hold and retention can be applied independently on an object
    func checkPutObjectLockAllowed(ctx context.Context, rq *http.Request, bucket, object string, getObjectInfoFn GetObjectInfoFn, retentionPermErr, legalHoldPermErr APIErrorCode) (objectlock.RetMode, objectlock.RetentionDate, objectlock.ObjectLegalHold, APIErrorCode) {
    	var mode objectlock.RetMode
    	var retainDate objectlock.RetentionDate
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    // EvalRetentionBypassFn validates input objInfo and GetObjectInfo error and returns an error if retention bypass is not allowed.
    type EvalRetentionBypassFn func(o ObjectInfo, gerr error) error
    
    // GetObjectInfoFn is the signature of GetObjectInfo function.
    type GetObjectInfoFn func(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error)
    
    // WalkVersionsSortOrder represents the sort order in which versions of an
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/bucket-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrMalformedXML), r.URL)
    		return
    	}
    
    	objectsToDelete := map[ObjectToDelete]int{}
    	getObjectInfoFn := objectAPI.GetObjectInfo
    
    	var (
    		hasLockEnabled bool
    		dsc            ReplicateDecision
    		goi            ObjectInfo
    		gerr           error
    	)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top