Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for exists (0.15 sec)

  1. cmd/api-errors.go

    		Code:           "XMinioAdminBucketRemoteAlreadyExists",
    		Description:    "The remote target already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteLabelInUse: {
    		Code:           "XMinioAdminBucketRemoteLabelInUse",
    		Description:    "The remote target with this label already exists",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrBucketRemoteRemoveDisallowed: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  2. cmd/erasure-server-pool.go

    	}
    	return pinfo.Index, nil
    }
    
    // getPoolIdxExistingNoLock returns the (first) found object pool index containing an object.
    // If the object exists, but the latest version is a delete marker, the index with it is still returned.
    // If the object does not exist ObjectNotFound error is returned.
    // If any other error is found, it is returned.
    // The check is skipped if there is only one pool, and 0, nil is always returned in that case.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    				return objInfo, InsufficientWriteQuorum{}
    			}
    			tryDel = true // only for unversioned objects if there is write quorum
    		}
    		// For delete marker replication, versionID being replicated will not exist on disk
    		if opts.DeleteMarker {
    			versionFound = false
    		} else if !tryDel {
    			return objInfo, gerr
    		}
    	}
    
    	if opts.EvalMetadataFn != nil {
    		dsc, err := opts.EvalMetadataFn(&goi, gerr)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/object-api-listobjects_test.go

    		{"---", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "---"}, false},
    		{"ad", "", "", "", 0, ListObjectsInfo{}, BucketNameInvalid{Bucket: "ad"}, false},
    		// Valid bucket names, but they do not exist (6-8).
    		{"volatile-bucket-1", "", "", "", 1000, ListObjectsInfo{}, BucketNotFound{Bucket: "volatile-bucket-1"}, false},
    		{"volatile-bucket-2", "", "", "", 1000, ListObjectsInfo{}, BucketNotFound{Bucket: "volatile-bucket-2"}, false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    	letterIdxMax  = 63 / letterIdxBits   // # of letter indices fitting in 63 bits
    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers-users.go

    	if accessKey == globalActiveCred.AccessKey {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	user, exists := globalIAMSys.GetUser(ctx, accessKey)
    	if exists && (user.Credentials.IsTemp() || user.Credentials.IsServiceAccount()) {
    		// Updating STS credential is not allowed, and this API does not
    		// support updating service accounts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  7. cmd/batch-handlers.go

    	if err != nil {
    		if isErrBucketNotFound(err) {
    			return batchReplicationJobError{
    				Code:           "NoSuchSourceBucket",
    				Description:    fmt.Sprintf("The specified bucket %s does not exist", localBkt),
    				HTTPStatusCode: http.StatusNotFound,
    			}
    		}
    		return err
    	}
    
    	if err := r.Source.Type.Validate(); err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top