Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 35 of 35 for isLocal (0.04 seconds)

  1. cmd/storage-rest-server.go

    		}
    	}
    	for _, serverPool := range endpointServerPools {
    		for _, endpoint := range serverPool.Endpoints {
    			if !endpoint.IsLocal {
    				continue
    			}
    
    			server := &storageRESTServer{
    				endpoint: endpoint,
    			}
    
    			subrouter := router.PathPrefix(path.Join(storageRESTPrefix, endpoint.Path)).Subrouter()
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 45.7K bytes
    - Click Count (0)
  2. cmd/xl-storage_test.go

    }
    
    // Initialize a new storage disk.
    func newLocalXLStorageWithDiskIdx(path string, diskIdx int) (*xlStorage, error) {
    	u := url.URL{Path: path}
    	return newXLStorage(Endpoint{
    		URL:     &u,
    		IsLocal: true,
    		PoolIdx: 0,
    		SetIdx:  0,
    		DiskIdx: diskIdx,
    	}, true)
    }
    
    // creates a temp dir and sets up xlStorage layer.
    // returns xlStorage layer, temp dir path to be used for the purpose of tests.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  3. cmd/erasure-server-pool.go

    		if deploymentID != "" && bytes.Equal(z.deploymentID[:], []byte{}) {
    			z.deploymentID = uuid.MustParse(deploymentID)
    		}
    
    		for _, storageDisk := range storageDisks[i] {
    			if storageDisk != nil && storageDisk.IsLocal() {
    				localDrives = append(localDrives, storageDisk)
    			}
    		}
    	}
    
    	if !globalIsDistErasure {
    		globalLocalDrivesMu.Lock()
    		globalLocalDrivesMap = make(map[string]StorageAPI, len(localDrives))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 89.2K bytes
    - Click Count (0)
  4. cmd/xl-storage.go

    	s.immediatePurgeCancel()
    	return nil
    }
    
    func (s *xlStorage) IsOnline() bool {
    	return true
    }
    
    func (s *xlStorage) LastConn() time.Time {
    	return time.Time{}
    }
    
    func (s *xlStorage) IsLocal() bool {
    	return true
    }
    
    // Retrieve location indexes.
    func (s *xlStorage) GetDiskLoc() (poolIdx, setIdx, diskIdx int) {
    	return s.endpoint.PoolIdx, s.endpoint.SetIdx, s.endpoint.DiskIdx
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 91.7K bytes
    - Click Count (0)
  5. api/go1.20.txt

    pkg os/exec, type Cmd struct, Cancel func() error #50436
    pkg os/exec, type Cmd struct, WaitDelay time.Duration #50436
    pkg os/exec, var ErrWaitDelay error #50436
    pkg path/filepath, func IsLocal(string) bool #56219
    pkg path/filepath, var SkipAll error #47209
    pkg reflect, method (Value) Comparable() bool #46746
    pkg reflect, method (Value) Equal(Value) bool #46746
    pkg reflect, method (Value) Grow(int) #48000
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Click Count (0)
Back to Top