Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewEncoder (0.09 sec)

  1. cmd/peer-rest-server.go

    		return
    	}
    
    	ctx := newContext(r, w, "DownloadProfiling")
    	profileData, err := getProfileData()
    	if err != nil {
    		s.writeErrorResponse(w, err)
    		return
    	}
    	peersLogIf(ctx, gob.NewEncoder(w).Encode(profileData))
    }
    
    func (s *peerRESTServer) LocalStorageInfoHandler(mss *grid.MSS) (*grid.JSON[madmin.StorageInfo], *grid.RemoteErr) {
    	objLayer := newObjectLayerFn()
    	if objLayer == 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

    	for name, p := range policies {
    		_, err = json.Marshal(p)
    		if err != nil {
    			adminLogIf(ctx, err)
    			continue
    		}
    		newPolicies[name] = p
    	}
    	if err = json.NewEncoder(w).Encode(newPolicies); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    }
    
    // ListCannedPolicies - GET /minio/admin/v3/list-canned-policies
    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/batch-handlers.go

    				ID:      req.ID,
    				Type:    req.Type(),
    				Started: req.Started,
    				User:    req.User,
    				Elapsed: time.Since(req.Started),
    			})
    		}
    	}
    
    	batchLogIf(ctx, json.NewEncoder(w).Encode(&listResult))
    }
    
    // BatchJobStatus - returns the status of a batch job saved in the disk
    func (a adminAPIHandlers) BatchJobStatus(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    					UserAgent:    r.UserAgent() + " " + "MinIO-Fan-Out",
    					Host:         handlers.GetSourceIP(r),
    				})
    			}
    
    			if done {
    				break
    			}
    		}
    
    		enc := json.NewEncoder(w)
    		for i, fanOutResp := range fanOutResp {
    			if err = enc.Encode(&fanOutResp); err != nil {
    				writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    				return
    			}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top