Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 66 for bucketname (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/bucket-policy-handlers_test.go

    		// writing BucketPolicy should fail.
    		// should result in 400 StatusBadRequest.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplateWithoutVersion, bucketName, bucketName)),
    
    			policyLen:          len(fmt.Sprintf(bucketPolicyTemplateWithoutVersion, bucketName, bucketName)),
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                final String bucketName = paths[0];
                final String path = paths[1];
                if (logger.isDebugEnabled()) {
                    logger.debug("Parsed storage path: bucket={}, objectPath={}", bucketName, path);
                }
                final StatObjectResponse statObject = getStatObject(bucketName, path);
                if (statObject == null) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20K bytes
    - Click Count (2)
  3. cmd/listen-notification-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucketName := vars["bucket"]
    
    	if bucketName == "" {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenNotificationAction, bucketName, ""); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    			return
    		}
    	} else {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ListenBucketNotificationAction, bucketName, ""); s3Error != ErrNone {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 6K bytes
    - Click Count (0)
  4. cmd/post-policy_test.go

    	// Create a new post policy.
    	policy := newPostPolicyBytesV4(credStr, bucketName, objectName, expirationTime)
    	if contentLengthRange {
    		policy = newPostPolicyBytesV4WithContentRange(credStr, bucketName, objectName, expirationTime)
    	}
    	return policy
    }
    
    func newPostRequestV4Generic(endPoint, bucketName, objectName string, objData []byte, accessKey, secretKey string, region string,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. cmd/object-api-putobject_test.go

    		1: {bucketName: "------", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: "------"}},
    		2: {
    			bucketName: "$this-is-not-valid-too", objName: "obj", inputData: []byte(""),
    			expectedError: BucketNameInvalid{Bucket: "$this-is-not-valid-too"},
    		},
    		3: {bucketName: "a", objName: "obj", inputData: []byte(""), expectedError: BucketNameInvalid{Bucket: "a"}},
    
    		// Case with invalid object names.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 25.8K bytes
    - Click Count (0)
  6. cmd/object-handlers_test.go

    		{
    			bucketName:       bucketName,
    			uploadID:         "-1",
    			copySourceHeader: url.QueryEscape(SlashSeparator + bucketName + SlashSeparator + objectName),
    			accessKey:        credentials.AccessKey,
    			secretKey:        credentials.SecretKey,
    
    			expectedRespStatus: http.StatusNotFound,
    		},
    		// Test case - 12.
    		// invalid part number.
    		{
    			bucketName:         bucketName,
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 163.1K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/s3/S3Client.java

                final String bucketName = paths[0];
                final String path = paths[1];
                if (logger.isDebugEnabled()) {
                    logger.debug("Parsed S3 path: bucket={}, objectPath={}", bucketName, path);
                }
                final HeadObjectResponse headObject = getHeadObject(bucketName, path);
                if (headObject == null) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 21.4K bytes
    - Click Count (0)
  8. cmd/server_test.go

    	// generate a random bucket Name.
    	bucketName := getRandomBucketName()
    	// create the policy statement string with the randomly generated bucket name.
    	bucketPolicyStr := fmt.Sprintf(bucketPolicyBuf, bucketName, bucketName)
    	// HTTP request to create the bucket.
    	request, err := newTestSignedRequest(http.MethodPut, getMakeBucketURL(s.endPoint, bucketName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 118.1K bytes
    - Click Count (0)
  9. cmd/bucket-notification-handlers.go

    		return
    	}
    
    	vars := mux.Vars(r)
    	bucketName := vars["bucket"]
    
    	if s3Error := checkRequestAuthType(ctx, r, policy.PutBucketNotificationAction, bucketName, ""); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	_, err := objectAPI.GetBucketInfo(ctx, bucketName, BucketOptions{})
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri May 24 23:05:23 GMT 2024
    - 5.1K bytes
    - Click Count (0)
  10. cmd/bucket-lifecycle-handlers_test.go

    		shouldPass         bool
    	}{
    		// GET empty credentials
    		{
    			method: http.MethodGet, bucketName: bucketName,
    			accessKey:          "",
    			secretKey:          "",
    			expectedRespStatus: http.StatusForbidden,
    			lifecycleResponse:  []byte(""),
    			errorResponse: APIErrorResponse{
    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "AccessDenied",
    				Message:  "Access Denied.",
    			},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Jun 10 15:50:49 GMT 2024
    - 11.3K bytes
    - Click Count (0)
Back to Top