Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 540 for mybucket (0.1 sec)

  1. cmd/erasure-healing_test.go

    		}
    	}
    
    	// Remove the bucket - to simulate the case where bucket was
    	// created when the disk was down.
    	err = os.RemoveAll(path.Join(fsDirs[0], bucket))
    	if err != nil {
    		t.Fatal(err)
    	}
    	// This would create the bucket.
    	_, err = obj.HealBucket(ctx, bucket, madmin.HealOpts{
    		DryRun: false,
    		Remove: false,
    	})
    	if err != nil {
    		t.Fatal(err)
    	}
    	// Stat the bucket to make sure that it was created.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. internal/crypto/sse_test.go

    	{ // 1 - Valid HTTP headers but invalid metadata entries for bucket/object2
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    			"X-Amz-Server-Side-Encryption-Customer-Key":       []string{"MzJieXRlc2xvbmdzZWNyZXRrZXltdXN0cHJvdmlkZWQ="},
    			"X-Amz-Server-Side-Encryption-Customer-Key-Md5":   []string{"7PpPLAK26ONlVUGOWlusfg=="},
    		},
    		Bucket: "bucket",
    		Object: "object2",
    		Metadata: map[string]string{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    		if err != nil && !errors.Is(err, BucketLifecycleNotFound{Bucket: bucket}) {
    			return objInfo, err
    		}
    		rcfg, err = globalBucketObjectLockSys.Get(bucket)
    		if err != nil {
    			return objInfo, err
    		}
    		replcfg, err = getReplicationConfig(ctx, bucket)
    		if err != nil {
    			return objInfo, err
    		}
    	}
    
    	// expiration attempted on a bucket with no lifecycle
    	// rules shall be rejected.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    	testCases := []struct {
    		bucket      string
    		object      string
    		expectedErr error
    	}{
    		{".test", "dir/obj", BucketNameInvalid{Bucket: ".test"}},
    		{"----", "dir/obj", BucketNameInvalid{Bucket: "----"}},
    		{"bucket", "", ObjectNameInvalid{Bucket: "bucket", Object: ""}},
    		{"bucket", "doesnotexist", ObjectNotFound{Bucket: "bucket", Object: "doesnotexist"}},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  5. docs/site-replication/run-replication-with-checksum-header.sh

    sleep 120
    
    # List the objects from replicated site
    echo "Objects from replicated site"
    ./mc ls minio2/test-bucket --insecure
    count1=$(./mc ls minio2/test-bucket/obj --insecure | wc -l)
    if [ "${count1}" -ne 1 ]; then
    	echo "BUG: object minio1/test-bucket/obj not replicated"
    	exit_1
    fi
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 08:02:16 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. cmd/object-api-getobjectinfo_test.go

    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    		{".test", "", ObjectInfo{}, BucketNameInvalid{Bucket: ".test"}, false},
    		{"---", "", ObjectInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", ObjectInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Test cases with valid but non-existing bucket names (Test number 5-6).
    		{"abcdefgh", "abc", ObjectInfo{}, BucketNotFound{Bucket: "abcdefgh"}, false},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 23 15:46:00 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  7. cmd/erasure-sets.go

    	return s.getHashedSet(object).TransitionObject(ctx, bucket, object, opts)
    }
    
    // RestoreTransitionedObject - restore transitioned object content locally on this cluster.
    func (s *erasureSets) RestoreTransitionedObject(ctx context.Context, bucket, object string, opts ObjectOptions) error {
    	return s.getHashedSet(object).RestoreTransitionedObject(ctx, bucket, object, opts)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  8. cmd/sftp-server-driver.go

    	case "Remove":
    		bucket, object := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		return clnt.RemoveObject(context.Background(), bucket, object, minio.RemoveObjectOptions{})
    
    	case "Mkdir":
    		bucket, prefix := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return errors.New("bucket name cannot be empty")
    		}
    
    		if prefix == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. cmd/metrics-v3-api.go

    		}
    		sentBytes := inOut.Out
    		if sentBytes > 0 {
    			m.Set(apiTrafficRecvBytes, float64(sentBytes), "bucket", bucket, "type", "s3")
    		}
    
    		httpStats := globalBucketHTTPStats.load(bucket)
    		for k, v := range httpStats.currentS3Requests.Load(false) {
    			m.Set(apiRequestsInFlightTotal, float64(v), "bucket", bucket, "name", k, "type", "s3")
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. cmd/ftp-server-driver.go

    	defer cancel()
    
    	bucket, prefix := path2BucketObject(objPath)
    	if bucket == "" {
    		buckets, err := clnt.ListBuckets(cctx)
    		if err != nil {
    			return err
    		}
    
    		for _, bucket := range buckets {
    			info := minioFileInfo{
    				p:     pathClean(bucket.Name),
    				info:  minio.ObjectInfo{Key: retainSlash(bucket.Name), LastModified: bucket.CreationDate},
    				isDir: true,
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top