Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newStorageRESTClient (0.13 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top