Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for NewStringSet (0.08 sec)

  1. cmd/erasure-sets.go

    			erasureLockers[endpoint.Host] = newLockAPI(endpoint)
    		}
    	}
    
    	var wg sync.WaitGroup
    	var lk sync.Mutex
    	for i := range setCount {
    		lockerEpSet := set.NewStringSet()
    		for j := range setDriveCount {
    			wg.Add(1)
    			go func(i int, endpoint Endpoint) {
    				defer wg.Done()
    
    				lk.Lock()
    				// Only add lockers only one per endpoint and per erasure set.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
  2. cmd/server-main.go

    //     requests to the local S3 API.
    //   - The returned List needs to be deduplicated as well.
    func getServerListenAddrs() []string {
    	// Use a string set to avoid duplication
    	addrs := set.NewStringSet()
    	// Listen on local interface to receive requests from Console
    	for _, ip := range localLoopbacks.ToSlice() {
    		addrs.Add(net.JoinHostPort(ip, globalMinioPort))
    	}
    	host, _ := mustSplitHostPort(globalMinioAddr)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:18:36 UTC 2025
    - 35.9K bytes
    - Viewed (4)
  3. cmd/erasure-multipart.go

    	}
    
    	// S3 spec says uploadIDs should be sorted based on initiated time, we need
    	// to read the metadata entry.
    	var uploads []MultipartInfo
    
    	populatedUploadIDs := set.NewStringSet()
    
    	for _, uploadID := range uploadIDs {
    		if populatedUploadIDs.Contains(uploadID) {
    			continue
    		}
    		// If present, use time stored in ID.
    		startTime := time.Now()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    func createHostAnonymizer() map[string]string {
    	if !globalIsDistErasure {
    		return createHostAnonymizerForFSMode()
    	}
    
    	hostAnonymizer := map[string]string{}
    	hosts := set.NewStringSet()
    	srvrIdx := 0
    
    	for poolIdx, pool := range globalEndpoints {
    		for _, endpoint := range pool.Endpoints {
    			if !hosts.Contains(endpoint.Host) {
    				hosts.Add(endpoint.Host)
    				srvrIdx++
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  5. cmd/iam.go

    	maps.Copy(accessKeyMap, updatedKeysMap)
    
    	return skippedAccessKeys, nil
    }
    
    func (sys *IAMSys) getStoredLDAPPolicyMappingKeys(ctx context.Context, isGroup bool) set.StringSet {
    	entityKeysInStorage := set.NewStringSet()
    	cache := sys.store.rlock()
    	defer sys.store.runlock()
    	cachedPolicyMap := cache.iamSTSPolicyMap
    	if isGroup {
    		cachedPolicyMap = cache.iamGroupPolicyMap
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	derrs := make([]error, len(objects))
    	dobjects := make([]DeletedObject, len(objects))
    	objSets := set.NewStringSet()
    	for i := range derrs {
    		objects[i].ObjectName = encodeDirObject(objects[i].ObjectName)
    
    		derrs[i] = checkDelObjArgs(ctx, bucket, objects[i].ObjectName)
    		objSets.Add(objects[i].ObjectName)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 89.1K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    // updateGroups updates the group from the persistent store, and also related policy mapping if any.
    func (store *IAMStoreSys) updateGroups(ctx context.Context, cache *iamCache) (res []string, err error) {
    	groupSet := set.NewStringSet()
    	if iamOS, ok := store.IAMStorageAPI.(*IAMObjectStore); ok {
    		listedConfigItems, err := iamOS.listAllIAMConfigItems(ctx)
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 86.7K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    	accInfo, err := userAdmClient.AccountInfo(ctx, madmin.AccountOpts{})
    	if err != nil {
    		c.Fatalf("root user STS should be able to get account info: %v", err)
    	}
    
    	gotBuckets := set.NewStringSet()
    	for _, b := range accInfo.Buckets {
    		gotBuckets.Add(b.Name)
    		if !b.Access.Read || !b.Access.Write {
    			c.Fatalf("root user should have read and write access to bucket: %v", b.Name)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 100.2K bytes
    - Viewed (1)
Back to top