Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MakeVolBulkHandler (0.1 sec)

  1. cmd/storage-rest-server.go

    	volume := r.Form.Get(storageRESTVolume)
    	err := s.getStorage().MakeVol(r.Context(), volume)
    	if err != nil {
    		s.writeErrorResponse(w, err)
    	}
    }
    
    // MakeVolBulkHandler - create multiple volumes as a bulk operation.
    func (s *storageRESTServer) MakeVolBulkHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		return
    	}
    	volumes := strings.Split(r.Form.Get(storageRESTVolumes), ",")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
Back to top