Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FirstLocal (0.05 sec)

  1. cmd/endpoint.go

    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    				localDisksCount[i]++
    			}
    		}
    	}
    	return localDisksCount
    }
    
    // FirstLocal returns true if the first endpoint is local.
    func (l EndpointServerPools) FirstLocal() bool {
    	return l[0].Endpoints[0].IsLocal
    }
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (l EndpointServerPools) HTTPS() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    		// for all setups smaller than this avoid pre-alloc.
    		buffers.Populate()
    	}
    	globalBytePoolCap.Store(buffers)
    
    	var localDrives []StorageAPI
    	local := endpointServerPools.FirstLocal()
    	for i, ep := range endpointServerPools {
    		// If storage class is not set during startup, default values are used
    		// -- Default for Reduced Redundancy Storage class is, parity = 2
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top