Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for newObjectLayerFn (0.14 sec)

  1. cmd/peer-rest-server.go

    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	peersLogIf(context.Background(), globalSiteReplicationSys.Init(context.Background(), objAPI))
    	return
    }
    
    func (s *peerRESTServer) ReloadPoolMetaHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    func (a adminAPIHandlers) GetUserInfo(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    	name := vars["accessKey"]
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    	if objectAPI == nil || globalNotificationSys == nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		// Executing the object layer tests for single node setup.
    		objTest(objLayer, ErasureSDStr, t)
    
    		// Call clean up functions
    		cancel()
    		setObjectLayer(newObjectLayerFn())
    		removeRoots([]string{fsDir})
    	}
    
    	{
    		ctx, cancel := context.WithCancel(context.Background())
    
    		if localMetacacheMgr != nil {
    			localMetacacheMgr.deleteAll()
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. cmd/batch-handlers.go

    				}
    			}
    			m.RUnlock()
    			for _, jobID := range toDeleteJobMetrics {
    				m.delete(jobID)
    				j := BatchJobRequest{
    					ID: jobID,
    				}
    				j.delete(GlobalContext, newObjectLayerFn())
    			}
    		}
    	}
    }
    
    // load metrics from disk on startup
    func (m *batchJobMetrics) init(ctx context.Context, objectAPI ObjectLayer) error {
    	resultCh := make(chan itemOrErr[ObjectInfo])
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    					Config:  rcfg,
    					remotes: tgts,
    				}
    			}
    		}
    	}
    
    	vcfg, _ := globalBucketVersioningSys.Get(cache.Info.Name)
    
    	// return initialized object layer
    	objAPI := newObjectLayerFn()
    	// object layer not initialized, return.
    	if objAPI == nil {
    		return cache, errServerNotInitialized
    	}
    
    	poolIdx, setIdx, _ := s.GetDiskLoc()
    
    	disks, err := objAPI.GetDisks(poolIdx, setIdx)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top