Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetDiskIndex (0.44 sec)

  1. cmd/endpoint.go

    	endpoint.PoolIdx = i
    }
    
    // SetSetIndex sets a specific set number to this node
    func (endpoint *Endpoint) SetSetIndex(i int) {
    	endpoint.SetIdx = i
    }
    
    // SetDiskIndex sets a specific disk number to this node
    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    }
    
    func isValidURLEndpoint(u *url.URL) bool {
    	// URL style of endpoint.
    	// Valid URL style endpoint is
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 34.4K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	endpoints, err := NewEndpoints(args...)
    	if err != nil {
    		panic(err)
    	}
    	for i := range endpoints {
    		endpoints[i].SetPoolIndex(poolIdx)
    		endpoints[i].SetSetIndex(i / drivesPerSet)
    		endpoints[i].SetDiskIndex(i % drivesPerSet)
    	}
    	return endpoints
    }
    
    func getEndpointsLocalAddr(endpointServerPools EndpointServerPools) string {
    	for _, endpoints := range endpointServerPools {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
Back to top