Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NoSuchBucket (0.08 sec)

  1. cmd/bucket-targets.go

    	}
    	// validate if target credentials are ok
    	exists, err := clnt.BucketExists(ctx, tgt.TargetBucket)
    	if err != nil {
    		switch minio.ToErrorResponse(err).Code {
    		case "NoSuchBucket":
    			return BucketRemoteTargetNotFound{Bucket: tgt.TargetBucket, Err: err}
    		case "AccessDenied":
    			return RemoteTargetConnectionErr{Bucket: tgt.TargetBucket, AccessKey: tgt.Credentials.AccessKey, Err: err}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/utils.go

    	case "NoSuchLifecycleConfiguration":
    		err = BucketLifecycleNotFound{}
    	case "InvalidBucketName":
    		err = BucketNameInvalid{Bucket: bucket}
    	case "InvalidPart":
    		err = InvalidPart{}
    	case "NoSuchBucket":
    		err = BucketNotFound{Bucket: bucket}
    	case "NoSuchKey":
    		if object != "" {
    			err = ObjectNotFound{Bucket: bucket, Object: object}
    		} else {
    			err = BucketNotFound{Bucket: bucket}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		return err
    	}
    	c.SetAppInfo("minio-"+batchJobPrefix, r.APIVersion+" "+job.ID)
    
    	vcfg, err := c.GetBucketVersioning(ctx, remoteBkt)
    	if err != nil {
    		if miniogo.ToErrorResponse(err).Code == "NoSuchBucket" {
    			return batchReplicationJobError{
    				Code:           "NoSuchTargetBucket",
    				Description:    "The specified target bucket does not exist",
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. cmd/server_test.go

    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	response, err := s.client.Do(request)
    	c.Assert(err, nil)
    	// asserting for the expected error response.
    	verifyError(c, response, "NoSuchBucket", "The specified bucket does not exist", http.StatusNotFound)
    }
    
    func (s *TestSuiteCommon) TestPutBucket(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	ErrMissingRequestBodyError: {
    		Code:           "MissingRequestBodyError",
    		Description:    "Request body is empty.",
    		HTTPStatusCode: http.StatusLengthRequired,
    	},
    	ErrNoSuchBucket: {
    		Code:           "NoSuchBucket",
    		Description:    "The specified bucket does not exist",
    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrNoSuchBucketPolicy: {
    		Code:           "NoSuchBucketPolicy",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top