Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isMinioMetaBucket (0.08 sec)

  1. cmd/peer-rest-server.go

    	peersLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    }
    
    func (s *peerRESTServer) HealBucketHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	bucket := mss.Get(peerS3Bucket)
    	if isMinioMetaBucket(bucket) {
    		return np, grid.NewRemoteErr(errInvalidArgument)
    	}
    
    	bucketDeleted := mss.Get(peerS3BucketDeleted) == "true"
    	_, err := healBucketLocal(context.Background(), bucket, madmin.HealOpts{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    		}
    	} else {
    		if err := s3utils.CheckValidBucketName(bucketEntry); err != nil {
    			return true
    		}
    	}
    	return isMinioMetaBucket(bucketEntry) || isMinioReservedBucket(bucketEntry)
    }
    
    // Returns true if input bucket is a reserved minio meta bucket '.minio.sys'.
    func isMinioMetaBucket(bucketName string) bool {
    	return bucketName == minioMetaBucket
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    			return
    		}
    		// For all other requests reject access to reserved buckets
    		bucketName, _ := request2BucketObjectName(r)
    		if isMinioReservedBucket(bucketName) || isMinioMetaBucket(bucketName) {
    			if !guessIsRPCReq(r) && !guessIsBrowserReq(r) && !guessIsHealthCheckReq(r) && !guessIsMetricsReq(r) && !isAdminReq(r) && !isKMSReq(r) {
    				if ok {
    					tc.FuncName = "handler.ValidRequest"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
Back to top