Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newStorageRESTClient (0.09 sec)

  1. cmd/storage-rest-client.go

    // Close - marks the client as closed.
    func (client *storageRESTClient) Close() error {
    	client.restClient.Close()
    	return nil
    }
    
    var emptyDiskID = ""
    
    // Returns a storage rest client.
    func newStorageRESTClient(endpoint Endpoint, healthCheck bool, gm *grid.Manager) (*storageRESTClient, error) {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 08 02:38:41 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    							go xldisk.monitorDiskWritable(xldisk.diskCtx)
    						}
    					}
    				} else {
    					disk.Close() // Close the remote storage client, re-initialize with healthchecks.
    					disk, err = newStorageRESTClient(disk.Endpoint(), true, globalGrid.Load())
    					if err != nil {
    						continue
    					}
    				}
    
    				s.erasureDisks[m][n] = disk
    
    				if disk.IsLocal() {
    					globalLocalDrivesMu.Lock()
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37K bytes
    - Viewed (1)
Back to top