Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 405 for mybucket (0.09 sec)

  1. cmd/policy_test.go

    		Action:          policy.GetBucketLocationAction,
    		BucketName:      "mybucket",
    		ConditionValues: map[string][]string{},
    	}
    
    	anonPutObjectActionArgs := policy.BucketPolicyArgs{
    		AccountName: "Q3AM3UQ867SPQQA43P2F",
    		Action:      policy.PutObjectAction,
    		BucketName:  "mybucket",
    		ConditionValues: map[string][]string{
    			"x-amz-copy-source": {"mybucket/myobject"},
    			"SourceIp":          {"192.168.1.10"},
    		},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. docs/multi-user/README.md

      "Statement": [
    	{
    	  "Action": ["s3:ListBucket"],
    	  "Effect": "Allow",
    	  "Resource": ["arn:aws:s3:::mybucket"],
    	  "Condition": {"StringLike": {"s3:prefix": ["${aws:username}/*"]}}
    	},
    	{
    	  "Action": [
    		"s3:GetObject",
    		"s3:PutObject"
    	  ],
    	  "Effect": "Allow",
    	  "Resource": ["arn:aws:s3:::mybucket/${aws:username}/*"]
    	}
      ]
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 8K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    //
    // Per-bucket metrics endpoints always start with /bucket and the bucket name is
    // appended to the path. e.g. if the collector path is /bucket/api, the endpoint
    // for the bucket "mybucket" would be /minio/metrics/v3/bucket/api/mybucket
    const (
    	apiRequestsCollectorPath collectorPath = "/api/requests"
    
    	bucketAPICollectorPath         collectorPath = "/bucket/api"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create file %v. %v", slashpath.Join(permDeniedDir, "mybucket", "myobject"), err)
    	}
    
    	if err = os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o400); err != nil {
    		t.Fatalf("Unable to change permission to temporary directory %v. %v", slashpath.Join(permDeniedDir, "mybucket"), err)
    	}
    	t.Cleanup(func() {
    		os.Chmod(slashpath.Join(permDeniedDir, "mybucket"), 0o775)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. cmd/batch-expire_test.go

    import (
    	"slices"
    	"testing"
    
    	"gopkg.in/yaml.v3"
    )
    
    func TestParseBatchJobExpire(t *testing.T) {
    	expireYaml := `
    expire: # Expire objects that match a condition
      apiVersion: v1
      bucket: mybucket # Bucket where this batch job will expire matching objects from
      prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
      rules:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/erasure-healing-common_test.go

    				// Some disks don't have xl.meta.
    				errDiskNotFound, errFileNotFound, errFileNotFound,
    			},
    			_tamperBackend: corruptPart,
    		},
    	}
    
    	bucket := "bucket"
    	err = obj.MakeBucket(ctx, "bucket", MakeBucketOptions{})
    	if err != nil {
    		t.Fatalf("Failed to make a bucket %v", err)
    	}
    
    	object := "object"
    	data := bytes.Repeat([]byte("a"), smallFileThreshold*32)
    	z := obj.(*erasureServerPools)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    	testCases := []struct {
    		bucket string
    		result bool
    	}{
    		// MinIO meta bucket.
    		{
    			bucket: minioMetaBucket,
    			result: true,
    		},
    		// MinIO meta bucket.
    		{
    			bucket: minioMetaMultipartBucket,
    			result: true,
    		},
    		// MinIO meta bucket.
    		{
    			bucket: minioMetaTmpBucket,
    			result: true,
    		},
    		// Normal bucket
    		{
    			bucket: "mybucket",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    //     - type: object  # regular objects with zero or more older versions
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. cmd/sts-handlers_test.go

    func (s *TestSuiteIAM) TestSTSServiceAccountsWithUsername(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second)
    	defer cancel()
    
    	bucket := "dillon-bucket"
    	err := s.client.MakeBucket(ctx, bucket, minio.MakeBucketOptions{})
    	if err != nil {
    		c.Fatalf("bucket create error: %v", err)
    	}
    
    	// Create policy
    	policy := "mypolicy-username"
    	policyBytes := []byte(`{
     "Version": "2012-10-17",
     "Statement": [
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    }
    
    // RemoveTarget - removes a remote bucket target for this source bucket.
    func (sys *BucketTargetSys) RemoveTarget(ctx context.Context, bucket, arnStr string) error {
    	if arnStr == "" {
    		return BucketRemoteArnInvalid{Bucket: bucket}
    	}
    
    	arn, err := madmin.ParseARN(arnStr)
    	if err != nil {
    		return BucketRemoteArnInvalid{Bucket: bucket}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top