Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 25 of 25 for ReqInfo (0.1 sec)

  1. cmd/api-errors.go

    func getAPIErrorResponse(ctx context.Context, err APIError, resource, requestID, hostID string) APIErrorResponse {
    	reqInfo := logger.GetReqInfo(ctx)
    	return APIErrorResponse{
    		Code:             err.Code,
    		Message:          err.Description,
    		BucketName:       reqInfo.BucketName,
    		Key:              reqInfo.ObjectName,
    		Resource:         resource,
    		Region:           globalSite.Region(),
    		RequestID:        requestID,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  2. cmd/erasure-server-pool-rebalance.go

    }
    
    // rebalanceBucket rebalances objects under bucket in poolIdx pool
    func (z *erasureServerPools) rebalanceBucket(ctx context.Context, bucket string, poolIdx int) (err error) {
    	ctx = logger.SetReqInfo(ctx, &logger.ReqInfo{})
    
    	var vc *versioning.Versioning
    	var lc *lifecycle.Lifecycle
    	var lr objectlock.Retention
    	var rcfg *replication.Config
    	if bucket != minioMetaBucket {
    		vc, err = globalBucketVersioningSys.Get(bucket)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    			w.Header()[xhttp.AmzDeleteMarker] = []string{strconv.FormatBool(gr.ObjInfo.DeleteMarker)}
    		}
    
    		// Update context bucket & object names for correct S3 XML error response
    		reqInfo := logger.GetReqInfo(ctx)
    		reqInfo.BucketName = srcBucket
    		reqInfo.ObjectName = srcObject
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	defer gr.Close()
    	srcInfo := gr.ObjInfo
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	// Check latency...
    	if opts.Threshold > 0 && trcInfo.Duration < opts.Threshold {
    		return false
    	}
    
    	// Check internal path
    	isInternal := isHTTP && HasPrefix(trcInfo.HTTP.ReqInfo.Path, minioReservedBucketPath+SlashSeparator)
    	if isInternal && !opts.Internal {
    		return false
    	}
    
    	// Filter non-errors.
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    		objects[i] = deleteObjectsReq.Objects[i].ObjectV
    	}
    
    	// Make sure to update context to print ObjectNames for multi objects.
    	ctx = updateReqContext(ctx, objects...)
    
    	// Call checkRequestAuthType to populate ReqInfo.AccessKey before GetBucketInfo()
    	// Ignore errors here to preserve the S3 error behavior of GetBucketInfo()
    	checkRequestAuthType(ctx, r, policy.DeleteObjectAction, bucket, "")
    
    	deleteObjectsFn := objectAPI.DeleteObjects
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top