Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 63 for bucketnames (0.04 sec)

  1. cmd/object_api_suite_test.go

    }
    
    // Tests validate that GetObject on an existing directory fails as expected.
    func testGetDirectoryReturnsObjectNotFound(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	bucketName := "bucket"
    	err := obj.MakeBucket(context.Background(), bucketName, MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("%s: <ERROR> %s", instanceType, err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  2. cmd/bucket-quota.go

    type BucketQuotaSys struct{}
    
    // Get - Get quota configuration.
    func (sys *BucketQuotaSys) Get(ctx context.Context, bucketName string) (*madmin.BucketQuota, error) {
    	cfg, _, err := globalBucketMetadataSys.GetQuotaConfig(ctx, bucketName)
    	return cfg, err
    }
    
    // NewBucketQuotaSys returns initialized BucketQuotaSys
    func NewBucketQuotaSys() *BucketQuotaSys {
    	return &BucketQuotaSys{}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 06 23:48:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. docs/multi-user/README.md

    Create new canned policy file `getonly.json`. This policy enables users to download all objects under `my-bucketname`.
    
    ```json
    cat > getonly.json << EOF
    {
      "Version": "2012-10-17",
      "Statement": [
    	{
    	  "Action": [
    		"s3:GetObject"
    	  ],
    	  "Effect": "Allow",
    	  "Resource": [
    		"arn:aws:s3:::my-bucketname/*"
    	  ],
    	  "Sid": ""
    	}
      ]
    }
    EOF
    ```
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  4. cmd/object-lambda-handlers_test.go

    }
    
    func runObjectLambdaTest(t *testing.T, lambdaStatus int, lambdaBody, contentType string, expectStatus int) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{
    		t: t,
    		objAPITest: func(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler, credentials auth.Credentials, t *testing.T) {
    			objectName := "dummy-object"
    			functionID := "lambda1"
    			functionToken := "token123"
    
    			// Lambda mock server
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    			atomic.AddUint64(&globalHTTPStats.rejectedRequestsInvalid, 1)
    			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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  6. cmd/kms-handlers.go

    		Groups:          cred.Groups,
    		Action:          policy.Action(action),
    		ConditionValues: getConditionValues(r, "", cred),
    		IsOwner:         owner,
    		Claims:          cred.Claims,
    		BucketName:      resource, // overloading BucketName as that's what the policy engine uses to assemble a Resource.
    	})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    // LifecycleSys - Bucket lifecycle subsystem.
    type LifecycleSys struct{}
    
    // Get - gets lifecycle config associated to a given bucket name.
    func (sys *LifecycleSys) Get(bucketName string) (lc *lifecycle.Lifecycle, err error) {
    	lc, _, err = globalBucketMetadataSys.GetLifecycleConfig(bucketName)
    	return lc, err
    }
    
    // NewLifecycleSys - creates new lifecycle system.
    func NewLifecycleSys() *LifecycleSys {
    	return &LifecycleSys{}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    			Action:          policy.PutObjectAction,
    			BucketName:      bucketName,
    			ConditionValues: getConditionValues(r, "", cred),
    			IsOwner:         owner,
    			ObjectName:      "",
    			Claims:          cred.Claims,
    		}) {
    			wr = true
    		}
    
    		return rd, wr
    	}
    	return isAllowedAccess(bucketName)
    }
    
    // ObjectSpeedTestHandler - reports maximum speed of a cluster by performing PUT and
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  9. docs/sts/client-grants.go

    		log.Fatal(err)
    	}
    
    	clnt, err := minio.New(u.Host, opts)
    	if err != nil {
    		log.Fatal(err)
    	}
    
    	d := bytes.NewReader([]byte("Hello, World"))
    	n, err := clnt.PutObject(context.Background(), "my-bucketname", "my-objectname", d, d.Size(), minio.PutObjectOptions{})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	log.Println("Uploaded", "my-objectname", " of size: ", n, "Successfully.")
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  10. cmd/perf-tests.go

    			for {
    				t := time.Now()
    				reader := newRandomReader(opts.objectSize)
    				tmpObjName := pathJoin(objNamePrefix, fmt.Sprintf("%d/%d", i, objCountPerThread[i]))
    				info, err := clnt.PutObject(uploadsCtx, opts.bucketName, tmpObjName, reader, int64(opts.objectSize), popts)
    				if err != nil {
    					if !contextCanceled(uploadsCtx) && !errors.Is(err, context.Canceled) {
    						errOnce.Do(func() {
    							retError = err.Error()
    						})
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
Back to top