Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for FirstLocal (0.06 seconds)

  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 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (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
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
Back to Top