Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for NewStringSet (0.13 sec)

  1. cmd/endpoint-ellipses.go

    		}
    		setArgs = s.Get()
    	} else {
    		s, err := parseEndpointSet(setDriveCount, args...)
    		if err != nil {
    			return nil, err
    		}
    		setArgs = s.Get()
    	}
    
    	uniqueArgs := set.NewStringSet()
    	for _, sargs := range setArgs {
    		for _, arg := range sargs {
    			if uniqueArgs.Contains(arg) {
    				return nil, config.ErrInvalidErasureEndpoints(nil).Msgf("Input args (%s) has duplicate ellipses", args)
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/bucket-handlers.go

    	if err != nil && !IsErrIgnored(err, dns.ErrNoEntriesFound, dns.ErrNotImplemented, dns.ErrDomainMissing) {
    		dnsLogIf(GlobalContext, err)
    		return
    	}
    
    	bucketsSet := set.NewStringSet()
    	bucketsToBeUpdated := set.NewStringSet()
    	bucketsInConflict := set.NewStringSet()
    
    	// This means that domain is updated, we should update
    	// all bucket entries with new domain name.
    	domainMissing := err == dns.ErrDomainMissing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  3. cmd/common-main.go

    			}
    		}
    	}
    
    	publicIPs := env.Get(config.EnvPublicIPs, "")
    	if len(publicIPs) != 0 {
    		minioEndpoints := strings.Split(publicIPs, config.ValueSeparator)
    		domainIPs := set.NewStringSet()
    		for _, endpoint := range minioEndpoints {
    			if net.ParseIP(endpoint) == nil {
    				// Checking if the IP is a DNS entry.
    				addrs, err := globalDNSCache.LookupHost(GlobalContext, endpoint)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. internal/config/config.go

    		return []string{Default}, nil
    	}
    
    	defKVS, ok := DefaultKVS[subSys]
    	if !ok {
    		return nil, Errorf("Subsystem %s does not exist", subSys)
    	}
    
    	kvsMap := c[subSys]
    	seen := set.NewStringSet()
    
    	// Add all targets that are configured in the config store.
    	for k := range kvsMap {
    		seen.Add(k)
    	}
    
    	// env:prefix
    	filterMap := map[string]string{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  5. cmd/erasure-sets.go

    			erasureLockers[endpoint.Host] = newLockAPI(endpoint)
    		}
    	}
    
    	var wg sync.WaitGroup
    	var lk sync.Mutex
    	for i := 0; i < setCount; i++ {
    		lockerEpSet := set.NewStringSet()
    		for j := 0; j < setDriveCount; j++ {
    			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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  6. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  8. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  9. cmd/iam.go

    		accessKeyMap[k] = v
    	}
    
    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  10. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top