Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ErrInvalidBucketName (0.23 sec)

  1. cmd/api-errors_test.go

    	{err: IncompleteBody{}, errCode: ErrIncompleteBody},
    	{err: ObjectExistsAsDirectory{}, errCode: ErrObjectExistsAsDirectory},
    	{err: BucketNameInvalid{}, errCode: ErrInvalidBucketName},
    	{err: BucketExists{}, errCode: ErrBucketAlreadyOwnedByYou},
    	{err: ObjectNotFound{}, errCode: ErrNoSuchKey},
    	{err: ObjectNameInvalid{}, errCode: ErrInvalidObjectName},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. internal/config/dns/operator_dns.go

    	}
    	return nil
    }
    
    func newError(bucket string, err error) error {
    	e := Error{bucket, err}
    	if strings.Contains(err.Error(), "invalid bucket name") {
    		return ErrInvalidBucketName(e)
    	}
    	return e
    }
    
    // Delete - Removes DNS entries added in Put().
    func (c *OperatorDNS) Delete(bucket string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. cmd/apierrorcode_string.go

    	_ = x[ErrEntityTooLarge-4]
    	_ = x[ErrPolicyTooLarge-5]
    	_ = x[ErrIncompleteBody-6]
    	_ = x[ErrInternalError-7]
    	_ = x[ErrInvalidAccessKeyID-8]
    	_ = x[ErrAccessKeyDisabled-9]
    	_ = x[ErrInvalidArgument-10]
    	_ = x[ErrInvalidBucketName-11]
    	_ = x[ErrInvalidDigest-12]
    	_ = x[ErrInvalidRange-13]
    	_ = x[ErrInvalidRangePartNumber-14]
    	_ = x[ErrInvalidCopyPartRange-15]
    	_ = x[ErrInvalidCopyPartRangeSource-16]
    	_ = x[ErrInvalidMaxKeys-17]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	case OperationTimedOut:
    		apiErr = ErrRequestTimedout
    	case BackendDown:
    		apiErr = ErrBackendDown
    	case ObjectNameTooLong:
    		apiErr = ErrKeyTooLongError
    	case dns.ErrInvalidBucketName:
    		apiErr = ErrInvalidBucketName
    	case dns.ErrBucketConflict:
    		apiErr = ErrBucketAlreadyExists
    	default:
    		if strings.Contains(err.Error(), "request declared a Content-Length") {
    			apiErr = ErrIncompleteBody
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    					tc.ResponseRecorder.LogErrBody = true
    				}
    				defer logger.AuditLog(r.Context(), w, r, mustGetClaimsFromToken(r))
    				writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrInvalidBucketName), r.URL)
    				return
    			}
    		}
    		// Deny SSE-C requests if not made over TLS
    		if !globalIsTLS && (crypto.SSEC.IsRequested(r.Header) || crypto.SSECopy.IsRequested(r.Header)) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    		if hip.objPrefix != "" {
    			// Bucket is required if object-prefix is given
    			err = ErrHealMissingBucket
    			return
    		}
    	} else if isReservedOrInvalidBucket(hip.bucket, false) {
    		err = ErrInvalidBucketName
    		return
    	}
    
    	// empty prefix is valid.
    	if !IsValidObjectPrefix(hip.objPrefix) {
    		err = ErrInvalidObjectName
    		return
    	}
    
    	if len(qParams[mgmtClientToken]) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top