Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for exists (0.41 sec)

  1. cmd/iam.go

    		}
    
    		hasDiff := false
    
    		// For the parent value, we require that the parent exists in the LDAP
    		// server and is under a configured base DN.
    		validatedParent, isUnderBaseDN, err := sys.LDAPConfig.GetValidatedUserDN(conn, parent)
    		if err != nil {
    			collectedErrors = append(collectedErrors, fmt.Errorf("could not validate `%s` exists in LDAP directory: %w", parent, err))
    			continue
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  2. 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 (6)
  3. 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)
  4. cmd/xl-storage.go

    			}
    			return err
    		}); err != nil {
    			if !IsErr(err, errFileNotFound, errVolumeNotFound) {
    				r.Exists = true
    				r.Error = err.Error()
    			}
    			select {
    			case <-ctx.Done():
    				return ctx.Err()
    			case resp <- r:
    			}
    			if req.AbortOn404 && !r.Exists {
    				// We stop at first file not found.
    				// We have already reported the error, return nil.
    				return nil
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/sts-handlers_test.go

    		Policy: []string{policy},
    	})
    	if err != nil {
    		c.Fatalf("GetLDAPPolicyEntities should not fail: %v", err)
    	}
    	{
    		// Check that the mapping we created exists.
    		idx := slices.IndexFunc(policyResult.PolicyMappings, func(e madmin.PolicyEntities) bool {
    			return e.Policy == policy && slices.Contains(e.Groups, actualGroupDN)
    		})
    		if !(idx >= 0) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  6. 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)
  7. cmd/iam-store.go

    	defer func() {
    		cache.updatedAt = time.Now()
    	}()
    
    	cred := m[accessKey].Credentials
    	switch userType {
    	case stsUser:
    		// For STS accounts a policy is mapped to the parent user (if a mapping exists).
    		err = store.loadMappedPolicy(ctx, cred.ParentUser, userType, false, cache.iamSTSPolicyMap)
    	case svcUser:
    		// For service accounts, the parent may be a regular (internal) IDP
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/object-api-multipart_test.go

    		// Part number 0 doesn't exist, expecting InvalidPart error (Test number 12).
    		{bucketNames[0], objectNames[0], uploadIDs[0], []CompletePart{{ETag: "abcd", PartNumber: 0}}, "", InvalidPart{}, false},
    		// // Upload and PartNumber exists, But a deliberate ETag mismatch is introduced (Test number 13).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. cmd/xl-storage_test.go

    		// Validate volume does not exist.
    		{
    			volume: "i-dont-exist",
    			path:   "",
    			err:    errVolumeNotFound,
    		},
    		// TestXLStorage case - 2.
    		// Validate bad condition file does not exist.
    		{
    			volume: "exists",
    			path:   "as-file-not-found",
    			err:    errFileNotFound,
    		},
    		// TestXLStorage case - 3.
    		// Validate bad condition file exists as prefix/directory and
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    				// such an intersection means that bucket exists on etcd.
    				// but if we do see a difference with local domain IPs with
    				// hostSlice from etcd then we should update with newer
    				// domainIPs, we proceed to do that here.
    				bucketsToBeUpdated.Add(bucket.Name)
    				continue
    			}
    
    			// No IPs seem to intersect, this means that bucket exists but has
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top